[jira] [Updated] (CALCITE-6400) MAP_ENTRIES does not allow null as a map key

2024-05-08 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ran Tao updated CALCITE-6400: - Summary: MAP_ENTRIES does not allow null as a map key (was: MAP_ENTRIES does not allow null as a map k

[jira] [Updated] (CALCITE-6365) Support for RETURNING clause of JSON_QUERY

2024-05-08 Thread Dawid Wysakowicz (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dawid Wysakowicz updated CALCITE-6365: -- Description: SQL standard says {{JSON_QUERY}} should support {{RETURNING}} clause sim

[jira] [Resolved] (CALCITE-6377) Time expression causes IllegalStateException

2024-05-08 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mihai Budiu resolved CALCITE-6377. -- Fix Version/s: 1.38.0 Assignee: Mihai Budiu Resolution: Fixed Fixed in https

[jira] [Commented] (CALCITE-6400) MAP_ENTRIES does not allow null as a map key

2024-05-08 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844732#comment-17844732 ] Julian Hyde commented on CALCITE-6400: -- When I read the current summary, 'MAP_ENTR

[jira] [Commented] (CALCITE-6402) Aggregates implied in grouping sets have a wrong nullability at validation stage

2024-05-08 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844737#comment-17844737 ] Julian Hyde commented on CALCITE-6402: -- I agree with your analysis. It seems we n

[jira] [Comment Edited] (CALCITE-6402) Aggregates implied in grouping sets have a wrong nullability at validation stage

2024-05-08 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844737#comment-17844737 ] Julian Hyde edited comment on CALCITE-6402 at 5/8/24 6:41 PM: ---

[jira] [Resolved] (CALCITE-6395) Significant precision loss when representing REAL literals

2024-05-08 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mihai Budiu resolved CALCITE-6395. -- Fix Version/s: 1.38.0 Resolution: Fixed Fixed in https://github.com/apache/calcite/co

[jira] [Commented] (CALCITE-5328) The rule of AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN throws error when meeting the rollup's query

2024-05-08 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844788#comment-17844788 ] Mihai Budiu commented on CALCITE-5328: -- I think that the fix for [CALCITE-6332] wi

[jira] [Commented] (CALCITE-5328) The rule of AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN throws error when meeting the rollup's query

2024-05-08 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844789#comment-17844789 ] Mihai Budiu commented on CALCITE-5328: -- If that is true, we should probably resolv

[jira] [Created] (CALCITE-6403) Rule AGGREGATE_EXPAND_DISTINCT_AGGREGATES is unsound

2024-05-08 Thread Mihai Budiu (Jira)
Mihai Budiu created CALCITE-6403: Summary: Rule AGGREGATE_EXPAND_DISTINCT_AGGREGATES is unsound Key: CALCITE-6403 URL: https://issues.apache.org/jira/browse/CALCITE-6403 Project: Calcite Issu

[jira] [Updated] (CALCITE-6403) Rule AGGREGATE_EXPAND_DISTINCT_AGGREGATES is unsound

2024-05-08 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mihai Budiu updated CALCITE-6403: - Description: Here is a simple SQL program that operates on a collection with no input rows: {co

[jira] [Commented] (CALCITE-6392) Support all PostgreSQL 14 date/time patterns for to_date/to_timestamp

2024-05-08 Thread Norman Jordan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844791#comment-17844791 ] Norman Jordan commented on CALCITE-6392: I have some code for this that could b

[jira] [Commented] (CALCITE-6392) Support all PostgreSQL 14 date/time patterns for to_date/to_timestamp

2024-05-08 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844792#comment-17844792 ] Mihai Budiu commented on CALCITE-6392: -- 1 makes sense. You could also consider add

[jira] [Commented] (CALCITE-6403) Rule AGGREGATE_EXPAND_DISTINCT_AGGREGATES is unsound

2024-05-08 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844800#comment-17844800 ] Julian Hyde commented on CALCITE-6403: -- Does the same problem occur when the input

[jira] [Commented] (CALCITE-6403) Rule AGGREGATE_EXPAND_DISTINCT_AGGREGATES is unsound

2024-05-08 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844802#comment-17844802 ] Mihai Budiu commented on CALCITE-6403: -- In this instance indeed I have applied the