[
https://issues.apache.org/jira/browse/CALCITE-7682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7682.
----------------------------------
Fix Version/s: 1.43.0
Assignee: Mihai Budiu
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/fc95bb0e68c838da4232aabf47ee5037cf73b778]
Thank you for the review [~xuzifu666]
> 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
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.43.0
>
>
> {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)