[
https://issues.apache.org/jira/browse/KYLIN-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16330334#comment-16330334
]
peng.jianhua commented on KYLIN-3131:
-------------------------------------
Hi,[~Shaofengshi],if we add 16 cubes totally,from c1 to c16 orderly.
the current logic is that the web page will show the earliest 15 cubes.The cube
named c16 cann't found.
It means that the cubes that we just add such as c16,we can not find it in the
first page.it is improper.
please refer to 03.png.
And furthermore,if we click 'more' button,the c16 is not in the bottom.All
cubes sort randomly again.please refer to 04.png.
So,in my opinion,we should sort by create time by default.
Besides,the job was sorted by 'Last Modified Time' by default.please refer to
05.png.
Refer to the code in 'JobInstance',i change the code in 'CubeInstance'.
> After refresh the page,the cubes can't sort by 'create_time'
> ------------------------------------------------------------
>
> Key: KYLIN-3131
> URL: https://issues.apache.org/jira/browse/KYLIN-3131
> Project: Kylin
> Issue Type: Bug
> Components: Web
> Reporter: peng.jianhua
> Assignee: peng.jianhua
> Priority: Minor
> Attachments:
> 0001-KYLIN-3131-After-refresh-the-page-the-cubes-can-t-so.patch, 01.PNG,
> 02.PNG
>
>
> When we open the page 'localhost:7070/kylin/models',the cubes was
> disordered.Please refer to 01.png.
> Therefore,after we add or clone a new cube,then the page will be refreshed,we
> may not find the cube that just add.
> And through debug the code,I find that the cubes were sorted by 'create_time'
> default.But the cubes' attributes are not contain 'create_time'.
> So the cubes were disordered.Please refer to 02.png.
> Besides,in the back-end, cubes was sorted by created time from early to
> late,so the cubes we get were not latest.
> At this time,I add 50 cubes,from c1 to c50,add in order,but the cubes we get
> first were c1-c15,not c36-c50.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)