If it can be built from the parent index, there is no need to generate a new Flat Table and Build Dict.
On Tue, Dec 26, 2023 at 2:59 PM Zhang, Zhenning <zhennzh...@ebay.com.invalid> wrote: > Hi teams, > > > > I have some questions for the case below: > > I have added several aggregation indexes to an online model and > successfully triggered the build index job, but after that I found some > segment status have been changed into WARNING from ONLINE. Just like the > situation shown in this figure: > > This is caused by flat table recreated and persisted. > > For an index build job with a READY segment: > > If all the new added indexes can be built from their existed parent index. > No index was built from new created flat table. > > For this case, there won't be any data inconsistency across indexes. > > So, my question is : > > Is it necessary to execute stage BUILD DICT and stage GENERATE FLAT TABLE > for an index build job in condition that all new added indexes can be built > from their existed parent index? > > Have created a jira ticket for this case: > > https://issues.apache.org/jira/browse/KYLIN-5748 > > > > Thanks, > > Zhenning Zhang > > >