Skip to content

Commit

Permalink
[native] Add support for ORC reader
Browse files Browse the repository at this point in the history
  • Loading branch information
wypb committed Jun 25, 2024
1 parent b7204ee commit 5e91bc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ dwio::common::FileFormat toVeloxFileFormat(
const presto::protocol::StorageFormat& format) {
if (format.inputFormat == "com.facebook.hive.orc.OrcInputFormat") {
return dwio::common::FileFormat::DWRF;
} else if (
format.inputFormat == "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat") {
return dwio::common::FileFormat::ORC;
} else if (
format.inputFormat ==
"org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat") {
Expand Down

0 comments on commit 5e91bc9

Please sign in to comment.