mihaibudiu commented on code in PR #5139:
URL: https://github.com/apache/calcite/pull/5139#discussion_r3707752213


##########
core/src/test/resources/sql/stream.iq:
##########
@@ -222,3 +222,39 @@ SELECT * FROM TABLE(SESSION((SELECT * FROM ORDERS), 
DESCRIPTOR(ROWTIME), DESCRIP
 (5 rows)
 
 !ok
+
+# Test case for [CALCITE-7682] SESSION table function without the optional key
+# descriptor fails at runtime.
+SELECT * FROM TABLE(SESSION(TABLE ORDERS, DESCRIPTOR(ROWTIME), INTERVAL '1' 
HOUR));

Review Comment:
   I haven't run them, but the Flink playground 
https://kafka-options-explorer.conduktor.io/flink-sql accepts these queries, 
which used to crash.
   
   I think the data is small enough that they can be validated manually. I 
don't have access to a Flink installation.



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

Reply via email to