mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
fix code style
This commit is contained in:
parent
539ce5f1b8
commit
43e8af697a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user