[jira] [Commented] (CALCITE-3504) allow empty ARRAY[] literals

2019-11-14 Thread Pressenna (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974902#comment-16974902 ] Pressenna commented on CALCITE-3504: here's a quick check in postgresql: {code:sql} postgres=#

[jira] [Commented] (CALCITE-3504) allow empty ARRAY[] literals

2019-11-14 Thread Pressenna (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974899#comment-16974899 ] Pressenna commented on CALCITE-3504: I would just argue as follows: {code::sql} SELECT ARRAY[null]

[jira] [Comment Edited] (CALCITE-3504) allow empty ARRAY[] literals

2019-11-14 Thread Pressenna (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974899#comment-16974899 ] Pressenna edited comment on CALCITE-3504 at 11/15/19 7:54 AM: -- I would

[jira] [Commented] (CALCITE-3504) allow empty ARRAY[] literals

2019-11-14 Thread Pressenna (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974893#comment-16974893 ] Pressenna commented on CALCITE-3504: I tried casting an empty array construct, but it fails:

[jira] [Updated] (CALCITE-3506) ClassCastException in TypedValue.writetoProtoWithType when a boxed Float is used

2019-11-14 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3506: - Summary: ClassCastException in TypedValue.writetoProtoWithType when a boxed

[jira] [Commented] (CALCITE-3505) Infinite matching of FilterProjectTransposeRule causes stackoverflow

2019-11-14 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974867#comment-16974867 ] Haisheng Yuan commented on CALCITE-3505: And maybe duplicate with

[jira] [Commented] (CALCITE-3491) VolcanoPlanner.completeConversion() is bypassed by "if (true)"

2019-11-14 Thread Xiening Dai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974834#comment-16974834 ] Xiening Dai commented on CALCITE-3491: -- Yes, you can open a JIRA. From what I can tell, the other

[jira] [Commented] (CALCITE-3491) VolcanoPlanner.completeConversion() is bypassed by "if (true)"

2019-11-14 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974754#comment-16974754 ] Danny Chen commented on CALCITE-3491: - Thanks, so we have make agreement that this code can be

[jira] [Updated] (CALCITE-3501) Improve EnumerableTableFunctionScan's implement() for table value function windowing

2019-11-14 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3501: -- Description: In order to support table value function windowing, EnumerableTableFunctionScan's

[jira] [Updated] (CALCITE-3501) Improve EnumerableTableFunctionScan's implement() for table value function windowing

2019-11-14 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3501: -- Description: In order to support table value function windowing, EnumerableTableFunctionScan's

[jira] [Updated] (CALCITE-3501) Improve EnumerableTableFunctionScan's implement() for table value function windowing

2019-11-14 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3501: -- Summary: Improve EnumerableTableFunctionScan's implement() for table value function windowing (was:

[jira] [Resolved] (CALCITE-3494) Support decimal type aggregate in Interpreter

2019-11-14 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haisheng Yuan resolved CALCITE-3494. Fix Version/s: 1.22.0 Resolution: Fixed Fixed in

[jira] [Created] (CALCITE-3506) Avatica: exception in the writetoProtoWithType function

2019-11-14 Thread Enrique Saurez (Jira)
Enrique Saurez created CALCITE-3506: --- Summary: Avatica: exception in the writetoProtoWithType function Key: CALCITE-3506 URL: https://issues.apache.org/jira/browse/CALCITE-3506 Project: Calcite

[jira] [Updated] (CALCITE-3506) Avatica: exception in the writetoProtoWithType function

2019-11-14 Thread Enrique Saurez (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enrique Saurez updated CALCITE-3506: Description:  am using Apache Calcite-Avatica version 1.12 (but the relevant code

[jira] [Updated] (CALCITE-3491) VolcanoPlanner.completeConversion() is bypassed by "if (true)"

2019-11-14 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3491: Labels: pull-request-available (was: ) > VolcanoPlanner.completeConversion() is

[jira] [Commented] (CALCITE-3457) RexSimplify incorrectly simplifies IS NOT NULL operator with ITEM call

2019-11-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974573#comment-16974573 ] Julian Hyde commented on CALCITE-3457: -- [~volodymyr], When you fix, please change the name of the

[jira] [Commented] (CALCITE-3491) VolcanoPlanner.completeConversion() is bypassed by "if (true)"

2019-11-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974572#comment-16974572 ] Julian Hyde commented on CALCITE-3491: -- I don't really remember it. Looks like it was never

[jira] [Commented] (CALCITE-3500) Validator infers incorrect type for "IS NOT DISTINCT FROM"

2019-11-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974545#comment-16974545 ] Julian Hyde commented on CALCITE-3500: -- We've discussed this. To me, that message is perfectly

[jira] [Commented] (CALCITE-3477) Decimal type should not be assigned from other types

2019-11-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974533#comment-16974533 ] Julian Hyde commented on CALCITE-3477: -- What does the SQL standard say? Is it illegal to assign

[jira] [Commented] (CALCITE-3504) allow empty ARRAY[] literals

2019-11-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974522#comment-16974522 ] Julian Hyde commented on CALCITE-3504: -- I agree with the concerns about type-inference. What

[jira] [Resolved] (CALCITE-3503) NPE at VolcanoPlanner#isValid when DEBUG is enabled

2019-11-14 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haisheng Yuan resolved CALCITE-3503. Resolution: Fixed Fixed in

[jira] [Updated] (CALCITE-3503) NPE at VolcanoPlanner#isValid when DEBUG is enabled

2019-11-14 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3503: Labels: pull-request-available (was: ) > NPE at VolcanoPlanner#isValid when DEBUG is

[jira] [Commented] (CALCITE-3503) NPE at VolcanoPlanner#isValid when DEBUG is enabled

2019-11-14 Thread Xiening Dai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974447#comment-16974447 ] Xiening Dai commented on CALCITE-3503: -- I have a PR out -

[jira] [Commented] (CALCITE-3504) allow empty ARRAY[] literals

2019-11-14 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974376#comment-16974376 ] Stamatis Zampetakis commented on CALCITE-3504: -- In Postgres you can create an empty array

[jira] [Commented] (CALCITE-3505) Infinite matching of FilterProjectTransposeRule causes stackoverflow

2019-11-14 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974354#comment-16974354 ] Stamatis Zampetakis commented on CALCITE-3505: -- It looks like a subcase/duplicate of

[jira] [Commented] (CALCITE-3505) Infinite matching of FilterProjectTransposeRule causes stackoverflow

2019-11-14 Thread Jin Xing (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974336#comment-16974336 ] Jin Xing commented on CALCITE-3505: --- >From the graphviz.svg attachment, I found input-cycles as below

[jira] [Updated] (CALCITE-3505) Infinite matching of FilterProjectTransposeRule causes stackoverflow

2019-11-14 Thread Jin Xing (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jin Xing updated CALCITE-3505: -- Attachment: graphviz.svg > Infinite matching of FilterProjectTransposeRule causes stackoverflow >

[jira] [Updated] (CALCITE-3505) Infinite matching of FilterProjectTransposeRule causes stackoverflow

2019-11-14 Thread Jin Xing (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jin Xing updated CALCITE-3505: -- Description: Run ScannableTableTest#testProjectableFilterableTableJoin with minor change to

[jira] [Updated] (CALCITE-3505) Infinite matching of FilterProjectTransposeRule causes stackoverflow

2019-11-14 Thread Jin Xing (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jin Xing updated CALCITE-3505: -- Description: Run ScannableTableTest#testProjectableFilterableTableJoin with minor change to

[jira] [Created] (CALCITE-3505) Infinite matching of FilterProjectTransposeRule causes stackoverflow

2019-11-14 Thread Jin Xing (Jira)
Jin Xing created CALCITE-3505: - Summary: Infinite matching of FilterProjectTransposeRule causes stackoverflow Key: CALCITE-3505 URL: https://issues.apache.org/jira/browse/CALCITE-3505 Project: Calcite

[jira] [Commented] (CALCITE-3504) allow empty ARRAY[] literals

2019-11-14 Thread Pressenna (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974212#comment-16974212 ] Pressenna commented on CALCITE-3504: We are mostly wondering how to update an array column to an

[jira] [Commented] (CALCITE-3504) allow empty ARRAY[] literals

2019-11-14 Thread Feng Zhu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16974182#comment-16974182 ] Feng Zhu commented on CALCITE-3504: --- Is this feature important in some scenarios? Calcite parser

[jira] [Created] (CALCITE-3504) allow empty ARRAY[] literals

2019-11-14 Thread Pressenna (Jira)
Pressenna created CALCITE-3504: -- Summary: allow empty ARRAY[] literals Key: CALCITE-3504 URL: https://issues.apache.org/jira/browse/CALCITE-3504 Project: Calcite Issue Type: Wish Affects