Skip to content

Commit

Permalink
Fix parquet reader
Browse files Browse the repository at this point in the history
  • Loading branch information
rui-mo committed Oct 18, 2023
1 parent 63503fc commit d95fc6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions velox/dwio/parquet/reader/ParquetReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,7 @@ ParquetRowReader::ParquetRowReader(
return; // TODO
}
ParquetParams params(pool_, columnReaderStats_, readerBase_->fileMetaData());
auto columnSelector = std::make_shared<ColumnSelector>(
ColumnSelector::apply(options_.getSelector(), readerBase_->schema()));
auto columnSelector = options_.getSelector();
columnReader_ = ParquetColumnReader::build(
columnSelector->getSchemaWithId(),
readerBase_->schemaWithId(), // Id is schema id
Expand Down
2 changes: 1 addition & 1 deletion velox/type/Subfield.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct Separators {

char backSlash = '\\';
char closeBracket = ']';
char dot = '.';
char dot = '\0';
char openBracket = '[';
char quote = '\"';
char wildCard = '*';
Expand Down

0 comments on commit d95fc6f

Please sign in to comment.