Skip to content

Commit

Permalink
temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yma11 committed Aug 15, 2024
1 parent b08b429 commit 0d5125d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions velox/dwio/parquet/reader/ParquetReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,23 @@ std::unique_ptr<ParquetTypeWithId> ReaderBase::getParquetColumnInfo(
maxDefine,
isOptional,
isRepeated);
} else {
// Row type
auto type =
createRowType(children, isFileColumnNamesReadAsLowerCase());
return std::make_unique<ParquetTypeWithId>(
std::move(type),
std::move(children),
curSchemaIdx,
maxSchemaElementIdx,
ParquetTypeWithId::kNonLeaf, // columnIdx,
std::move(name),
std::nullopt,
std::nullopt,
maxRepeat,
maxDefine,
isOptional,
isRepeated);
}
} else {
// Row type
Expand Down

0 comments on commit 0d5125d

Please sign in to comment.