deniskuzZ commented on code in PR #5763: URL: https://github.com/apache/hive/pull/5763#discussion_r2037819318
########## ql/src/java/org/apache/hadoop/hive/ql/stats/ColumnStatisticsObjTranslator.java: ########## @@ -59,7 +59,7 @@ public static ColumnStatisticsObj readHiveColumnStatistics(String columnName, St List<ColumnStatsField> columnStatsFields, int start, List<? extends StructField> fields, List<Object> values) throws HiveException { ColumnStatisticsObj statsObj = new ColumnStatisticsObj(); - statsObj.setColName(columnName); + statsObj.setColName(columnName.toLowerCase()); Review Comment: it's always in lowercase in Hive schema, but not in ColumnStatisticsObj ########## ql/src/java/org/apache/hadoop/hive/ql/stats/ColumnStatisticsObjTranslator.java: ########## @@ -59,7 +59,7 @@ public static ColumnStatisticsObj readHiveColumnStatistics(String columnName, St List<ColumnStatsField> columnStatsFields, int start, List<? extends StructField> fields, List<Object> values) throws HiveException { ColumnStatisticsObj statsObj = new ColumnStatisticsObj(); - statsObj.setColName(columnName); + statsObj.setColName(columnName.toLowerCase()); Review Comment: it's always lowercased in Hive schema, but not in ColumnStatisticsObj -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org