[jira] [Commented] (CALCITE-2116) The digests are not same for the common sub-expressions in HepPlanner

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317914#comment-16317914 ] Julian Hyde commented on CALCITE-2116: -- Oh, I see now. You had to change Interpreter because now

[jira] [Commented] (CALCITE-2123) Bug in the Druid Filter Translation when Comparing String Ref to a Constant Number

2018-01-08 Thread slim bouguerra (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317689#comment-16317689 ] slim bouguerra commented on CALCITE-2123: - okay Thanks, will explore that. > Bug in the Druid

[jira] [Commented] (CALCITE-2116) The digests are not same for the common sub-expressions in HepPlanner

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

[jira] [Commented] (CALCITE-2125) error plan result that using AggregateExpandDistinctAggregatesRule.INSTANCE and AggregateProjectMergeRule.INSTANCE

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317653#comment-16317653 ] Julian Hyde commented on CALCITE-2125: -- I see. Thanks for clarifying. > error plan result that

[jira] [Commented] (CALCITE-2032) Error when implicitly converting character literal to date literal

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317549#comment-16317549 ] Julian Hyde commented on CALCITE-2032: -- CALCITE-613 dealt with {{numeric = string}}, whereas this

[jira] [Commented] (CALCITE-2032) Error when implicitly converting character literal to date literal

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317545#comment-16317545 ] Julian Hyde commented on CALCITE-2032: -- I believe you're referring to

[jira] [Commented] (CALCITE-2125) error plan result that using AggregateExpandDistinctAggregatesRule.INSTANCE and AggregateProjectMergeRule.INSTANCE

2018-01-08 Thread godfrey he (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317544#comment-16317544 ] godfrey he commented on CALCITE-2125: - actually, I should use grouping aggregate function to get

[jira] [Commented] (CALCITE-2123) Bug in the Druid Filter Translation when Comparing String Ref to a Constant Number

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317535#comment-16317535 ] Julian Hyde commented on CALCITE-2123: -- I confess I'm confused by {{coerce}} too. However, from

[jira] [Closed] (CALCITE-2125) error plan result that using AggregateExpandDistinctAggregatesRule.INSTANCE and AggregateProjectMergeRule.INSTANCE

2018-01-08 Thread godfrey he (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] godfrey he closed CALCITE-2125. --- Resolution: Not A Bug > error plan result that using AggregateExpandDistinctAggregatesRule.INSTANCE

[jira] [Resolved] (CALCITE-2122) In DateRangeRules, make either TIMESTAMP or DATE literal, according to target type

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

[jira] [Updated] (CALCITE-2122) In DateRangeRules, make either TIMESTAMP or DATE literal, according to target type

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-2122: - Summary: In DateRangeRules, make either TIMESTAMP or DATE literal, according to target type

[jira] [Commented] (CALCITE-2123) Bug in the Druid Filter Translation when Comparing String Ref to a Constant Number

2018-01-08 Thread slim bouguerra (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317270#comment-16317270 ] slim bouguerra commented on CALCITE-2123: - [~julianhyde], thanks for the pointer. Looking at the

[jira] [Commented] (CALCITE-2122) Continuum of DateRangeRules issues.

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317071#comment-16317071 ] Julian Hyde commented on CALCITE-2122: -- I have reviewed, looks good, made a few cosmetic changes

[jira] [Commented] (CALCITE-2123) Bug in the Druid Filter Translation when Comparing String Ref to a Constant Number

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16316914#comment-16316914 ] Julian Hyde commented on CALCITE-2123: -- Probably SqlToRelConverter.Blackboard.convertExpression.

[jira] [Commented] (CALCITE-2123) Bug in the Druid Filter Translation when Comparing String Ref to a Constant Number

2018-01-08 Thread slim bouguerra (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16316898#comment-16316898 ] slim bouguerra commented on CALCITE-2123: - [~julianhyde] Thanks, can you point me out to where

[jira] [Commented] (CALCITE-2123) Bug in the Druid Filter Translation when Comparing String Ref to a Constant Number

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16316878#comment-16316878 ] Julian Hyde commented on CALCITE-2123: -- OK, we are agreed. Let's tighten the type-checking rules

[jira] [Commented] (CALCITE-2123) Bug in the Druid Filter Translation when Comparing String Ref to a Constant Number

2018-01-08 Thread slim bouguerra (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16316870#comment-16316870 ] slim bouguerra commented on CALCITE-2123: - Currently calcite does not add the extra CAST

[jira] [Commented] (CALCITE-2123) Bug in the Druid Filter Translation when Comparing String Ref to a Constant Number

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16316857#comment-16316857 ] Julian Hyde commented on CALCITE-2123: -- The thing this has in common with CALCITE-2122 is implicit

[jira] [Commented] (CALCITE-2124) aggCall type mismatch error in AggregateExpandDistinctAggregatesRule

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16316842#comment-16316842 ] Julian Hyde commented on CALCITE-2124: -- Probably due to AggregateExpandDistinctAggregatesRule

[jira] [Commented] (CALCITE-2125) error plan result that using AggregateExpandDistinctAggregatesRule.INSTANCE and AggregateProjectMergeRule.INSTANCE

2018-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16316814#comment-16316814 ] Julian Hyde commented on CALCITE-2125: -- It does indeed look like a bug. It seems that that the bug

[jira] [Commented] (CALCITE-2009) Possible bug in interpreting ( IN ) OR ( IN ) logic

2018-01-08 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16316151#comment-16316151 ] Piotr Bojko commented on CALCITE-2009: -- Will try in CALCITE-2088 > Possible bug in interpreting (