Gabriel39 commented on code in PR #61518:
URL: https://github.com/apache/doris/pull/61518#discussion_r3332787339


##########
be/src/exec/scan/file_scanner.cpp:
##########
@@ -2017,6 +2020,47 @@ void FileScanner::try_stop() {
     }
 }
 
+void FileScanner::_update_io_context_from_range() {
+    if (!_io_ctx) {
+        return;
+    }
+    if (_local_state) {
+        auto& local_state = _local_state->cast<FileScanLocalState>();
+        _io_ctx->table_name = local_state.table_name();
+    } else {
+        _io_ctx->table_name.clear();
+    }
+
+    if (_current_range.__isset.partition_name) {

Review Comment:
   `partition_name` derived in both of those ways are instability because  
partition keys are constructed as a Map in FE which is unordered. Maybe we need 
another struct `List<KeyString, ValueString>` to replace the map



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