pvary commented on code in PR #6570: URL: https://github.com/apache/iceberg/pull/6570#discussion_r1083877116
########## hive-metastore/src/main/java/org/apache/iceberg/hive/MetastoreUtil.java: ########## @@ -53,9 +55,23 @@ private MetastoreUtil() {} */ public static void alterTable( IMetaStoreClient client, String databaseName, String tblName, Table table) { - EnvironmentContext envContext = - new EnvironmentContext( - ImmutableMap.of(StatsSetupConst.DO_NOT_UPDATE_STATS, StatsSetupConst.TRUE)); - ALTER_TABLE.invoke(client, databaseName, tblName, table, envContext); + alterTable(client, databaseName, tblName, table, ImmutableMap.of()); + } + + /** + * Calls alter_table method using the metastore client. If possible, an environmental context will Review Comment: I am not entirely sure I understand this comment. Are you suggesting to move the `If possible, an environmental context will...` part of the class comment to an inline comment? I would like to keep this as a class comment as this is would be part of the javadoc for this method, and as a user of the method I would definitely like to know if to data I provided for the new table is changed by the method itself before submitting it to the HMS. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org