[native] Fix protocol::FileFormat::ORC mapping to use dwio::common::FileFormat::ORC#22726
Conversation
a5194dc to
4fa7aba
Compare
|
|
3202320 to
2df47c3
Compare
|
No, This is due to the fact that the open source Velox does not support reading ORC files(some adaptation is required: facebookincubator/velox#6588). I made an adaptation internally, and I need to remove this part of the code in this PR. |
majetideepak
left a comment
There was a problem hiding this comment.
@wypb This is not limited to the Iceberg connector correct? This is a general protocol::FileFormat mapping issue.
Can you update the commit title and add a description?
|
I am also assuming the current mapping is a bug. |
@majetideepak Currently,
I've updated the commit title and added a description, Thank you. |
…ileFormat::ORC Currently, Prestissimo's toVeloxFileFormat method maps the ORC file format to Velox's DWRF file format, and an error will occur when reading the Iceberg table in the ORC file format.
Description
Iceberg's ORC format should be mapped to Velox's ORC format, not the DWRF format.
Because the open source Velox does not currently support reading ORC files (some adaptation is required), adding tests to read ORC will fail on the native side. So I didn't add the test to read ORC.
Motivation and Context
Impact
Test Plan
Contributor checklist
Release Notes