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


##########
be/src/exec/scan/file_scan_range_utils.h:
##########
@@ -82,11 +82,6 @@ inline Status validate_file_scan_support(const 
TFileScanRangeParams& params,
     if (range != nullptr && range->__isset.table_format_params) {
         RETURN_IF_ERROR(validate_table(range->table_format_params));
     }
-    const auto format = range != nullptr && range->__isset.format_type ? 
range->format_type
-                                                                       : 
params.format_type;
-    if (format == TFileFormatType::FORMAT_AVRO) {
-        return Status::NotSupported("Avro file reads are no longer supported");
-    }
     return Status::OK();

Review Comment:
   Fixed in ad356ce7187. AvroCanUseNativeReads now asserts success for both the 
scan-parameter format and the per-range Avro override, while the 
removed-table-format checks remain intact. The original test failed both Avro 
assertions before this change. All four scan utility tests now pass, included 
in the 481 passing ASAN BE tests.



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