[jira] [Comment Edited] (CALCITE-4150) RelToSqlConverter does not support null without a cast: "Unsupported type when convertTypeToSpec: NULL"

2020-08-04 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170665#comment-17170665 ] Anton Haidai edited comment on CALCITE-4150 at 8/4/20, 9:12 AM: -

[jira] [Commented] (CALCITE-4150) RelToSqlConverter does not support null without a cast: "Unsupported type when convertTypeToSpec: NULL"

2020-08-04 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170665#comment-17170665 ] Anton Haidai commented on CALCITE-4150: --- [~amaliujia]   According to my debuggi

[jira] [Commented] (CALCITE-4150) RelToSqlConverter does not support null without a cast: "Unsupported type when convertTypeToSpec: NULL"

2020-08-03 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169843#comment-17169843 ] Anton Haidai commented on CALCITE-4150: --- [https://github.com/apache/calcite/pull/

[jira] [Updated] (CALCITE-4150) RelToSqlConverter does not support null without a cast: "Unsupported type when convertTypeToSpec: NULL"

2020-08-03 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-4150: -- Fix Version/s: 1.25.0 > RelToSqlConverter does not support null without a cast: "Unsupported

[jira] [Commented] (CALCITE-4150) RelToSqlConverter does not support null without a cast: "Unsupported type when convertTypeToSpec: NULL"

2020-08-02 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169650#comment-17169650 ] Anton Haidai commented on CALCITE-4150: --- This one looks simple enough for a first

[jira] [Updated] (CALCITE-4150) RelToSqlConverter does not support null without a cast: "Unsupported type when convertTypeToSpec: NULL"

2020-07-31 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-4150: -- Description: RelToSqlConverterTest: {code:java} @Test void testSelectNullNoCast() { String

[jira] [Created] (CALCITE-4150) RelToSqlConverter does not support null without a cast: "Unsupported type when convertTypeToSpec: NULL"

2020-07-31 Thread Anton Haidai (Jira)
Anton Haidai created CALCITE-4150: - Summary: RelToSqlConverter does not support null without a cast: "Unsupported type when convertTypeToSpec: NULL" Key: CALCITE-4150 URL: https://issues.apache.org/jira/browse/CAL

[jira] [Comment Edited] (CALCITE-4029) ProjectRemoveRule auto pruning may prevent rules from running if mixed conventions are used in a logical plan

2020-06-01 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120999#comment-17120999 ] Anton Haidai edited comment on CALCITE-4029 at 6/1/20, 1:06 PM: -

[jira] [Comment Edited] (CALCITE-4029) ProjectRemoveRule auto pruning may prevent rules from running if mixed conventions are used in a logical plan

2020-06-01 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120999#comment-17120999 ] Anton Haidai edited comment on CALCITE-4029 at 6/1/20, 1:06 PM: -

[jira] [Commented] (CALCITE-4029) ProjectRemoveRule auto pruning may prevent rules from running if mixed conventions are used in a logical plan

2020-06-01 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120999#comment-17120999 ] Anton Haidai commented on CALCITE-4029: --- [~botong] I agree, for example, even af

[jira] [Commented] (CALCITE-4029) ProjectRemoveRule auto pruning may prevent rules from running if mixed conventions are used in a logical plan

2020-05-31 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120446#comment-17120446 ] Anton Haidai commented on CALCITE-4029: --- This is a continuation of discussion in 

[jira] [Updated] (CALCITE-4029) ProjectRemoveRule auto pruning may prevent rules from running if mixed conventions are used in a logical plan

2020-05-28 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-4029: -- Description: Preconditions to reproduce the issue: # Logical plan has mixed conventions (for

[jira] [Updated] (CALCITE-4029) ProjectRemoveRule auto pruning may prevent rules from running if mixed conventions are used in a logical plan

2020-05-28 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-4029: -- Description: Preconditions to reproduce the issue: # Logical plan has mixed conventions (for

[jira] [Updated] (CALCITE-4029) ProjectRemoveRule auto pruning may prevent rules from running if mixed conventions are used in a logical plan

2020-05-28 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-4029: -- Description: Preconditions to reproduce the issue: # Logical plan has mixed conventions (for

[jira] [Commented] (CALCITE-3939) Change UnionEliminatorRule and ProjectRemoveRule to auto pruning SubstitutionRule

2020-05-28 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119134#comment-17119134 ] Anton Haidai commented on CALCITE-3939: --- Here it is: https://issues.apache.org/ji

[jira] [Created] (CALCITE-4029) ProjectRemoveRule auto pruning may prevent rules from running if mixed conventions are used in a logical plan

2020-05-28 Thread Anton Haidai (Jira)
Anton Haidai created CALCITE-4029: - Summary: ProjectRemoveRule auto pruning may prevent rules from running if mixed conventions are used in a logical plan Key: CALCITE-4029 URL: https://issues.apache.org/jira/bro

[jira] [Commented] (CALCITE-3939) Change UnionEliminatorRule and ProjectRemoveRule to auto pruning SubstitutionRule

2020-05-28 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119058#comment-17119058 ] Anton Haidai commented on CALCITE-3939: --- [~julianhyde] , sorry, it took long to c

[jira] [Commented] (CALCITE-3939) Change UnionEliminatorRule and ProjectRemoveRule to auto pruning SubstitutionRule

2020-05-28 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119048#comment-17119048 ] Anton Haidai commented on CALCITE-3939: --- [~botong], thank you for you detailed de

[jira] [Commented] (CALCITE-3939) Change UnionEliminatorRule and ProjectRemoveRule to auto pruning SubstitutionRule

2020-05-28 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118796#comment-17118796 ] Anton Haidai commented on CALCITE-3939: --- {quote} Does RuleX look into the siblin

[jira] [Commented] (CALCITE-3939) Change UnionEliminatorRule and ProjectRemoveRule to auto pruning SubstitutionRule

2020-05-28 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118720#comment-17118720 ] Anton Haidai commented on CALCITE-3939: --- FYI: This change caused a regression on

[jira] [Commented] (CALCITE-3997) Problem with MERGE JOIN: java.lang.AssertionError: cannot merge join: left input is not sorted on left keys

2020-05-16 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17109227#comment-17109227 ] Anton Haidai commented on CALCITE-3997: --- {quote}Anton Haidai Would you mind testi

[jira] [Commented] (CALCITE-3839) After calling RelBuilder.aggregate, cannot lookup field by name

2020-03-11 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056769#comment-17056769 ] Anton Haidai commented on CALCITE-3839: --- FYI: the fix is verified on the test sui

[jira] [Created] (CALCITE-3839) Can't get group field by name: "field [ENAME] not found;"

2020-03-02 Thread Anton Haidai (Jira)
Anton Haidai created CALCITE-3839: - Summary: Can't get group field by name: "field [ENAME] not found;" Key: CALCITE-3839 URL: https://issues.apache.org/jira/browse/CALCITE-3839 Project: Calcite

[jira] [Commented] (CALCITE-3675) SQL to Rel conversion is broken for coalesce on nullable field

2020-01-06 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008702#comment-17008702 ] Anton Haidai commented on CALCITE-3675: --- Hello, [~donnyzone]. Thank you for your

[jira] [Created] (CALCITE-3675) SQL to Rel conversion is broken for coalesce on nullable field

2020-01-03 Thread Anton Haidai (Jira)
Anton Haidai created CALCITE-3675: - Summary: SQL to Rel conversion is broken for coalesce on nullable field Key: CALCITE-3675 URL: https://issues.apache.org/jira/browse/CALCITE-3675 Project: Calcite

[jira] [Comment Edited] (CALCITE-3538) Materialized view with AggregateFilterTransposeRule and a simple filter may corrupt a physical plan.

2019-11-27 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16983683#comment-16983683 ] Anton Haidai edited comment on CALCITE-3538 at 11/27/19 4:20 PM:

[jira] [Commented] (CALCITE-3538) Materialized view with AggregateFilterTransposeRule and a simple filter may corrupt a physical plan.

2019-11-27 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16983683#comment-16983683 ] Anton Haidai commented on CALCITE-3538: --- While I still can't reproduce the issue

[jira] [Updated] (CALCITE-3538) Materialized view with AggregateFilterTransposeRule and a simple filter may corrupt a physical plan.

2019-11-26 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3538: -- Description: A combination of the following rules may lead to a corrupted physical plan: * Ab

[jira] [Created] (CALCITE-3538) Materialized view with AggregateFilterTransposeRule and a simple filter may corrupt a physical plan.

2019-11-26 Thread Anton Haidai (Jira)
Anton Haidai created CALCITE-3538: - Summary: Materialized view with AggregateFilterTransposeRule and a simple filter may corrupt a physical plan. Key: CALCITE-3538 URL: https://issues.apache.org/jira/browse/CALCIT

[jira] [Updated] (CALCITE-3537) Can't apply materialized view with a simple filter

2019-11-26 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3537: -- Description: The issue is reproducible in MaterializationTest: {code} @Test public void tes

[jira] [Created] (CALCITE-3537) Can't apply materialized view with a simple filter

2019-11-26 Thread Anton Haidai (Jira)
Anton Haidai created CALCITE-3537: - Summary: Can't apply materialized view with a simple filter Key: CALCITE-3537 URL: https://issues.apache.org/jira/browse/CALCITE-3537 Project: Calcite Issu

[jira] [Commented] (CALCITE-3364) Can't group table function result due to a type cast error if table function returns a row with a single value

2019-09-23 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935799#comment-16935799 ] Anton Haidai commented on CALCITE-3364: --- [~danny0405], The ScannableTable interfa

[jira] [Updated] (CALCITE-3364) Can't group table function result due to a type cast error if table function returns a row with a single value

2019-09-23 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3364: -- Summary: Can't group table function result due to a type cast error if table function returns

[jira] [Commented] (CALCITE-3364) Can't group table function result due to a type cast error if table function returns a row with a single value

2019-09-23 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935730#comment-16935730 ] Anton Haidai commented on CALCITE-3364: --- After some additional testing it turned

[jira] [Updated] (CALCITE-3364) Can't group table function result due to a type cast error if table function returns a row with a single value

2019-09-23 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3364: -- Description: I was not able to find a suitable test, so I'll describe the issue using a cust

[jira] [Updated] (CALCITE-3364) Can't group table function result due to a type cast error if table functions returns a single value

2019-09-23 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3364: -- Description: I was not able to find a suitable test, so I'll describe the issue using a cust

[jira] [Updated] (CALCITE-3364) Can't group table function result due to a type cast error if table functions returns a single value

2019-09-23 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3364: -- Summary: Can't group table function result due to a type cast error if table functions return

[jira] [Updated] (CALCITE-3364) Can't group table function result due to a type cast error

2019-09-20 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3364: -- Description: I was not able to find a suitable test, so I'll describe the issue using a cust

[jira] [Created] (CALCITE-3364) Can't group table function result due to a type cast error

2019-09-20 Thread Anton Haidai (Jira)
Anton Haidai created CALCITE-3364: - Summary: Can't group table function result due to a type cast error Key: CALCITE-3364 URL: https://issues.apache.org/jira/browse/CALCITE-3364 Project: Calcite

[jira] [Updated] (CALCITE-3354) RelToSqlConverter does not support LogicalTableFunctionScan

2019-09-17 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3354: -- Priority: Minor (was: Major) > RelToSqlConverter does not support LogicalTableFunctionScan >

[jira] [Commented] (CALCITE-3354) RelToSqlConverter does not support LogicalTableFunctionScan

2019-09-17 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16932015#comment-16932015 ] Anton Haidai commented on CALCITE-3354: --- [~julianhyde], done: tests both for RelB

[jira] [Updated] (CALCITE-3354) RelToSqlConverter does not support LogicalTableFunctionScan

2019-09-17 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3354: -- Description: Here is the test in *RelBuilderTest* to reproduce the issue using RelBuilder (t

[jira] [Updated] (CALCITE-3354) RelToSqlConverter does not support LogicalTableFunctionScan

2019-09-17 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3354: -- Description: Here is the test in *RelBuilderTest* to reproduce the issue using *RelBuilder*

[jira] [Updated] (CALCITE-3354) RelToSqlConverter does not support LogicalTableFunctionScan

2019-09-17 Thread Anton Haidai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3354: -- Description: Here is the test in *RelBuilderTest* to reproduce the issue (the right place fo

[jira] [Created] (CALCITE-3354) RelToSqlConverter does not support LogicalTableFunctionScan

2019-09-17 Thread Anton Haidai (Jira)
Anton Haidai created CALCITE-3354: - Summary: RelToSqlConverter does not support LogicalTableFunctionScan Key: CALCITE-3354 URL: https://issues.apache.org/jira/browse/CALCITE-3354 Project: Calcite

[jira] [Commented] (CALCITE-3145) RelBuilder.aggregate throws IndexOutOfBoundsException if groupKey is non-empty and there are duplicate aggregate functions

2019-07-03 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877736#comment-16877736 ] Anton Haidai commented on CALCITE-3145: --- {quote}It's probably a good idea to test

[jira] [Commented] (CALCITE-3145) RelBuilder.aggregate throws IndexOutOfBoundsException if groupKey is non-empty and there are duplicate aggregate functions

2019-07-02 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16876969#comment-16876969 ] Anton Haidai commented on CALCITE-3145: --- FYI: this issue breaks a proprietary dow

[jira] [Commented] (CALCITE-3076) AggregateJoinTransposeRule throws error for unique under aggregate keys when generating merged calls

2019-05-20 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16844058#comment-16844058 ] Anton Haidai commented on CALCITE-3076: --- [~danny0405], thank you for your contrib

[jira] [Updated] (CALCITE-3076) Error when AggregateJoinTransposeRule is used on empty LogicalValues

2019-05-17 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3076: -- Description: RelOptRulesTest: {code} @Test public void testPushAggregateThroughJoinOnEmptyL

[jira] [Created] (CALCITE-3076) Error when AggregateJoinTransposeRule is used on empty LogicalValues

2019-05-17 Thread Anton Haidai (JIRA)
Anton Haidai created CALCITE-3076: - Summary: Error when AggregateJoinTransposeRule is used on empty LogicalValues Key: CALCITE-3076 URL: https://issues.apache.org/jira/browse/CALCITE-3076 Project: Cal

[jira] [Closed] (CALCITE-2666) JoinPushThroughJoinRule can't reach an optimal plan in some 3+ joins cases

2019-05-15 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai closed CALCITE-2666. - Resolution: Not A Problem > JoinPushThroughJoinRule can't reach an optimal plan in some 3+ join

[jira] [Commented] (CALCITE-2666) JoinPushThroughJoinRule can't reach an optimal plan in some 3+ joins cases

2019-05-15 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840506#comment-16840506 ] Anton Haidai commented on CALCITE-2666: --- [~zabetak]: JoinProjectTransposeRule was

[jira] [Commented] (CALCITE-3052) Error while applying rule MaterializedViewAggregateRule(Project-Aggregate): ArrayIndexOutOfBoundsException

2019-05-15 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840233#comment-16840233 ] Anton Haidai commented on CALCITE-3052: --- [~jcamachorodriguez], after this additio

[jira] [Commented] (CALCITE-3052) Error while applying rule MaterializedViewAggregateRule(Project-Aggregate): ArrayIndexOutOfBoundsException

2019-05-14 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839178#comment-16839178 ] Anton Haidai commented on CALCITE-3052: --- [~jcamachorodriguez], thank you for your

[jira] [Updated] (CALCITE-3060) Materialized view: "target out of range" error

2019-05-10 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3060: -- Description: "MaterializationTest": {code} @Test public void testPermutationError() { Cal

[jira] [Commented] (CALCITE-3052) Error while applying rule MaterializedViewAggregateRule(Project-Aggregate): ArrayIndexOutOfBoundsException

2019-05-10 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837347#comment-16837347 ] Anton Haidai commented on CALCITE-3052: --- [~jcamachorodriguez], sure- here is the

[jira] [Created] (CALCITE-3060) Materialized view: "target out of range" error

2019-05-10 Thread Anton Haidai (JIRA)
Anton Haidai created CALCITE-3060: - Summary: Materialized view: "target out of range" error Key: CALCITE-3060 URL: https://issues.apache.org/jira/browse/CALCITE-3060 Project: Calcite Issue Ty

[jira] [Commented] (CALCITE-3052) Error while applying rule MaterializedViewAggregateRule(Project-Aggregate): ArrayIndexOutOfBoundsException

2019-05-10 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836996#comment-16836996 ] Anton Haidai commented on CALCITE-3052: --- Other than that, looks like I found two

[jira] [Commented] (CALCITE-3052) Error while applying rule MaterializedViewAggregateRule(Project-Aggregate): ArrayIndexOutOfBoundsException

2019-05-10 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836984#comment-16836984 ] Anton Haidai commented on CALCITE-3052: --- While trying hard, I still can't reprodu

[jira] [Created] (CALCITE-3052) Error while applying rule MaterializedViewAggregateRule(Project-Aggregate): ArrayIndexOutOfBoundsException

2019-05-07 Thread Anton Haidai (JIRA)
Anton Haidai created CALCITE-3052: - Summary: Error while applying rule MaterializedViewAggregateRule(Project-Aggregate): ArrayIndexOutOfBoundsException Key: CALCITE-3052 URL: https://issues.apache.org/jira/browse/

[jira] [Updated] (CALCITE-3052) Error while applying rule MaterializedViewAggregateRule(Project-Aggregate): ArrayIndexOutOfBoundsException

2019-05-07 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3052: -- Description: *Materialized views enabled:* # "select avg(grade), count(*), max(grade), sum(gr

[jira] [Updated] (CALCITE-3052) Error while applying rule MaterializedViewAggregateRule(Project-Aggregate): ArrayIndexOutOfBoundsException

2019-05-07 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-3052: -- Description: *Materialized views enabled:* # "select avg(grade), count(*), max(grade), sum(gr

[jira] [Comment Edited] (CALCITE-2666) JoinPushThroughJoinRule can't reach an optimal plan in some 3+ joins cases

2019-03-14 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792544#comment-16792544 ] Anton Haidai edited comment on CALCITE-2666 at 3/14/19 10:54 AM:

[jira] [Commented] (CALCITE-2666) JoinPushThroughJoinRule can't reach an optimal plan in some 3+ joins cases

2019-03-14 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792544#comment-16792544 ] Anton Haidai commented on CALCITE-2666: --- I would like to ask for a feedback from

[jira] [Updated] (CALCITE-2666) JoinPushThroughJoinRule can't reach an optimal plan in some 3+ joins cases

2018-11-12 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-2666: -- Description: For example, the input query is the following: {code:java} SELECT * FROM X INNER

[jira] [Updated] (CALCITE-2666) JoinPushThroughJoinRule can't reach an optimal plan in some 3+ joins cases

2018-11-12 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-2666: -- Description: For example, the input query is the following: {code:java} SELECT * FROM X INNER

[jira] [Created] (CALCITE-2666) JoinPushThroughJoinRule can't reach an optimal plan in some 3+ joins cases

2018-11-12 Thread Anton Haidai (JIRA)
Anton Haidai created CALCITE-2666: - Summary: JoinPushThroughJoinRule can't reach an optimal plan in some 3+ joins cases Key: CALCITE-2666 URL: https://issues.apache.org/jira/browse/CALCITE-2666 Projec

[jira] [Created] (CALCITE-2618) It is not possible to execute IN on Enumerable: "cannot translate call IN"

2018-10-10 Thread Anton Haidai (JIRA)
Anton Haidai created CALCITE-2618: - Summary: It is not possible to execute IN on Enumerable: "cannot translate call IN" Key: CALCITE-2618 URL: https://issues.apache.org/jira/browse/CALCITE-2618 Projec

[jira] [Commented] (CALCITE-2616) Can't create Unicode literal by RelBuilder

2018-10-10 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644654#comment-16644654 ] Anton Haidai commented on CALCITE-2616: --- According to my testing, if using RexBui

[jira] [Updated] (CALCITE-2616) Can't create Unicode literal by RelBuilder

2018-10-09 Thread Anton Haidai (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Haidai updated CALCITE-2616: -- Description: Test in RelBuilderTest to reproduce the issue: {code:java} @Test public void tes

[jira] [Created] (CALCITE-2616) Can't create Unicode literal by RelBuilder

2018-10-09 Thread Anton Haidai (JIRA)
Anton Haidai created CALCITE-2616: - Summary: Can't create Unicode literal by RelBuilder Key: CALCITE-2616 URL: https://issues.apache.org/jira/browse/CALCITE-2616 Project: Calcite Issue Type: