[ 
https://issues.apache.org/jira/browse/CALCITE-7691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihai Budiu resolved CALCITE-7691.
----------------------------------
    Fix Version/s: 1.43.0
       Resolution: Fixed

Fixed in 
[https://github.com/apache/calcite/commit/82cfd34a56cf3e6db996039a4e81e80878598a66]

Thank you for the fix [~krooswu] 

> The behavior of SESSION table functions is unspecified for NULL timestamps
> --------------------------------------------------------------------------
>
>                 Key: CALCITE-7691
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7691
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.42.0
>            Reporter: Mihai Budiu
>            Assignee: krooswu
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.43.0
>
>
> The result produced by a SESSION table has non-null timestamps.
> So it is unclear what should happen to the input rows that have null 
> timestamps. 
> A reasonable solution seems to be to actually drop these rows when computing 
> the session windows. 
> The only other possible alternative I can imagine is putting all rows with 
> NULL timestamps in the same session. In that case the type inference must be 
> changed to produce nullable results.
> Ideally this choice would be guided by a spec or some reference 
> implementation.



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

Reply via email to