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


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/property/fileformat/FileFormatProperties.java:
##########
@@ -96,7 +96,7 @@ public static FileFormatProperties 
createFileFormatProperties(String formatStrin
             case FORMAT_JSON:
                 return new JsonFileFormatProperties();
             case FORMAT_AVRO:
-                throw new AnalysisException("Avro file reads are no longer 
supported");
+                return new AvroFileFormatProperties();

Review Comment:
   Fixed in 4cc766c324. Eligible Avro TVFs now apply file_split_size_on_be 
directly as final FE byte ranges, so the native reader can retain its 
sync-chain alignment without advertising an unsupported BE physical-granule 
planner. Avro sizing also applies max_file_split_num after both automatic and 
explicit-fallback selection to prevent tiny targets from creating excessive FE 
descriptors. Tests cover 1 GiB S3/HDFS planning, 64/128 MiB targets, complete 
range coverage, COUNT/serial/HTTP/disabled-setting controls, and a bounded 
descriptor-cap regression.



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