fix code style

This commit is contained in:
taiyang-li 2022-04-06 11:41:16 +08:00
parent 539ce5f1b8
commit 43e8af697a

View File

@ -139,7 +139,7 @@ void HiveOrcFile::prepareColumnMapping()
for (size_t pos = 0; pos < count; pos++)
{
/// Column names in hive is case-insensitive.
String column{type.getFieldName(pos)};
String columnn{type.getFieldName(pos)};
boost::to_lower(column);
orc_column_positions[column] = pos;
}
@ -267,9 +267,9 @@ void HiveParquetFile::loadSubMinMaxIndex()
auto it = index_names_and_types.begin();
for (; it != index_names_and_types.end(); ++j, ++it)
{
String name{it->name};
boost::to_lower(name);
auto mit = parquet_column_positions.find(name);
String column{it->name};
boost::to_lower(column);
auto mit = parquet_column_positions.find(column);
if (mit == parquet_column_positions.end())
continue;