soumyakanti3578 commented on code in PR #6067:
URL: https://github.com/apache/hive/pull/6067#discussion_r2396333333
##########
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveTableScan.java:
##########
@@ -326,10 +355,23 @@ public boolean isInsideView() {
return insideView;
}
+ private boolean isMaterializedTable() {
+ return ((RelOptHiveTable) table).getHiveTableMD().isMaterializedTable();
+ }
+
public HiveTableScanTrait getTableScanTrait() {
return tableScanTrait;
}
+ private static HiveTableScanTrait createTableScanTrait(RelInput input) {
+ String enumName = input.getString("tableScanTrait");
+ if (enumName == null) {
+ return null;
+ }
Review Comment:
Yes we don't always serialize `tableScanTrait`. We only serialize it when
`pw.getDetailLevel() == SqlExplainLevel.ALL_ATTRIBUTES`
--
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]