0AyanamiRei commented on code in PR #64933:
URL: https://github.com/apache/doris/pull/64933#discussion_r3502742225


##########
be/src/exec/operator/schema_scan_operator.cpp:
##########
@@ -186,6 +187,8 @@ Status SchemaScanOperatorX::prepare(RuntimeState* state) {
         for (; j < columns_desc.size(); ++j) {
             if (boost::iequals(_dest_tuple_desc->slots()[i]->col_name(), 
columns_desc[j].name)) {
                 _slot_offsets[i] = j;
+                _common_scanner_param->required_columns.insert(

Review Comment:
   EXPLAIN VERBOSE
   SELECT UPDATE_TIME
   FROM information_schema.tables
   WHERE TABLE_SCHEMA = 'regression_test_stress_load_usercase';
   
   0:VSCAN SCHEMA
      TABLE: information_schema.tables
      PREDICATES: (TABLE_SCHEMA[#1] = 'regression_test_stress_load_usercase')
      final projections: UPDATE_TIME[#15]
      tuple ids: 0
   
   TupleDescriptor{id=0, tbl=tables}
     SlotDescriptor{id=1, col=TABLE_SCHEMA, ...}
     SlotDescriptor{id=15, col=UPDATE_TIME, ...}



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to