chunweilei commented on a change in pull request #1138: [CALCITE-1581] UDTF
like in hive
URL: https://github.com/apache/calcite/pull/1138#discussion_r270262760
##########
File path:
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java
##########
@@ -1320,6 +1331,175 @@ protected SqlNode performUnconditionalRewrites(
return node;
}
+ private SqlNode performHiveUdtfRewrite(SqlNode node) {
+ Map<SqlSelect, UdtfInfo> selectUdtfInfo = new HashMap<>();
+ SqlNode rewirte = performHiveUdtfRewriteInternal(node, selectUdtfInfo);
+ // System.out.println("before:\n" + node.toString() +" \nafter:\n" +
rewirte.toString());
+ return node;
Review comment:
Should remove this useless comment.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services