Gabriel39 commented on code in PR #70808:
URL: https://github.com/apache/doris/pull/70808#discussion_r4793795966
##########
be/src/format_v2/table_reader.cpp:
##########
@@ -1577,6 +1580,17 @@ Status
TableReader::create_file_reader(std::unique_ptr<FileReader>* reader) {
_current_task->format_split_id,
_current_task->format_split_id_end);
return Status::OK();
}
+ if (_format == FileFormat::AVRO) {
+ // Unlike Parquet and ORC, Avro still selects its binary mapping from
the scan parameters.
+ const bool enable_mapping_varbinary = _scan_params != nullptr &&
+
_scan_params->__isset.enable_mapping_varbinary &&
+
_scan_params->enable_mapping_varbinary;
+ *reader = std::make_unique<format::avro::AvroReader>(
Review Comment:
Fixed in dfca943b1a260b619e9c4822580e217585350fc4. Both ordinary physical
scan descriptions and the independent schema-RPC entry reuse
FileFactory::resolve_file_location. Canonical paths and filesystem properties
serve I/O/cache resources; Iceberg delete matching retains original_file_path
or the raw manifest-range fallback. Tests exercise actual prepare_split
normalization, unchanged range extents and raw identity, plus an actual local
schema RPC under a different legacy backend. Remote ViewFS execution was not
run locally.
--
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]