You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/08/22 03:45:00 UTC

[jira] [Updated] (CALCITE-7691) The behavior of SESSION table functions is unspecified for NULL timestamps

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

ASF GitHub Bot updated CALCITE-7691:
------------------------------------
    Labels: pull-request-available  (was: )

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