You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Hongze Zhang (JIRA)" <ji...@apache.org> on 2019/03/22 03:06:00 UTC

[jira] [Comment Edited] (CALCITE-883) Support RESPECT NULLS, IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE window functions

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

Hongze Zhang edited comment on CALCITE-883 at 3/22/19 3:05 AM:
---------------------------------------------------------------

[~Chunwei Lei] - IMHO the case seems to be good enough (although maybe should consider the token <RESPECT> too, I think). 

And I suppose that you don't really support the idea to make the call of {{IGNORE_NULLS}} / {{RESPECT_NULLS}} an operand of SqlOverOperator. Could you please explain a bit more about your worrying on this?


was (Author: zhztheplayer):
[~Chunwei Lei] - IMHO the case seems to be good enough (although maybe should consider the token <RESPECT> too, I think). 

And I suppose that you don't really support the idea to make the window function call an operand of {{IGNORE_NULLS}} / {{RESPECT_NULLS}}. Could you please explain a bit more about your worrying on this?

> Support RESPECT NULLS, IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE window functions
> --------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-883
>                 URL: https://issues.apache.org/jira/browse/CALCITE-883
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Sean Hsuan-Yi Chu
>            Assignee: Chunwei Lei
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> This issue was brought up in Drill community: (https://issues.apache.org/jira/browse/DRILL-3597)
> For convenience, I copied and pasted the reporter Khurram Faraaz's description here:
> "The SQL standard defines a RESPECT NULLS or IGNORE NULLS option for lead, lag, first_value, and last_value window functions."
> In Calcite, we should have been able to recognized this option.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)