pengzhiwei2018 commented on a change in pull request #1138: [CALCITE-1581] UDTF 
like in hive
URL: https://github.com/apache/calcite/pull/1138#discussion_r315051758
 
 

 ##########
 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:
   Well, I think it is a useful feature for people to write udtf with other 
column in select statement.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to