[jira] [Commented] (CALCITE-1793) Allow RelBuilder to make calls to EXTRACT

2017-05-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16013520#comment-16013520 ] Julian Hyde commented on CALCITE-1793: -- [~chris-baynes], Let's continue discussion

[jira] [Commented] (CALCITE-1792) RelToSqlConverter doesn't handle cartesian join (join cond as TRUE)

2017-05-16 Thread Jess Balint (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16013207#comment-16013207 ] Jess Balint commented on CALCITE-1792: -- Looks good. Was a small oversight in the or

[jira] [Assigned] (CALCITE-1792) RelToSqlConverter doesn't handle cartesian join (join cond as TRUE)

2017-05-16 Thread Jess Balint (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jess Balint reassigned CALCITE-1792: Assignee: Jess Balint (was: Julian Hyde) > RelToSqlConverter doesn't handle cartesian jo

[jira] [Comment Edited] (CALCITE-1787) thetaSketch Support for Druid Adapter

2017-05-16 Thread Zain Humayun (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012728#comment-16012728 ] Zain Humayun edited comment on CALCITE-1787 at 5/16/17 6:28 PM: --

[jira] [Comment Edited] (CALCITE-1787) thetaSketch Support for Druid Adapter

2017-05-16 Thread Zain Humayun (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012728#comment-16012728 ] Zain Humayun edited comment on CALCITE-1787 at 5/16/17 6:28 PM: --

[jira] [Commented] (CALCITE-1794) Simplify AND numeric comparisons when overlapping

2017-05-16 Thread Remus Rusanu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012792#comment-16012792 ] Remus Rusanu commented on CALCITE-1794: --- The {{processRange}} was not called becau

[jira] [Comment Edited] (CALCITE-1794) Simplify AND numeric comparisons when overlapping

2017-05-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012729#comment-16012729 ] Jesus Camacho Rodriguez edited comment on CALCITE-1794 at 5/16/17 5:04 PM: ---

[jira] [Commented] (CALCITE-1794) Simplify AND numeric comparisons when overlapping

2017-05-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012729#comment-16012729 ] Jesus Camacho Rodriguez commented on CALCITE-1794: -- [~rusanu], _process

[jira] [Commented] (CALCITE-1787) thetaSketch Support for Druid Adapter

2017-05-16 Thread Zain Humayun (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012728#comment-16012728 ] Zain Humayun commented on CALCITE-1787: --- Apologies if I didn't fully understand yo

[jira] [Commented] (CALCITE-1794) Simplify AND numeric comparisons when overlapping

2017-05-16 Thread Remus Rusanu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012622#comment-16012622 ] Remus Rusanu commented on CALCITE-1794: --- Can you recommend an example in the code

[jira] [Commented] (CALCITE-1794) Simplify AND numeric comparisons when overlapping

2017-05-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012593#comment-16012593 ] Julian Hyde commented on CALCITE-1794: -- I suggest doing this in terms of predicates

[jira] [Commented] (CALCITE-1790) Simplify CASE P1 THEN P@ THEN ... ELSE TRUE/FALSE

2017-05-16 Thread Remus Rusanu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012574#comment-16012574 ] Remus Rusanu commented on CALCITE-1790: --- I created CALCITE-1794 > Simplify CASE P

[jira] [Created] (CALCITE-1794) Simplify AND numeric comparisons when overlapping

2017-05-16 Thread Remus Rusanu (JIRA)
Remus Rusanu created CALCITE-1794: - Summary: Simplify AND numeric comparisons when overlapping Key: CALCITE-1794 URL: https://issues.apache.org/jira/browse/CALCITE-1794 Project: Calcite Issue

[jira] [Commented] (CALCITE-1790) Simplify CASE P1 THEN P@ THEN ... ELSE TRUE/FALSE

2017-05-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012521#comment-16012521 ] Julian Hyde commented on CALCITE-1790: -- Yes, this would be useful. Two points: * Yo

[jira] [Commented] (CALCITE-1790) Simplify CASE P1 THEN P@ THEN ... ELSE TRUE/FALSE

2017-05-16 Thread Remus Rusanu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012498#comment-16012498 ] Remus Rusanu commented on CALCITE-1790: --- I added tests too, and looking at the beh

[jira] [Commented] (CALCITE-1790) Simplify CASE P1 THEN P@ THEN ... ELSE TRUE/FALSE

2017-05-16 Thread Remus Rusanu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012490#comment-16012490 ] Remus Rusanu commented on CALCITE-1790: --- https://github.com/apache/calcite/pull/45

[jira] [Commented] (CALCITE-1792) RelToSqlConverter doesn't handle cartesian join (join cond as TRUE)

2017-05-16 Thread Sergiy Simonov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012355#comment-16012355 ] Sergiy Simonov commented on CALCITE-1792: - Raised PR with the fix: https://githu

[jira] [Updated] (CALCITE-1793) Allow RelBuilder to make calls to EXTRACT

2017-05-16 Thread Chris Baynes (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Baynes updated CALCITE-1793: -- Description: EXTRACT_DATE was originally intended to be an internal function, always created

[jira] [Updated] (CALCITE-1793) Allow RelBuilder to make calls to EXTRACT

2017-05-16 Thread Chris Baynes (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Baynes updated CALCITE-1793: -- Description: EXTRACT_DATE was originally intended to be an internal function, always created

[jira] [Created] (CALCITE-1793) Allow RelBuilder to make calls to EXTRACT

2017-05-16 Thread Chris Baynes (JIRA)
Chris Baynes created CALCITE-1793: - Summary: Allow RelBuilder to make calls to EXTRACT Key: CALCITE-1793 URL: https://issues.apache.org/jira/browse/CALCITE-1793 Project: Calcite Issue Type: B

[jira] [Updated] (CALCITE-1792) RelToSqlConverter doesn't handle cartesian join (join cond as TRUE)

2017-05-16 Thread Sergiy Simonov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergiy Simonov updated CALCITE-1792: Description: this test fails (added in {{RelToSqlConverterTest}}): {code} @Test public

[jira] [Created] (CALCITE-1792) RelToSqlConverter doesn't handle cartesian join (join cond as TRUE)

2017-05-16 Thread Sergiy Simonov (JIRA)
Sergiy Simonov created CALCITE-1792: --- Summary: RelToSqlConverter doesn't handle cartesian join (join cond as TRUE) Key: CALCITE-1792 URL: https://issues.apache.org/jira/browse/CALCITE-1792 Project:

[jira] [Resolved] (CALCITE-1791) Support view partial rewriting in join materialized view rewriting

2017-05-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez resolved CALCITE-1791. -- Resolution: Fixed > Support view partial rewriting in join materialize

[jira] [Commented] (CALCITE-1791) Support view partial rewriting in join materialized view rewriting

2017-05-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012121#comment-16012121 ] Jesus Camacho Rodriguez commented on CALCITE-1791: -- Fixed in http://git

[jira] [Created] (CALCITE-1791) Support view partial rewriting in join materialized view rewriting

2017-05-16 Thread Jesus Camacho Rodriguez (JIRA)
Jesus Camacho Rodriguez created CALCITE-1791: Summary: Support view partial rewriting in join materialized view rewriting Key: CALCITE-1791 URL: https://issues.apache.org/jira/browse/CALCITE-1791