[jira] [Updated] (CALCITE-3909) RelMdMinRowCount doesn't take into account UNION DISTINCT

2020-04-10 Thread Chunwei Lei (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunwei Lei updated CALCITE-3909: - Description: When computing minRowCount for Union, it doesn't task into account UNION

[jira] [Created] (CALCITE-3910) Enhance ProjectJoinTransposeRule to support SemiJoin and AntiJoin

2020-04-10 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3910: Summary: Enhance ProjectJoinTransposeRule to support SemiJoin and AntiJoin Key: CALCITE-3910 URL: https://issues.apache.org/jira/browse/CALCITE-3910 Project: Calcite

[jira] [Updated] (CALCITE-3910) Enhance ProjectJoinTransposeRule to support SemiJoin and AntiJoin

2020-04-10 Thread Chunwei Lei (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunwei Lei updated CALCITE-3910: - Description: Currently, ProjectJoinTransposeRule does not support push project pass SemiJoin

[jira] [Created] (CALCITE-3909) RelMdMinRowCount doesn't take into account UNION DISTINCT

2020-04-10 Thread Chunwei Lei (Jira)
Chunwei Lei created CALCITE-3909: Summary: RelMdMinRowCount doesn't take into account UNION DISTINCT Key: CALCITE-3909 URL: https://issues.apache.org/jira/browse/CALCITE-3909 Project: Calcite

[jira] [Updated] (CALCITE-3909) RelMdMinRowCount doesn't take into account UNION DISTINCT

2020-04-10 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3909: Labels: pull-request-available (was: ) > RelMdMinRowCount doesn't take into account

[jira] [Updated] (CALCITE-3833) Support SemiJoin in EnumerableMergeJoin

2020-04-10 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-3833: --- Fix Version/s: 1.23.0 > Support SemiJoin in EnumerableMergeJoin >

[jira] [Resolved] (CALCITE-3833) Support SemiJoin in EnumerableMergeJoin

2020-04-10 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L resolved CALCITE-3833. Resolution: Fixed > Support SemiJoin in EnumerableMergeJoin >

[jira] [Commented] (CALCITE-3833) Support SemiJoin in EnumerableMergeJoin

2020-04-10 Thread Ruben Q L (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17080370#comment-17080370 ] Ruben Q L commented on CALCITE-3833: Resolved via

[jira] [Commented] (CALCITE-3896) Pass through parent trait requests to child operators

2020-04-10 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17080614#comment-17080614 ] Haisheng Yuan commented on CALCITE-3896: 1. As described in the issue, the redundancy *can't*

[jira] [Created] (CALCITE-3912) Incorrect mapping parsing when properties have same name as reserved keywords in ElasticSearch

2020-04-10 Thread Andrei Sereda (Jira)
Andrei Sereda created CALCITE-3912: -- Summary: Incorrect mapping parsing when properties have same name as reserved keywords in ElasticSearch Key: CALCITE-3912 URL:

[jira] [Commented] (CALCITE-3896) Pass through parent trait requests to child operators

2020-04-10 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17080615#comment-17080615 ] Haisheng Yuan commented on CALCITE-3896: This will not replace abstract converter, but will

[jira] [Updated] (CALCITE-3912) Incorrect mapping parsing when properties have same name as reserved keywords in ElasticSearch

2020-04-10 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3912: Labels: pull-request-available (was: ) > Incorrect mapping parsing when properties have

[jira] [Updated] (CALCITE-3912) Incorrect mapping parsing when properties have same name as reserved keywords in ElasticSearch

2020-04-10 Thread Andrei Sereda (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrei Sereda updated CALCITE-3912: --- Description: If a property has nameĀ {{type}} or {{properties}} ES adapter doesn't

[jira] [Created] (CALCITE-3911) JoinCommuteRule may generate wrong plan for SEMI/ANTI join

2020-04-10 Thread Haisheng Yuan (Jira)
Haisheng Yuan created CALCITE-3911: -- Summary: JoinCommuteRule may generate wrong plan for SEMI/ANTI join Key: CALCITE-3911 URL: https://issues.apache.org/jira/browse/CALCITE-3911 Project: Calcite

[jira] [Created] (CALCITE-3913) A formal verification techniques for testing correctness in calcite

2020-04-10 Thread Qi Zhou (Jira)
Qi Zhou created CALCITE-3913: Summary: A formal verification techniques for testing correctness in calcite Key: CALCITE-3913 URL: https://issues.apache.org/jira/browse/CALCITE-3913 Project: Calcite

[jira] [Created] (CALCITE-3914) Improve SubsitutionVisitor to consider RexCall of type PLUS and TIMES for canonicalization

2020-04-10 Thread Vineet Garg (Jira)
Vineet Garg created CALCITE-3914: Summary: Improve SubsitutionVisitor to consider RexCall of type PLUS and TIMES for canonicalization Key: CALCITE-3914 URL: https://issues.apache.org/jira/browse/CALCITE-3914

[jira] [Commented] (CALCITE-3913) A formal verification techniques for testing correctness in calcite

2020-04-10 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17081006#comment-17081006 ] Haisheng Yuan commented on CALCITE-3913: Interesting. Looking forward to the contribution. > A

[jira] [Updated] (CALCITE-3914) Improve SubsitutionVisitor to consider RexCall of type PLUS and TIMES for canonicalization

2020-04-10 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3914: Labels: pull-request-available (was: ) > Improve SubsitutionVisitor to consider RexCall

[jira] [Updated] (CALCITE-3913) A formal verification techniques for testing correctness in calcite

2020-04-10 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-3913: - Description: We have developed a technique that can formally be verified if two logical plans

[jira] [Commented] (CALCITE-3913) A formal verification techniques for testing correctness in calcite

2020-04-10 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17081007#comment-17081007 ] Julian Hyde commented on CALCITE-3913: -- What form would the contribution take? Would you add a new

[jira] [Updated] (CALCITE-3913) Test correctness using formal verification techniques

2020-04-10 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-3913: - Summary: Test correctness using formal verification techniques (was: A formal verification

[jira] [Commented] (CALCITE-3893) SQL with GROUP_ID may generate wrong plan

2020-04-10 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17080789#comment-17080789 ] Julian Hyde commented on CALCITE-3893: -- bq. But if we allow this pattern, we need to fix the logic

[jira] [Commented] (CALCITE-3913) Test correctness using formal verification techniques

2020-04-10 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17081011#comment-17081011 ] Haisheng Yuan commented on CALCITE-3913: I think one use case is that there are tens of

[jira] [Commented] (CALCITE-3913) Test correctness using formal verification techniques

2020-04-10 Thread Qi Zhou (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17081040#comment-17081040 ] Qi Zhou commented on CALCITE-3913: -- The first thing we considering to do is to bring this tool to

[jira] [Updated] (CALCITE-3915) Add rule listener to report rule attempts and time at DEBUG log level

2020-04-10 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haisheng Yuan updated CALCITE-3915: --- Description: We can add a rule listener to the VolcanoPlanner for recording rule attempts

[jira] [Updated] (CALCITE-3915) Add rule listener to report rule attempts and time at DEBUG log level

2020-04-10 Thread Haisheng Yuan (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haisheng Yuan updated CALCITE-3915: --- Description: We can add a rule listener to the VolcanoPlanner for recording rule attempts

[jira] [Commented] (CALCITE-3915) Add rule listener to report rule attempts and time at DEBUG log level

2020-04-10 Thread Xiening Dai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17081075#comment-17081075 ] Xiening Dai commented on CALCITE-3915: -- The example in the description is messed up due to the

[jira] [Commented] (CALCITE-3915) Add rule listener to report rule attempts and time at DEBUG log level

2020-04-10 Thread Chunwei Lei (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17081109#comment-17081109 ] Chunwei Lei commented on CALCITE-3915: -- +1 for adding such a listener. > Add rule listener to

[jira] [Commented] (CALCITE-3913) Test correctness using formal verification techniques

2020-04-10 Thread Chunwei Lei (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17081108#comment-17081108 ] Chunwei Lei commented on CALCITE-3913: -- Interesting work! I think checking the rule correctness is

[jira] [Commented] (CALCITE-3890) Infer IS NOT NULL predicate from join

2020-04-10 Thread Chunwei Lei (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17081110#comment-17081110 ] Chunwei Lei commented on CALCITE-3890: -- [~vgarg], [~kgyrtkirk] Instead of using a rule to add

[jira] [Issue Comment Deleted] (CALCITE-3915) Add rule listener to report rule attempts and time at DEBUG log level

2020-04-10 Thread Xiening Dai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiening Dai updated CALCITE-3915: - Comment: was deleted (was: The example in the description is messed up due to the indents. We

[jira] [Created] (CALCITE-3915) Add rule listener to report rule attempts and time at DEBUG log level

2020-04-10 Thread Xiening Dai (Jira)
Xiening Dai created CALCITE-3915: Summary: Add rule listener to report rule attempts and time at DEBUG log level Key: CALCITE-3915 URL: https://issues.apache.org/jira/browse/CALCITE-3915 Project:

[jira] [Assigned] (CALCITE-3915) Add rule listener to report rule attempts and time at DEBUG log level

2020-04-10 Thread Xiening Dai (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiening Dai reassigned CALCITE-3915: Assignee: Xiening Dai > Add rule listener to report rule attempts and time at DEBUG log

[jira] [Updated] (CALCITE-3914) Improve SubstitutionVisitor to consider RexCall of type PLUS and TIMES for canonicalization

2020-04-10 Thread Jesus Camacho Rodriguez (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated CALCITE-3914: - Summary: Improve SubstitutionVisitor to consider RexCall of type PLUS

[jira] [Updated] (CALCITE-3915) Add rule listener to report rule attempts and time at DEBUG log level

2020-04-10 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-3915: Labels: pull-request-available (was: ) > Add rule listener to report rule attempts and

[jira] [Commented] (CALCITE-3890) Infer IS NOT NULL predicate from join

2020-04-10 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-3890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17081169#comment-17081169 ] Julian Hyde commented on CALCITE-3890: -- I'm worried about adding a configuration parameter. We