[jira] [Created] (CALCITE-2136) SubQueryRemoveRule.Project generated error plan

2018-01-16 Thread HULING (JIRA)
HULING created CALCITE-2136: --- Summary: SubQueryRemoveRule.Project generated error plan Key: CALCITE-2136 URL: https://issues.apache.org/jira/browse/CALCITE-2136 Project: Calcite Issue Type: Bug

[jira] [Commented] (CALCITE-2135) Calcite wrongly validates invalid query when using aggregate function inside over clause

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326910#comment-16326910 ] Julian Hyde commented on CALCITE-2135: -- I agree, the query is not valid, so the val

[jira] [Commented] (CALCITE-2134) AggregateJoinTransposeRule fails in optimize phase based on CBO because of the bug in RelMdColumnUniqueness

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326928#comment-16326928 ] Julian Hyde commented on CALCITE-2134: -- We arrived at that "if" statement by trial

[jira] [Commented] (CALCITE-2088) More complex end2end tests in Calcite Plus module

2018-01-16 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327167#comment-16327167 ] Piotr Bojko commented on CALCITE-2088: -- Switching from homemade to QuidemTest is do

[jira] [Commented] (CALCITE-2088) More complex end2end tests in Calcite Plus module

2018-01-16 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327242#comment-16327242 ] Piotr Bojko commented on CALCITE-2088: -- Chinook from external dependency is now use

[jira] [Comment Edited] (CALCITE-2088) More complex end2end tests in Calcite Plus module

2018-01-16 Thread Piotr Bojko (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327242#comment-16327242 ] Piotr Bojko edited comment on CALCITE-2088 at 1/16/18 3:55 PM: ---

[jira] [Commented] (CALCITE-2088) More complex end2end tests in Calcite Plus module

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327504#comment-16327504 ] Julian Hyde commented on CALCITE-2088: -- Thanks for finishing this up, [~ptrbojko].

[jira] [Commented] (CALCITE-2135) Calcite wrongly validates invalid query when using aggregate function inside over clause

2018-01-16 Thread Volodymyr Tkach (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327512#comment-16327512 ] Volodymyr Tkach commented on CALCITE-2135: -- Checked,  it has succeeded. The str

[jira] [Commented] (CALCITE-2088) More complex end2end tests in Calcite Plus module

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327559#comment-16327559 ] Julian Hyde commented on CALCITE-2088: -- I have [send an email to Luis Rocha|https:

[jira] [Commented] (CALCITE-2135) Calcite wrongly validates invalid query when using aggregate function inside over clause

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327561#comment-16327561 ] Julian Hyde commented on CALCITE-2135: -- {quote}So, I'm guessing AggChecker's logic

[jira] [Updated] (CALCITE-2133) Allow SqlGroupedWindowFunction to specify returnTypeInference in its constructor

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-2133: - Description: This is follow-up of CALCITE-1867; we need to add a new constructor to allow Flink

[jira] [Commented] (CALCITE-2133) Allow SqlGroupedWindowFunction to specify returnTypeInference in its constructor

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327677#comment-16327677 ] Julian Hyde commented on CALCITE-2133: -- Let's not just "drill another hole". Can y

[jira] [Commented] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327695#comment-16327695 ] Julian Hyde commented on CALCITE-2107: -- I know what granularity is, but the next ma

[jira] [Commented] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327735#comment-16327735 ] Jesus Camacho Rodriguez commented on CALCITE-2107: -- This information is

[jira] [Commented] (CALCITE-1188) NullPointerException in EXTRACT with WHERE ... IN clause if field has null value

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327741#comment-16327741 ] Julian Hyde commented on CALCITE-1188: -- Your test works for me too. I suspect that

[jira] [Commented] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327764#comment-16327764 ] Julian Hyde commented on CALCITE-2107: -- I contend that the time zone is part of the

[jira] [Commented] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327781#comment-16327781 ] Jesus Camacho Rodriguez commented on CALCITE-2107: -- OK, I got your poin

[jira] [Comment Edited] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327781#comment-16327781 ] Jesus Camacho Rodriguez edited comment on CALCITE-2107 at 1/16/18 8:52 PM: ---

[jira] [Comment Edited] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327781#comment-16327781 ] Jesus Camacho Rodriguez edited comment on CALCITE-2107 at 1/16/18 8:54 PM: ---

[jira] [Commented] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327798#comment-16327798 ] Julian Hyde commented on CALCITE-2107: -- Another option (not necessarily my favorite

[jira] [Commented] (CALCITE-2128) Add jethro sql dialect and jdbc support

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327801#comment-16327801 ] Julian Hyde commented on CALCITE-2128: -- I see you've added a couple of commits. Sha

[jira] [Commented] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327804#comment-16327804 ] Jesus Camacho Rodriguez commented on CALCITE-2107: -- That can be quite d

[jira] [Commented] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327812#comment-16327812 ] Julian Hyde commented on CALCITE-2107: -- I'm not sure about that. The time zone does

[jira] [Commented] (CALCITE-1188) NullPointerException in EXTRACT with WHERE ... IN clause if field has null value

2018-01-16 Thread Alessandro Solimando (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327842#comment-16327842 ] Alessandro Solimando commented on CALCITE-1188: --- Hi Julian, this is the PR

[jira] [Comment Edited] (CALCITE-1188) NullPointerException in EXTRACT with WHERE ... IN clause if field has null value

2018-01-16 Thread Alessandro Solimando (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327842#comment-16327842 ] Alessandro Solimando edited comment on CALCITE-1188 at 1/16/18 9:26 PM: --

[jira] [Comment Edited] (CALCITE-1188) NullPointerException in EXTRACT with WHERE ... IN clause if field has null value

2018-01-16 Thread Alessandro Solimando (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327842#comment-16327842 ] Alessandro Solimando edited comment on CALCITE-1188 at 1/16/18 10:18 PM: -

[jira] [Comment Edited] (CALCITE-1188) NullPointerException in EXTRACT with WHERE ... IN clause if field has null value

2018-01-16 Thread Alessandro Solimando (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327842#comment-16327842 ] Alessandro Solimando edited comment on CALCITE-1188 at 1/16/18 10:18 PM: -

[jira] [Commented] (CALCITE-1188) NullPointerException in EXTRACT with WHERE ... IN clause if field has null value

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327937#comment-16327937 ] Julian Hyde commented on CALCITE-1188: -- That pull request is currently empty - it h

[jira] [Commented] (CALCITE-1188) NullPointerException in EXTRACT with WHERE ... IN clause if field has null value

2018-01-16 Thread Alessandro Solimando (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327949#comment-16327949 ] Alessandro Solimando commented on CALCITE-1188: --- In the meantime I have is

[jira] [Commented] (CALCITE-2107) Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid

2018-01-16 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328008#comment-16328008 ] Julian Hyde commented on CALCITE-2107: -- Re-reading code, I now see that Granularity

[jira] [Commented] (CALCITE-2133) Allow SqlGroupedWindowFunction to specify returnTypeInference in its constructor

2018-01-16 Thread Shuyi Chen (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328182#comment-16328182 ] Shuyi Chen commented on CALCITE-2133: - Thanks a lot for the review, [~julianhyde]. C

[jira] [Created] (CALCITE-2137) Materialized view rewriting not being triggered for some join queries

2018-01-16 Thread Jesus Camacho Rodriguez (JIRA)
Jesus Camacho Rodriguez created CALCITE-2137: Summary: Materialized view rewriting not being triggered for some join queries Key: CALCITE-2137 URL: https://issues.apache.org/jira/browse/CALCITE-2137

[jira] [Resolved] (CALCITE-2137) Materialized view rewriting not being triggered for some join queries

2018-01-16 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez resolved CALCITE-2137. -- Resolution: Fixed Fixed in http://git-wip-us.apache.org/repos/asf/calc