Skip to content

Commit

Permalink
fix iceberg
Browse files Browse the repository at this point in the history
  • Loading branch information
hubgeter committed Dec 30, 2024
1 parent 303f160 commit de08108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/exec/format/orc/vorc_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ Status OrcReader::get_schema_col_name_attribute(std::vector<std::string>* col_na
RETURN_IF_ERROR(_create_file_reader());
auto& root_type = _is_acid ? _remove_acid(_reader->getType()) : _reader->getType();
for (int i = 0; i < root_type.getSubtypeCount(); ++i) {
col_names->emplace_back(get_field_name_lower_case(&root_type, i));
col_names->emplace_back(root_type.getFieldName(i));
col_attributes->emplace_back(
std::stol(root_type.getSubtype(i)->getAttributeValue(attribute)));
}
Expand Down

0 comments on commit de08108

Please sign in to comment.