[jira] [Commented] (CALCITE-2188) JDBC adapter generates invalid SQL for DATE/INTERVAL arithmetic

2018-02-22 Thread Rahul Raj (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16372680#comment-16372680 ] Rahul Raj commented on CALCITE-2188: The INTERVAL syntax is different between databases. Any

[jira] [Commented] (CALCITE-2081) NPE in join of 2 subqueries using window functions

2018-02-22 Thread zhen wang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16372781#comment-16372781 ] zhen wang commented on CALCITE-2081: https://github.com/apache/calcite/pull/634 just like Luis

[jira] [Commented] (CALCITE-2002) Distinct query against in-memory values is sometimes wrong

2018-02-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16373281#comment-16373281 ] Julian Hyde commented on CALCITE-2002: -- [~zhenw], Your PR looks great. I am testing now, and will

[jira] [Commented] (CALCITE-2081) NPE in join of 2 subqueries using window functions

2018-02-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16373345#comment-16373345 ] Julian Hyde commented on CALCITE-2081: -- Reviewing

[jira] [Created] (CALCITE-2189) RelMdAllPredicates fast bail out creates mismatch with RelMdTableReferences

2018-02-22 Thread Jesus Camacho Rodriguez (JIRA)
Jesus Camacho Rodriguez created CALCITE-2189: Summary: RelMdAllPredicates fast bail out creates mismatch with RelMdTableReferences Key: CALCITE-2189 URL:

[jira] [Resolved] (CALCITE-2189) RelMdAllPredicates fast bail out creates mismatch with RelMdTableReferences

2018-02-22 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez resolved CALCITE-2189. -- Resolution: Fixed Fixed in

[jira] [Commented] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16373702#comment-16373702 ] Julian Hyde commented on CALCITE-2165: -- That sounds reasonable, provided you are also able to

[jira] [Comment Edited] (CALCITE-2190) Extend SubstitutionVisitor.splitFilter to cover different order of operands

2018-02-22 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16373832#comment-16373832 ] Jesus Camacho Rodriguez edited comment on CALCITE-2190 at 2/23/18 2:38 AM:

[jira] [Commented] (CALCITE-2190) Extend SubstitutionVisitor.splitFilter to cover different order of operands

2018-02-22 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16373832#comment-16373832 ] Jesus Camacho Rodriguez commented on CALCITE-2190: -- [~julianhyde], could you review

[jira] [Updated] (CALCITE-1865) select count(1) from (select sum(1) .... without group by failed

2018-02-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-1865: - Component/s: jdbc-adapter > select count(1) from (select sum(1) without group by

[jira] [Updated] (CALCITE-2183) Implement RelSubset.copy method

2018-02-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-2183: - Summary: Implement RelSubset.copy method (was: invocation of copy method in RelSubset class)

[jira] [Resolved] (CALCITE-2185) Additional unit tests for Spark Adapter

2018-02-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-2185. -- Resolution: Fixed Fix Version/s: 1.16.0 Fixed in

[jira] [Updated] (CALCITE-2183) Implement RelSubset.copy method

2018-02-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-2183: - Affects Version/s: (was: 1.16.0) 1.15.0 > Implement RelSubset.copy

[jira] [Resolved] (CALCITE-2183) Implement RelSubset.copy method

2018-02-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-2183. -- Resolution: Fixed Fix Version/s: 1.16.0 Fixed in

[jira] [Commented] (CALCITE-2015) Planner generates incompatible plan

2018-02-22 Thread zhen wang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16372857#comment-16372857 ] zhen wang commented on CALCITE-2015: interesting. with some "hint" planner knows not to strip the