[ 
https://issues.apache.org/jira/browse/CALCITE-3780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175998#comment-17175998
 ] 

Rui Wang commented on CALCITE-3780:
-----------------------------------

[~jmxie] 

Unfortunately I wasn't able to make it released into 1.25.0. So we can target 
to make it in release 1.26.0. I will try to cut a PR next week with the idea of 
moving the key descriptor to the last to make it optional. Let's see how people 
will think about it.

> SESSION Table-valued Function
> -----------------------------
>
>                 Key: CALCITE-3780
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3780
>             Project: Calcite
>          Issue Type: Sub-task
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>             Fix For: 1.23.0
>
>
> We can create SESSION table-valued function to replace GROUP BY SESSION for 
> inactive gap session functionality:
> {code:sql}
> SELECT *
> FROM TABLE SESSION (
>   data => TABLE Bid ,
>   timecol => DESCRIPTOR ( bidtime ) ,
>   keycol => DESCRIPTOR(key),
>   inactive_gap => INTERVAL '10' MINUTES )
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to