pengzhiwei2018 commented on a change in pull request #1138: [CALCITE-1581] UDTF
like in hive
URL: https://github.com/apache/calcite/pull/1138#discussion_r314567857
##########
File path: core/src/test/java/org/apache/calcite/test/TableFunctionTest.java
##########
@@ -408,6 +408,23 @@ private Connection getConnectionWithMultiplyFunction()
with().query(q).returnsUnordered("C=7");
}
+ @Test public void testTableFunctionInSelect() {
+ final String q = "select * from ("
+ + "select f0, \"s\".\"fibonacci2\"(20) as (c)"
+ + " from (select 1 as f0)"
+ + ")";
Review comment:
Yes, I support this feature by the way.
----------------------------------------------------------------
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