github-actions[bot] commented on code in PR #70808:
URL: https://github.com/apache/doris/pull/70808#discussion_r4662491045


##########
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:
   [P2] Enroll Avro in generic TVF split refinement. 
`FileFormatProperties.createFileFormatProperties` now allows `format='avro'`, 
but `FileQueryScanNode.isColumnarFormat()` still returns true only for Parquet 
and ORC, so standalone S3/HDFS Avro TVFs fall back to default FE split sizes 
and never carry the configured coarse/BE target. The BE physical-split gate 
also admits only Parquet/ORC. Add Avro end-to-end to these gates (or explicitly 
generate FE Avro ranges) and add a large-TVF split-planning regression so the 
reader's verified OCF sync alignment is actually used.



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