[
https://issues.apache.org/jira/browse/DRILL-4529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15218040#comment-15218040
]
ASF GitHub Bot commented on DRILL-4529:
---------------------------------------
Github user jinfengni commented on the pull request:
https://github.com/apache/drill/pull/447#issuecomment-203461091
Since we have use same approach for regular sum() aggregate, it makes sense
to apply to window sum() aggregate function.
LGTM
+1.
> SUM() with windows function result in mismatch nullability
> ----------------------------------------------------------
>
> Key: DRILL-4529
> URL: https://issues.apache.org/jira/browse/DRILL-4529
> Project: Apache Drill
> Issue Type: Bug
> Components: Query Planning & Optimization
> Reporter: Krystal
> Assignee: Sean Hsuan-Yi Chu
> Labels: limit0
>
> git.commit.id.abbrev=cee5317
> select
> sum(1) over w sum1,
> sum(5) over w sum5,
> sum(10) over w sum10
> from
> j1_v
> where
> c_date is not null
> window w as (partition by c_date);
> Output from test:
> limit 0: [columnNoNulls, columnNoNulls, columnNoNulls]
> regular: [columnNullable, columnNullable, columnNullable]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)