[jira] [Commented] (CALCITE-2638) Constant reducer must not duplicate calls to non-deterministic functions

2018-10-25 Thread Yuzhao Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664574#comment-16664574 ] Yuzhao Chen commented on CALCITE-2638: -- Hi, [~julianhyde] I have changed ReducibleExprLocator 

[jira] [Comment Edited] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664268#comment-16664268 ] Piotr Bojko edited comment on CALCITE-2641 at 10/25/18 8:59 PM: It

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664268#comment-16664268 ] Piotr Bojko commented on CALCITE-2641: -- It seems that TimeString, DateString and Timestring are

[jira] [Created] (CALCITE-2642) Checkstyle complains that maven-wrapper.properties is missing a header

2018-10-25 Thread Julian Hyde (JIRA)
Julian Hyde created CALCITE-2642: Summary: Checkstyle complains that maven-wrapper.properties is missing a header Key: CALCITE-2642 URL: https://issues.apache.org/jira/browse/CALCITE-2642 Project:

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664255#comment-16664255 ] Piotr Bojko commented on CALCITE-2641: -- Suggestion from [~vladimirsitnikov] about

[jira] [Commented] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664250#comment-16664250 ] Piotr Bojko commented on CALCITE-2641: -- Here is a [test

[jira] [Created] (CALCITE-2641) DATE and TIMESTAMP arguments to user-defined table function

2018-10-25 Thread Piotr Bojko (JIRA)
Piotr Bojko created CALCITE-2641: Summary: DATE and TIMESTAMP arguments to user-defined table function Key: CALCITE-2641 URL: https://issues.apache.org/jira/browse/CALCITE-2641 Project: Calcite

[jira] [Commented] (CALCITE-2622) RexFieldCollation toString method is not deterministic

2018-10-25 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664116#comment-16664116 ] Jesus Camacho Rodriguez commented on CALCITE-2622: -- Thanks [~julianhyde]! >

[jira] [Resolved] (CALCITE-2639) FilterReduceExpressionsRule causes ArithmeticException at execution time

2018-10-25 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez resolved CALCITE-2639. -- Resolution: Fixed Fix Version/s: 1.18.0 Fixed in

[jira] [Resolved] (CALCITE-2631) General improvements in case simplification

2018-10-25 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez resolved CALCITE-2631. -- Resolution: Fixed Fix Version/s: 1.18.0 Fixed in

[jira] [Resolved] (CALCITE-2628) JDBC adapter throws NullPointerException while generating GROUP BY query for MySQL

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

[jira] [Commented] (CALCITE-2438) RexCall#isAlwaysTrue return incorrect result

2018-10-25 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664094#comment-16664094 ] Julian Hyde commented on CALCITE-2438: -- See related commit

[jira] [Commented] (CALCITE-2622) RexFieldCollation toString method is not deterministic

2018-10-25 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664091#comment-16664091 ] Julian Hyde commented on CALCITE-2622: -- In

[jira] [Commented] (CALCITE-2638) Constant reducer must not duplicate calls to non-deterministic functions

2018-10-25 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664088#comment-16664088 ] Julian Hyde commented on CALCITE-2638: -- To make development easier, I have pushed my work as a

[jira] [Commented] (CALCITE-2638) Constant reducer must not duplicate calls to non-deterministic functions

2018-10-25 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664065#comment-16664065 ] Julian Hyde commented on CALCITE-2638: -- I agree that inline calls should be treated the same as

[jira] [Resolved] (CALCITE-2158) SubQuery with EXISTS clause creates redundant aggregate call

2018-10-25 Thread Volodymyr Vysotskyi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Volodymyr Vysotskyi resolved CALCITE-2158. -- Resolution: Won't Fix Fix Version/s: 1.18.0 > SubQuery with EXISTS

[jira] [Created] (CALCITE-2640) Support for SQL on Timeseries / Traces

2018-10-25 Thread Julian Feinauer (JIRA)
Julian Feinauer created CALCITE-2640: Summary: Support for SQL on Timeseries / Traces Key: CALCITE-2640 URL: https://issues.apache.org/jira/browse/CALCITE-2640 Project: Calcite Issue

[jira] [Commented] (CALCITE-2638) Constant reducer must not duplicate calls to non-deterministic functions

2018-10-25 Thread Yuzhao Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16663397#comment-16663397 ] Yuzhao Chen commented on CALCITE-2638: -- Hi, [~julianhyde], i have reviewed 

[jira] [Updated] (CALCITE-2638) Constant reducer must not duplicate calls to non-deterministic functions

2018-10-25 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-2638: - Summary: Constant reducer must not duplicate calls to non-deterministic functions (was:

[jira] [Commented] (CALCITE-2638) Should not do constant reduction when RexInputRef is a call to a non-deterministic function

2018-10-25 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16663342#comment-16663342 ] Julian Hyde commented on CALCITE-2638: -- I have reviewed your PR, and added some changes in

[jira] [Updated] (CALCITE-2634) Query with WITH and SOME parses but fails to convert to rel

2018-10-25 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-2634: - Summary: Query with WITH and SOME parses but fails to convert to rel (was: Query parses but

[jira] [Commented] (CALCITE-2634) Query parses but fails to convert to rel

2018-10-25 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16663288#comment-16663288 ] Julian Hyde commented on CALCITE-2634: -- It's possible that you're not invoking it correctly: *