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

 ##########
 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:
   I think we'd better do exactly the same as Hive does.

----------------------------------------------------------------
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