luwei16 commented on code in PR #28255: URL: https://github.com/apache/doris/pull/28255#discussion_r1424961766
########## be/src/service/internal_service.cpp: ########## @@ -719,17 +720,45 @@ void PInternalServiceImpl::_get_column_ids_by_tablet_ids( } // check schema consistency, column ids should be the same const auto& columns = tablet->tablet_schema()->columns(); + std::set<int32_t> column_ids; for (const auto& col : columns) { column_ids.insert(col.unique_id()); } filter_set.insert(column_ids); Review Comment: Different columns need to be printed in the log. Using the above code implementation, we may not know which column is inconsistent. -- 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