deniskuzZ commented on code in PR #3557: URL: https://github.com/apache/hive/pull/3557#discussion_r973141693
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java: ########## @@ -1011,96 +1015,61 @@ private Path constructRenamedPath(Path defaultNewPath, Path currentPath) { defaultNewPath.toUri().getPath()); } - @VisibleForTesting - public static List<ColumnStatistics> alterTableUpdateTableColumnStats(RawStore msdb, Table oldTable, Table newTable, - EnvironmentContext ec, String validWriteIds, Configuration conf, List<String> deletedCols) - throws MetaException, InvalidObjectException { - String catName = normalizeIdentifier(oldTable.isSetCatName() ? oldTable.getCatName() : - getDefaultCatalog(conf)); + public static List<ColumnStatistics> getColumnStats(RawStore msdb, Table oldTable) Review Comment: can we move this to some stats util class? -- 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