Mihai Budiu created CALCITE-7682:
------------------------------------

             Summary: SESSION table function without the optional key 
descriptor fails at runtime
                 Key: CALCITE-7682
                 URL: https://issues.apache.org/jira/browse/CALCITE-7682
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.42.0
            Reporter: Mihai Budiu


{code:java}
SELECT * FROM TABLE(SESSION(TABLE ORDERS, DESCRIPTOR(ROWTIME), INTERVAL '20' 
MINUTE)); {code}
Adding this query to stream.iq using the orinoco dataset produces the following 
exception:
{code:java}
SESSION table function without KEY descriptor fails with ClassCastException 
(Unable to implement EnumerableTableFunctionScan){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to