difin commented on code in PR #5253:
URL: https://github.com/apache/hive/pull/5253#discussion_r1605169826
##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########
@@ -570,7 +570,7 @@ private ColumnStatistics readColStats(Table table, Path
statsPath) {
@Override
public boolean
canComputeQueryUsingStats(org.apache.hadoop.hive.ql.metadata.Table hmsTable) {
- if (getStatsSource().equals(HiveMetaHook.ICEBERG)) {
+ if (getStatsSource().equals(HiveMetaHook.ICEBERG) &&
hmsTable.getProperty("metaTable") != null) {
Review Comment:
Created a constant and refactored other places to use it instead of the
hardcoded string.
--
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]