[jira] [Reopened] (CALCITE-3746) RexSimplify changes the order of IS NOT NULL in And RexNode

2020-02-12 Thread Chunwei Lei (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunwei Lei reopened CALCITE-3746: -- Assignee: Chunwei Lei (was: pengzhiwei) > RexSimplify changes the order of IS NOT NULL in

[jira] [Commented] (CALCITE-3746) RexSimplify changes the order of IS NOT NULL in And RexNode

2020-02-12 Thread Chunwei Lei (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17036001#comment-17036001 ] Chunwei Lei commented on CALCITE-3746: -- Sorry for the late reply, [~vladimirsitnikov]. You can

[jira] [Updated] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3793: Labels: pull-request-available (was: ) > AssertionError throws for planner digest cache

[jira] [Updated] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chen updated CALCITE-3793: Description: Here is the stack from Flink {code:xml} java.lang.AssertionError at

[jira] [Assigned] (CALCITE-3662) Generate wrong SQL when plan contains Project(Sort(Aggregate)) and aggregate field has no alias

2020-02-12 Thread Lei Jiang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei Jiang reassigned CALCITE-3662: -- Assignee: (was: Lei Jiang) > Generate wrong SQL when plan contains

[jira] [Updated] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chen updated CALCITE-3793: Priority: Blocker (was: Critical) > AssertionError throws for planner digest cache key when the

[jira] [Updated] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chen updated CALCITE-3793: Component/s: core > AssertionError throws for planner digest cache key when the rel type is not

[jira] [Updated] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chen updated CALCITE-3793: Fix Version/s: 1.22.0 > AssertionError throws for planner digest cache key when the rel type is

[jira] [Updated] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chen updated CALCITE-3793: Affects Version/s: 1.22.0 > AssertionError throws for planner digest cache key when the rel type

[jira] [Assigned] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chen reassigned CALCITE-3793: --- Assignee: Danny Chen > AssertionError throws for planner digest cache key when the rel

[jira] [Updated] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chen updated CALCITE-3793: Issue Type: Bug (was: Improvement) > AssertionError throws for planner digest cache key when

[jira] [Updated] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chen updated CALCITE-3793: Priority: Critical (was: Major) > AssertionError throws for planner digest cache key when the

[jira] [Created] (CALCITE-3793) AssertionError throws for planner digest cache key when the rel type is not struct

2020-02-12 Thread Danny Chen (Jira)
Danny Chen created CALCITE-3793: --- Summary: AssertionError throws for planner digest cache key when the rel type is not struct Key: CALCITE-3793 URL: https://issues.apache.org/jira/browse/CALCITE-3793

[jira] [Updated] (CALCITE-3792) Remove the generic type declaration of method RelOptCluster#getMetadataQuery

2020-02-12 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3792: Labels: pull-request-available (was: ) > Remove the generic type declaration of method

[jira] [Created] (CALCITE-3792) Remove the generic type declaration of method RelOptCluster#getMetadataQuery

2020-02-12 Thread Danny Chen (Jira)
Danny Chen created CALCITE-3792: --- Summary: Remove the generic type declaration of method RelOptCluster#getMetadataQuery Key: CALCITE-3792 URL: https://issues.apache.org/jira/browse/CALCITE-3792

[jira] [Updated] (CALCITE-3791) HepPlanner doesn't clear metadata cache for the ancestors of discarded node when a transformation happens

2020-02-12 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3791: Labels: pull-request-available (was: ) > HepPlanner doesn't clear metadata cache for

[jira] [Updated] (CALCITE-3791) HepPlanner doesn't clear metadata cache for the ancestors of discarded node when a transformation happens

2020-02-12 Thread Chunwei Lei (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunwei Lei updated CALCITE-3791: - Summary: HepPlanner doesn't clear metadata cache for the ancestors of discarded node when a

[jira] [Created] (CALCITE-3791) HepPlanner does't clear metadata cache for the ancestors of discarded node when a transformation happens

2020-02-12 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3791: Summary: HepPlanner does't clear metadata cache for the ancestors of discarded node when a transformation happens Key: CALCITE-3791 URL:

[jira] [Updated] (CALCITE-3790) Make the URL of FileSource available

2020-02-12 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3790: Labels: pull-request-available (was: ) > Make the URL of FileSource available >

[jira] [Created] (CALCITE-3790) Make the URL of FileSource available

2020-02-12 Thread Liya Fan (Jira)
Liya Fan created CALCITE-3790: - Summary: Make the URL of FileSource available Key: CALCITE-3790 URL: https://issues.apache.org/jira/browse/CALCITE-3790 Project: Calcite Issue Type: Bug

[jira] [Commented] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035910#comment-17035910 ] Haisheng Yuan commented on CALCITE-3786: The reason is that in Calcite RexNode doesn't have

[jira] [Assigned] (CALCITE-3739) Remove failed snapshot track file in Windows OS for Cassandra adapter

2020-02-12 Thread Andrei Sereda (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrei Sereda reassigned CALCITE-3739: -- Assignee: Andrei Sereda > Remove failed snapshot track file in Windows OS for

[jira] [Commented] (CALCITE-3739) Remove failed snapshot track file in Windows OS for Cassandra adapter

2020-02-12 Thread Feng Zhu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035894#comment-17035894 ] Feng Zhu commented on CALCITE-3739: --- Fixed in CALCITE-2442. > Remove failed snapshot track file in

[jira] [Resolved] (CALCITE-3739) Remove failed snapshot track file in Windows OS for Cassandra adapter

2020-02-12 Thread Feng Zhu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Feng Zhu resolved CALCITE-3739. --- Fix Version/s: 1.22.0 Resolution: Fixed > Remove failed snapshot track file in Windows OS

[jira] [Commented] (CALCITE-2442) Cassandra unit test intermittent failures

2020-02-12 Thread Andrei Sereda (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035885#comment-17035885 ] Andrei Sereda commented on CALCITE-2442: [~rubenql]  changes have been merged in master. Can

[jira] [Resolved] (CALCITE-2442) Cassandra unit test intermittent failures

2020-02-12 Thread Andrei Sereda (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrei Sereda resolved CALCITE-2442. Resolution: Fixed Fixed in

[jira] [Comment Edited] (CALCITE-2442) Cassandra unit test intermittent failures

2020-02-12 Thread Andrei Sereda (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035884#comment-17035884 ] Andrei Sereda edited comment on CALCITE-2442 at 2/13/20 3:24 AM: - Fixed

[jira] [Commented] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035869#comment-17035869 ] Julian Hyde commented on CALCITE-3786: -- You have a point. However: * You can build the digest

[jira] [Commented] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Xiening Dai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035851#comment-17035851 ] Xiening Dai commented on CALCITE-3786: -- Agree with [~hyuan]. The only benefit of digest is because

[jira] [Commented] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035833#comment-17035833 ] Haisheng Yuan commented on CALCITE-3786: The Digest itself is nothing different with a normal

[jira] [Resolved] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

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

[jira] [Created] (CALCITE-3789) Support validation of UNNEST multiple array columns like Presto

2020-02-12 Thread Will Yu (Jira)
Will Yu created CALCITE-3789: Summary: Support validation of UNNEST multiple array columns like Presto Key: CALCITE-3789 URL: https://issues.apache.org/jira/browse/CALCITE-3789 Project: Calcite

[jira] [Commented] (CALCITE-3769) Deprecate TableScanRule

2020-02-12 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035760#comment-17035760 ] Julian Hyde commented on CALCITE-3769: -- I don't think they're the same: * Danny's change would not

[jira] [Comment Edited] (CALCITE-3788) SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when operand is a SqlSelect and the SqlSelect does not return a scalar value

2020-02-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035726#comment-17035726 ] Rui Wang edited comment on CALCITE-3788 at 2/12/20 10:22 PM: - Seems like

[jira] [Updated] (CALCITE-3788) SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when operand is a SqlSelect and the SqlSelect does not return a scalar value

2020-02-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3788: -- Description: For a table function which uses named argument for a TABLE parameter: {code:sql}

[jira] [Updated] (CALCITE-3788) SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when operand is a SqlSelect and the SqlSelect does not return a scalar value

2020-02-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3788: -- Description: For a table function which uses named argument for a TABLE parameter: {code:java}

[jira] [Updated] (CALCITE-3788) SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when operand is a SqlSelect and the SqlSelect does not return a scalar value

2020-02-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3788: -- Summary: SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when

[jira] [Updated] (CALCITE-3788) SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when operand is a SqlSelect and the SqlSelect does not returns a scalar value

2020-02-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang updated CALCITE-3788: -- Summary: SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when

[jira] [Assigned] (CALCITE-3788) SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when operand is a SqlSelect

2020-02-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rui Wang reassigned CALCITE-3788: - Assignee: (was: Rui Wang) > SqlValidatorImpl.registerOperandSubQueries should skip

[jira] [Commented] (CALCITE-3788) SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when operand is a SqlSelect

2020-02-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035726#comment-17035726 ] Rui Wang commented on CALCITE-3788: --- Seems like the SCALAR_QUERY setup is used to handle such case:

[jira] [Commented] (CALCITE-3769) Deprecate TableScanRule

2020-02-12 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035715#comment-17035715 ] Vladimir Sitnikov commented on CALCITE-3769: {quote}Do you have any other

[jira] [Commented] (CALCITE-3739) Remove failed snapshot track file in Windows OS for Cassandra adapter

2020-02-12 Thread Andrei Sereda (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035701#comment-17035701 ] Andrei Sereda commented on CALCITE-3739: I have updated cassandra tests to JUnit5 which allows

[jira] [Created] (CALCITE-3788) SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when operand is a SqlSelect

2020-02-12 Thread Rui Wang (Jira)
Rui Wang created CALCITE-3788: - Summary: SqlValidatorImpl.registerOperandSubQueries should skip creating SCALAR_QUERY call when operand is a SqlSelect Key: CALCITE-3788 URL:

[jira] [Created] (CALCITE-3787) Revisit Sql To Rel for a chained UNNEST

2020-02-12 Thread Will Yu (Jira)
Will Yu created CALCITE-3787: Summary: Revisit Sql To Rel for a chained UNNEST Key: CALCITE-3787 URL: https://issues.apache.org/jira/browse/CALCITE-3787 Project: Calcite Issue Type: Bug

[jira] [Commented] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-12 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035646#comment-17035646 ] Julian Hyde commented on CALCITE-3783: -- You didn't fix the commit message. >

[jira] [Updated] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Vladimir Sitnikov (Jira)

[jira] [Updated] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-3786: --- Description: Current digests for RexNode, RelNode, RelType, and similar cases use

[jira] [Commented] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035644#comment-17035644 ] Vladimir Sitnikov commented on CALCITE-3786: {quote} Digest would need a toString() method

[jira] [Commented] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035632#comment-17035632 ] Julian Hyde commented on CALCITE-3786: -- This idea has a lot of merit. There is one potential

[jira] [Commented] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Rui Wang (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035616#comment-17035616 ] Rui Wang commented on CALCITE-3786: --- Maybe need to exclude some classes. E.g RexLiteral and

[jira] [Comment Edited] (CALCITE-2442) Cassandra unit test intermittent failures

2020-02-12 Thread Andrei Sereda (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035388#comment-17035388 ] Andrei Sereda edited comment on CALCITE-2442 at 2/12/20 3:49 PM: - I

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 2:35 PM: ---

[jira] [Commented] (CALCITE-2442) Cassandra unit test intermittent failures

2020-02-12 Thread Andrei Sereda (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035388#comment-17035388 ] Andrei Sereda commented on CALCITE-2442: I think CassandraUnit doesn't properly shutdown the

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 2:21 PM: ---

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 2:18 PM: ---

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 2:14 PM: ---

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 2:12 PM: ---

[jira] [Updated] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Kapoor updated CALCITE-3784: - Attachment: OOM_Screenshot.png > RexCall toString digest gives OOM while huge expression is

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 2:11 PM: ---

[jira] [Updated] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Kapoor updated CALCITE-3784: - Attachment: (was: OOM Screenshot.png) > RexCall toString digest gives OOM while huge

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 2:10 PM: ---

[jira] [Comment Edited] (CALCITE-3770) Minor change "EnumerableCalcRel" to "EnumerableCalcRel"

2020-02-12 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035336#comment-17035336 ] Jiatao Tao edited comment on CALCITE-3770 at 2/12/20 1:24 PM: -- Hi

[jira] [Comment Edited] (CALCITE-3770) Minor change "EnumerableCalcRel" to "EnumerableCalcRel"

2020-02-12 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035336#comment-17035336 ] Jiatao Tao edited comment on CALCITE-3770 at 2/12/20 12:48 PM: --- Hi

[jira] [Updated] (CALCITE-3770) Minor change "EnumerableCalcRel" to "EnumerableCalcRel"

2020-02-12 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3770: Labels: pull-request-available (was: ) > Minor change "EnumerableCalcRel" to

[jira] [Commented] (CALCITE-3770) Minor change "EnumerableCalcRel" to "EnumerableCalcRel"

2020-02-12 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035336#comment-17035336 ] Jiatao Tao commented on CALCITE-3770: - Hi [~julianhyde]  Thanks a lot, I'll check them all latter.

[jira] [Commented] (CALCITE-3224) New RexNode-to-Expression CodeGen Implementation

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035312#comment-17035312 ] Danny Chen commented on CALCITE-3224: - Thanks for the reminder [~zabetak], that is exactly the

[jira] [Commented] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

2020-02-12 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035300#comment-17035300 ] Vladimir Sitnikov commented on CALCITE-3785: I have filed CALCITE-3786 for adding Digest

[jira] [Created] (CALCITE-3786) Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode

2020-02-12 Thread Vladimir Sitnikov (Jira)
Vladimir Sitnikov created CALCITE-3786: -- Summary: Add Digest (HashStrategy?) interface to enable efficient hashCode/equals for RexNode, RelNode Key: CALCITE-3786 URL:

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 11:24 AM:

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 11:24 AM:

[jira] [Updated] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Kapoor updated CALCITE-3784: - Description: I have some complex query which has tens of thousands of rex expressions and

[jira] [Comment Edited] (CALCITE-3784) RexCall toString digest gives OOM while huge expression is evaluated

2020-02-12 Thread Ravi Kapoor (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035034#comment-17035034 ] Ravi Kapoor edited comment on CALCITE-3784 at 2/12/20 10:50 AM:

[jira] [Commented] (CALCITE-3769) Deprecate TableScanRule

2020-02-12 Thread Danny Chen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035252#comment-17035252 ] Danny Chen commented on CALCITE-3769: - Sure, let's make this into 1.22, the Apache Flink code

[jira] [Commented] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035230#comment-17035230 ] Stamatis Zampetakis commented on CALCITE-3785: -- The {{Digest}} API proposed by [~vlsi] may

[jira] [Commented] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035227#comment-17035227 ] Stamatis Zampetakis commented on CALCITE-3785: -- [~hyuan] I took the liberty to include

[jira] [Updated] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3785: - Description: It turns out that the change in CALCITE-3713 added an extra

[jira] [Updated] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3785: - Attachment: before.png > Performance regression in HepPlanner#belongsToDag()

[jira] [Updated] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3785: - Attachment: after.png > Performance regression in HepPlanner#belongsToDag()

[jira] [Updated] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3785: - Description: It turns out that the change in CALCITE-3713 added an extra

[jira] [Updated] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3785: - Description: It turns out that the change in CALCITE-3713 added an extra

[jira] [Updated] (CALCITE-3785) Performance regression in HepPlanner#belongsToDag() due to expensive hashCode computation

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-3785: - Summary: Performance regression in HepPlanner#belongsToDag() due to expensive

[jira] [Commented] (CALCITE-3769) Deprecate TableScanRule

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035220#comment-17035220 ] Stamatis Zampetakis commented on CALCITE-3769: -- [~danny0405] There are for sure cases

[jira] [Commented] (CALCITE-3224) New RexNode-to-Expression CodeGen Implementation

2020-02-12 Thread Stamatis Zampetakis (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17035212#comment-17035212 ] Stamatis Zampetakis commented on CALCITE-3224: -- The problem of the 64KB is already logged

[jira] [Updated] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-12 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3783: --- Description: The rule PruneEmptyRules#JOIN_RIGHT_INSTANCE "_converts a Join to empty if its right

[jira] [Resolved] (CALCITE-3783) PruneEmptyRules#JOIN_RIGHT_INSTANCE wrong behavior for JoinRelType.ANTI

2020-02-12 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-3783. Fix Version/s: 1.22.0 Resolution: Fixed Fixed via