[jira] [Updated] (CALCITE-5920) Reset PERCENTILE_CONT/PERCENTILE_DISC to ReservedKeyWords

2023-08-11 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ran Tao updated CALCITE-5920: - Description: In https://issues.apache.org/jira/browse/CALCITE-5564, it changed PERCENTILE_CONT/PERCENT

[jira] [Comment Edited] (CALCITE-5909) Sometimes SqlParserTest.testNoUnintendedNewReservedKeywords fails in the IDE but passes when run from the command line

2023-08-11 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753451#comment-17753451 ] Ran Tao edited comment on CALCITE-5909 at 8/12/23 4:02 AM: --- [

[jira] [Comment Edited] (CALCITE-5909) Sometimes SqlParserTest.testNoUnintendedNewReservedKeywords fails in the IDE but passes when run from the command line

2023-08-11 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753451#comment-17753451 ] Ran Tao edited comment on CALCITE-5909 at 8/12/23 4:01 AM: --- [

[jira] [Commented] (CALCITE-5909) Sometimes SqlParserTest.testNoUnintendedNewReservedKeywords fails in the IDE but passes when run from the command line

2023-08-11 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753451#comment-17753451 ] Ran Tao commented on CALCITE-5909: -- [~julianhyde] yes, make sense. I have moved it to

[jira] [Assigned] (CALCITE-5920) Reset PERCENTILE_CONT/PERCENTILE_DISC to ReservedKeyWords

2023-08-11 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ran Tao reassigned CALCITE-5920: Assignee: Ran Tao > Reset PERCENTILE_CONT/PERCENTILE_DISC to ReservedKeyWords >

[jira] [Updated] (CALCITE-5920) Reset PERCENTILE_CONT/PERCENTILE_DISC to ReservedKeyWords

2023-08-11 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ran Tao updated CALCITE-5920: - Description: In https://issues.apache.org/jira/browse/CALCITE-5564, it changed PERCENTILE_CONT/PERCENTI

[jira] [Updated] (CALCITE-5920) Reset PERCENTILE_CONT/PERCENTILE_DISC to ReservedKeyWords

2023-08-11 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ran Tao updated CALCITE-5920: - Description: In https://issues.apache.org/jira/browse/CALCITE-5564, it changed PERCENTILE_CONT/PERCENTI

[jira] [Created] (CALCITE-5920) Reset PERCENTILE_CONT/PERCENTILE_DISC to ReservedKeyWords

2023-08-11 Thread Ran Tao (Jira)
Ran Tao created CALCITE-5920: Summary: Reset PERCENTILE_CONT/PERCENTILE_DISC to ReservedKeyWords Key: CALCITE-5920 URL: https://issues.apache.org/jira/browse/CALCITE-5920 Project: Calcite Issue T

[jira] [Updated] (CALCITE-5920) Reset PERCENTILE_CONT/PERCENTILE_DISC to ReservedKeyWords

2023-08-11 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ran Tao updated CALCITE-5920: - Description: In https://issues.apache.org/jira/browse/CALCITE-5564, it changed PERCENTILE_CONT/PERCENT

[jira] [Commented] (CALCITE-5919) Compile-time implementation of EXTRACT ignores sub-millisecond values

2023-08-11 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753443#comment-17753443 ] Mihai Budiu commented on CALCITE-5919: -- [~julianhyde] The problem is that there i

[jira] [Resolved] (CALCITE-5184) In parser, allow "LIMIT start, ALL"

2023-08-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-5184. -- Fix Version/s: 1.36.0 Resolution: Fixed Fixed in [161e2203|https://github.com/apache/

[jira] [Resolved] (CALCITE-5908) Refactor: Remove unnecessary null checks in CalciteSchema

2023-08-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-5908. -- Fix Version/s: 1.36.0 Resolution: Fixed Fixed in [6b750b8e|https://github.com/apache/

[jira] [Commented] (CALCITE-5909) Sometimes SqlParserTest.testNoUnintendedNewReservedKeywords fails in the IDE but passes when run from the command line

2023-08-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753423#comment-17753423 ] Julian Hyde commented on CALCITE-5909: -- Thanks for your detective work, [~taoran].

[jira] [Comment Edited] (CALCITE-5909) Sometimes SqlParserTest.testNoUnintendedNewReservedKeywords fails in the IDE but passes when run from the command line

2023-08-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753019#comment-17753019 ] Julian Hyde edited comment on CALCITE-5909 at 8/11/23 11:04 PM: -

[jira] [Commented] (CALCITE-5918) Add MAP function (enabled in Spark library)

2023-08-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753422#comment-17753422 ] Julian Hyde commented on CALCITE-5918: -- For what it's worth, I don't think that st

[jira] [Commented] (CALCITE-5919) Compile-time implementation of EXTRACT ignores sub-millisecond values

2023-08-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753382#comment-17753382 ] Julian Hyde commented on CALCITE-5919: -- Good one. It seems to me that we should us

[jira] [Commented] (CALCITE-5919) Compile-time implementation of EXTRACT ignores sub-millisecond values

2023-08-11 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753346#comment-17753346 ] Mihai Budiu commented on CALCITE-5919: -- This one may be tricky to fix. I notice th

[jira] [Commented] (CALCITE-5919) Compile-time implementation of EXTRACT ignores sub-millisecond values

2023-08-11 Thread Mihai Budiu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753345#comment-17753345 ] Mihai Budiu commented on CALCITE-5919: -- Here is a test which reproduces this probl

[jira] [Resolved] (CALCITE-5843) Constant expression with nested casts causes a compiler crash

2023-08-11 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-5843. Resolution: Fixed Fixed via [{{bde9110}}|https://github.com/apache/calcite/commit/bde9110ca6d090

[jira] [Created] (CALCITE-5919) Compile-time implementation of EXTRACT ignores sub-millisecond values

2023-08-11 Thread Mihai Budiu (Jira)
Mihai Budiu created CALCITE-5919: Summary: Compile-time implementation of EXTRACT ignores sub-millisecond values Key: CALCITE-5919 URL: https://issues.apache.org/jira/browse/CALCITE-5919 Project: Calc

[jira] [Updated] (CALCITE-5918) Add MAP function (enabled in Spark library)

2023-08-11 Thread Jira
[ https://issues.apache.org/jira/browse/CALCITE-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Massé updated CALCITE-5918: - Description: Apache Spark map constructor is different than the standard SQL: [https:/

[jira] [Created] (CALCITE-5918) Add MAP function (enabled in Spark library)

2023-08-11 Thread Jira
Guillaume Massé created CALCITE-5918: Summary: Add MAP function (enabled in Spark library) Key: CALCITE-5918 URL: https://issues.apache.org/jira/browse/CALCITE-5918 Project: Calcite Issue

[jira] [Comment Edited] (CALCITE-5909) Sometimes SqlParserTest.testNoUnintendedNewReservedKeywords fails in the IDE but passes when run from the command line

2023-08-11 Thread Ran Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753027#comment-17753027 ] Ran Tao edited comment on CALCITE-5909 at 8/11/23 3:51 PM: --- [

[jira] [Assigned] (CALCITE-5880) When the association condition of the association subquery is 'is not distinct from', the join condition becomes '=' after decorrelation.

2023-08-11 Thread LakeShen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] LakeShen reassigned CALCITE-5880: - Assignee: LakeShen > When the association condition of the association subquery is 'is not >

[jira] [Commented] (CALCITE-5860) Decimal type conversion missing scale

2023-08-11 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753250#comment-17753250 ] Stamatis Zampetakis commented on CALCITE-5860: -- [~pfzhan] Sure will do ano

[jira] [Commented] (CALCITE-5860) Decimal type conversion missing scale

2023-08-11 Thread pengfei.zhan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753214#comment-17753214 ] pengfei.zhan commented on CALCITE-5860: --- Hi, [~zabetak]. Thank you for your feedb

[jira] [Commented] (CALCITE-5914) Cache compiled regular expressions in SQL function runtime

2023-08-11 Thread Thomas Rebele (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753199#comment-17753199 ] Thomas Rebele commented on CALCITE-5914: I've a ticket with a similar goal in m

[jira] [Commented] (CALCITE-5895) TABLESAMPLE(0) should return empty result

2023-08-11 Thread LakeShen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753095#comment-17753095 ] LakeShen commented on CALCITE-5895: --- Hi [~julianhyde] ,I have modified the code accor

[jira] [Resolved] (CALCITE-5907) Unexpected boolean expression simplification for And expression

2023-08-11 Thread Alessandro Solimando (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alessandro Solimando resolved CALCITE-5907. --- Resolution: Not A Problem > Unexpected boolean expression simplification fo