Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
v0.7.1, v0.7.2, v1.0, v1.1, v1.1.1
Description
This is reported by Yang HaiLe from dev mailing list:
When I use restful api to get details of a cube, I found that the server will return more than one cube’s detail I want. For example:
I use the url: http://server_ip:7070/kylin/api/cubes?cubeName=v5&limit=15&offset=0. The server will return these:
[
{
"uuid": "876dd9d8-bc40-45fd-be6b-e0429ff9d4d1",
"name": "v5",
"owner": "ADMIN",
"version": null,
"cost": 50,
"status": "READY",
"segments": [
,
,
{ "uuid": "a8f6116f-acd6-46ac-be2f-021c2b291531", "name": "20151021000000_20151022000000", "status": "READY", ………. } ],
"last_modified": 1448258568340,
"descriptor": "v5",
"create_time_utc": 1448244454401,
"auto_merge_time_ranges": null,
"retention_range": 0,
"size_kb": 0,
"input_records_count": 0,
"input_records_size": 0
},
{
"uuid": "c0dc404a-cfe6-4315-ac1c-ef52b27f8335",
"name": "v5_21",
"owner": "ADMIN",
"version": null,
"cost": 50,
"status": "READY",
"segments": [
],
"last_modified": 1448257690944,
"descriptor": "v5_21",
"create_time_utc": 1448247295576,
"auto_merge_time_ranges": null,
"retention_range": 0,
"size_kb": 0,
"input_records_count": 0,
"input_records_size": 0
}
]
I don’t understand why this happen. The v5_21 cube and v5 cube base a sample fact table and project.