kasakrisz commented on code in PR #4079:
URL: https://github.com/apache/hive/pull/4079#discussion_r1127764770
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java:
##########
@@ -2947,6 +2948,10 @@ private RelNode genTableLogicalPlan(String tableAlias,
QB qb) throws SemanticExc
if (AcidUtils.isNonNativeAcidTable(tabMetaData, false)) {
virtualCols.addAll(tabMetaData.getStorageHandler().acidVirtualColumns());
}
+ if (tabMetaData.isNonNative() &&
tabMetaData.getStorageHandler().areSnapshotsSupported() &&
+ isBlank(tabMetaData.getMetaTable())) {
Review Comment:
In case of metadata queries the `Table` object has a metaTable field which
alters the meaning of SnapshotId
https://issues.apache.org/jira/browse/HIVE-25457 introduced the metaTable
field.
--
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]