diff --git a/be/src/vec/exec/format/orc/vorc_reader.cpp b/be/src/vec/exec/format/orc/vorc_reader.cpp index 0e6af28430730cf..1fd8ab1ffe8aacf 100644 --- a/be/src/vec/exec/format/orc/vorc_reader.cpp +++ b/be/src/vec/exec/format/orc/vorc_reader.cpp @@ -331,7 +331,7 @@ Status OrcReader::get_schema_col_name_attribute(std::vector* 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))); }