Hi: "There's only one table under the "DEFAULT” database” is normal,because the data source of two cubes is the same table. 1、"I found the first model and cube missing some demessions, so I create the second model and cube, add some demessions.” is correct. Or you can edit the original model and cube and rebuild it. But before editing a cube, you must disable and purge it. 2、When there are two cubes in kylin that can answer a query, kylin will choose the most recently updated one. If you are sure that the old cube will not be used again, you can disable it.
> 在 2020年12月27日,16:35,刘波 <[email protected]> 写道: > > dear users, > > First of all, I create the first model and cube for my business logic. Then > there have a table which I can submmit SQL, it's all okey. > > Later, when I found the first model and cube missing some demessions, so I > create the second model and cube, add some demessions. > > Finally, both of the cubes build successly. > > But in the "Insight" tab, there's only one table under the "DEFAULT" > database. By my intuition, I think there will be two tables, one table for a > cube respectively. > > And it's ok when I submmit the previouse SQL for the first cube. > > My questions: > 1.Is it correct to use Kylin this way? > 2.Which cube will be used when submmit a SQL? or Kylin with automatically > chose the right cube for the SQL? > > <[email protected]> > > > > <[email protected]> > > >
