[jira] [Commented] (CALCITE-2054) Parser error on trivial UPDATE with dynamic parameters

2017-11-15 Thread Enrico Olivelli (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254844#comment-16254844 ] Enrico Olivelli commented on CALCITE-2054: -- The error is even with ProjectableFilterableTable

[jira] [Commented] (CALCITE-2054) Parser error on trivial UPDATE with dynamic parameters

2017-11-15 Thread Enrico Olivelli (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254842#comment-16254842 ] Enrico Olivelli commented on CALCITE-2054: -- [~julianhyde] Do you have time to take at look at

[jira] [Commented] (CALCITE-2039) AssertionError when pushing project to ProjectableFilterableTable

2017-11-15 Thread Enrico Olivelli (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254841#comment-16254841 ] Enrico Olivelli commented on CALCITE-2039: -- Thank you so much. Will give it a try soon. >

[jira] [Resolved] (CALCITE-2039) AssertionError when pushing project to ProjectableFilterableTable

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-2039. -- Resolution: Fixed Fix Version/s: 1.15.0 Fixed in

[jira] [Commented] (CALCITE-2051) Rules using Aggregate might check for simple grouping sets incorrectly

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254595#comment-16254595 ] Julian Hyde commented on CALCITE-2051: -- I still don't see why Hive is generating wacky relational

[jira] [Commented] (CALCITE-2039) AssertionError when pushing project to ProjectableFilterableTable

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254574#comment-16254574 ] Julian Hyde commented on CALCITE-2039: -- Thanks for your test case, [~eolivelli]. Yours uses UPDATE,

[jira] [Updated] (CALCITE-2039) AssertionError when pushing project to ProjectableFilterableTable

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-2039: - Summary: AssertionError when pushing project to ProjectableFilterableTable (was:

[jira] [Commented] (CALCITE-2056) Limit/Offset in generated Sql does not work for many databases

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254548#comment-16254548 ] Julian Hyde commented on CALCITE-2056: -- I disagree. It's simplest to assume that a database is

[jira] [Updated] (CALCITE-2056) Limit/Offset in generated Sql does not work for many databases

2017-11-15 Thread Luis Fernando Kauer (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luis Fernando Kauer updated CALCITE-2056: - Description: SqlDialect.supportsOffsetFetch() defines whether the dialect

[jira] [Created] (CALCITE-2056) Limit/Offset in generated Sql does not work for many databases

2017-11-15 Thread Luis Fernando Kauer (JIRA)
Luis Fernando Kauer created CALCITE-2056: Summary: Limit/Offset in generated Sql does not work for many databases Key: CALCITE-2056 URL: https://issues.apache.org/jira/browse/CALCITE-2056

[jira] [Comment Edited] (CALCITE-2041) Adding the ability to turn off nullability matching for ReduceExpressionsRule

2017-11-15 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254394#comment-16254394 ] Jesus Camacho Rodriguez edited comment on CALCITE-2041 at 11/15/17 11:01 PM:

[jira] [Commented] (CALCITE-2041) Adding the ability to turn off nullability matching for ReduceExpressionsRule

2017-11-15 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254394#comment-16254394 ] Jesus Camacho Rodriguez commented on CALCITE-2041: -- bq. Potentially this could cause

[jira] [Commented] (CALCITE-2041) Adding the ability to turn off nullability matching for ReduceExpressionsRule

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254378#comment-16254378 ] Julian Hyde commented on CALCITE-2041: -- Nullability can only change in one direction, so let's be

[jira] [Commented] (CALCITE-707) Built-in support for simple DDL statements

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254334#comment-16254334 ] Julian Hyde commented on CALCITE-707: - Hope so. Just trying to get CREATE MATERIALIZED VIEW working.

[jira] [Commented] (CALCITE-2041) Adding the ability to turn off nullability matching for ReduceExpressionsRule

2017-11-15 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254358#comment-16254358 ] Jesus Camacho Rodriguez commented on CALCITE-2041: -- We have an expression {{a1}} that

[jira] [Commented] (CALCITE-2041) Adding the ability to turn off nullability matching for ReduceExpressionsRule

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254345#comment-16254345 ] Julian Hyde commented on CALCITE-2041: -- Maybe I'm stupid, but can someone explain "nullability

[jira] [Resolved] (CALCITE-2050) Exception when pushing postaggregates into Druid

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

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254217#comment-16254217 ] Julian Hyde commented on CALCITE-2045: -- Here's what's in the SQL standard (verbatim, but I've

[jira] [Commented] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16254150#comment-16254150 ] Julian Hyde commented on CALCITE-2053: -- Looks similar to CALCITE-1881. Fix may or may not be

[jira] [Updated] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-2053: - Fix Version/s: (was: 1.14.0) > Overloaded user-defined functions that have Double and

[jira] [Resolved] (CALCITE-2043) Use custom RelBuilder implementation in some rules

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-2043. -- Resolution: Fixed Fix Version/s: 1.15.0 Fixed in

[jira] [Resolved] (CALCITE-2044) Tweak cost of BindableTableScan to make sure Project is pushed through Aggregate

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-2044. -- Resolution: Fixed Fix Version/s: 1.15.0 Fixed in

[jira] [Commented] (CALCITE-2055) Add check for year/month/day range

2017-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253923#comment-16253923 ] Julian Hyde commented on CALCITE-2055: -- Reviewing

[jira] [Created] (CALCITE-2055) Add check for year/month/day range

2017-11-15 Thread Volodymyr Vysotskyi (JIRA)
Volodymyr Vysotskyi created CALCITE-2055: Summary: Add check for year/month/day range Key: CALCITE-2055 URL: https://issues.apache.org/jira/browse/CALCITE-2055 Project: Calcite Issue

[jira] [Updated] (CALCITE-2039) AssertionError at Mappings.create(Mappings.java:64) with "select 0 as c1,..." and TableProjectableFilterable

2017-11-15 Thread Enrico Olivelli (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enrico Olivelli updated CALCITE-2039: - Attachment: PlannerExampleTest.java attaching very simple reproducer > AssertionError

[jira] [Created] (CALCITE-2054) Parser error on trivial UPDATE with dynamic parameters

2017-11-15 Thread Enrico Olivelli (JIRA)
Enrico Olivelli created CALCITE-2054: Summary: Parser error on trivial UPDATE with dynamic parameters Key: CALCITE-2054 URL: https://issues.apache.org/jira/browse/CALCITE-2054 Project: Calcite

[jira] [Commented] (CALCITE-2039) AssertionError at Mappings.create(Mappings.java:64) with "select 0 as c1,..." and TableProjectableFilterable

2017-11-15 Thread Enrico Olivelli (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253405#comment-16253405 ] Enrico Olivelli commented on CALCITE-2039: -- this is the plan Query: UPDATE MYTABLE set id=7

[jira] [Updated] (CALCITE-2039) AssertionError at Mappings.create(Mappings.java:64) with "select 0 as c1,..." and TableProjectableFilterable

2017-11-15 Thread Enrico Olivelli (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enrico Olivelli updated CALCITE-2039: - Attachment: PlannerExampleTest.java run using latest master > AssertionError at

[jira] [Commented] (CALCITE-2039) AssertionError at Mappings.create(Mappings.java:64) with "select 0 as c1,..." and TableProjectableFilterable

2017-11-15 Thread Enrico Olivelli (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253400#comment-16253400 ] Enrico Olivelli commented on CALCITE-2039: -- I am getting the same error, I have a simpler

[jira] [Comment Edited] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:29 AM: - The problem is that

[jira] [Comment Edited] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:28 AM: - The problem is that

[jira] [Comment Edited] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:27 AM: - The problem is that

[jira] [Comment Edited] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:26 AM: - The problem is that

[jira] [Comment Edited] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:25 AM: - The problem is that

[jira] [Comment Edited] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:24 AM: - The problem is that

[jira] [Comment Edited] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:23 AM: - The problem is that

[jira] [Comment Edited] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:23 AM: - The problem is that

[jira] [Commented] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253170#comment-16253170 ] yuqi commented on CALCITE-2053: --- The problem is that in function {code:java}

[jira] [Commented] (CALCITE-2045) Support "CREATE TYPE" DDL

2017-11-15 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16253119#comment-16253119 ] Shuyi Chen commented on CALCITE-2045: - Hi [~julianhyde], I think we can start with the following

[jira] [Updated] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Description: We define a udf function class have two function as follows {code:java} public double

[jira] [Updated] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Description: We define a udf function class have two function as follows {code:java} public double

[jira] [Updated] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Description: We define a udf function class have two function as follows {code:java} public double

[jira] [Updated] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Description: We define a udf function class have two function as follows {code:java} public double

[jira] [Created] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
yuqi created CALCITE-2053: - Summary: Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong Key: CALCITE-2053 URL: https://issues.apache.org/jira/browse/CALCITE-2053