deniskuzZ commented on code in PR #4348:
URL: https://github.com/apache/hive/pull/4348#discussion_r1225351106
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java:
##########
@@ -528,6 +533,7 @@ public static void updateTableStatsForCreateTable(Warehouse
wh, Database db, Tab
StatsSetupConst.ColumnStatsSetup statsSetup =
StatsSetupConst.ColumnStatsSetup.parseStatsSetup(val);
if (statsSetup.enabled) {
try {
+ isIcebergTable = statsSetup.isIcebergTable;
// For an Iceberg table, a new snapshot is generated, so any
leftover files would be ignored
// Set the column stats true in order to make it merge-able
if (newDir || statsSetup.isIcebergTable ||
Review Comment:
why don't you use `isIcebergTable` var here?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]