gavinchou commented on code in PR #35861:
URL: https://github.com/apache/doris/pull/35861#discussion_r1626794152


##########
be/src/exec/schema_scanner/schema_rowsets_scanner.cpp:
##########
@@ -58,6 +58,7 @@ std::vector<SchemaScanner::ColumnDesc> 
SchemaRowsetsScanner::_s_tbls_columns = {
         {"DATA_DISK_SIZE", TYPE_BIGINT, sizeof(size_t), true},
         {"CREATION_TIME", TYPE_DATETIME, sizeof(int64_t), true},
         {"NEWEST_WRITE_TIMESTAMP", TYPE_DATETIME, sizeof(int64_t), true},
+        {"SCHEMA_VERSION", TYPE_INT, sizeof(int32_t), true},

Review Comment:
   make it bigint for flexibility



##########
be/src/exec/schema_scanner/schema_rowsets_scanner.cpp:
##########
@@ -242,6 +243,16 @@ Status 
SchemaRowsetsScanner::_fill_block_impl(vectorized::Block* block) {
         }
         RETURN_IF_ERROR(fill_dest_column_for_range(block, 11, datas));
     }
+    // SCHEMA_VERSION
+    {
+        std::vector<int32_t> srcs(fill_rowsets_num);

Review Comment:
   ditto, int64 for flexibility



-- 
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

Reply via email to