yiguolei commented on code in PR #23616: URL: https://github.com/apache/doris/pull/23616#discussion_r1308814988
########## fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java: ########## @@ -3115,6 +3115,9 @@ public long loadDb(DataInputStream dis, long checksum) throws IOException, DdlEx connectContext.setDatabase(db.getFullName()); Analyzer analyzer = new Analyzer(Env.getCurrentEnv(), connectContext); db.analyze(analyzer); + if (Config.enable_global_light_schema_change) { Review Comment: 不能这样写, 这个是用户手动触发的路径,可以直接搞。 但是如果我们要自动做,那么不能走这个逻辑。 我们需要写一个rpc,调用一个table 所有的tablet,到BE 上返回每个column的schema 信息,如果一个table 下的所有be的所有的tablet的column的unique id 是一致的,才能自动做转换。 ########## fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java: ########## @@ -3115,6 +3115,9 @@ public long loadDb(DataInputStream dis, long checksum) throws IOException, DdlEx connectContext.setDatabase(db.getFullName()); Analyzer analyzer = new Analyzer(Env.getCurrentEnv(), connectContext); db.analyze(analyzer); + if (Config.enable_global_light_schema_change) { Review Comment: 不能这样写, 这个是用户手动触发的路径,可以直接搞。 但是如果我们要自动做,那么不能走这个逻辑。 我们需要写一个rpc,调用一个table 所有的tablet,到BE 上返回每个column的schema 信息,如果一个table 下的所有be的所有的tablet的column的unique id 是一致的,才能自动做转换。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org