[jira] [Created] (CALCITE-1865) select count(1) from (select sum(1) .... without group by failed

2017-06-29 Thread zhou degao (JIRA)
zhou degao created CALCITE-1865: --- Summary: select count(1) from (select sum(1) without group by failed Key: CALCITE-1865 URL: https://issues.apache.org/jira/browse/CALCITE-1865 Project:

Re: Allow Adapter to Participate in the SQL Validation Phase

2017-06-29 Thread Zain Humayun
I've been looking into adding the ability for the adapter to register another plug-in for validation, and had a few questions.  1) I see that ModelHandler is responsible for instantiating the plugin classes, and it seems like they're attached to the CalciteConnection object. My question is,

[jira] [Created] (CALCITE-1864) Allow NULL as argument

2017-06-29 Thread Julian Hyde (JIRA)
Julian Hyde created CALCITE-1864: Summary: Allow NULL as argument Key: CALCITE-1864 URL: https://issues.apache.org/jira/browse/CALCITE-1864 Project: Calcite Issue Type: Bug

Re: Handling "HepRelVertex" and "RelSubset" as input

2017-06-29 Thread Julian Hyde
Consider ProjectFilterTransposeRule, a simple rule that matches a Project on top of a Filter. But how to get that Project and Filter? Run RelOptRulesTest.testPushProjectPastFilter in the debugger, and put a breakpoint in ProjectFilterTransposeRule.onMatch [1]. Look at the Project “origProj” in

Re: PR for Calcite 873

2017-06-29 Thread Atri Sharma
Sure, thanks, will do On Thu, Jun 29, 2017 at 10:50 PM, Julian Hyde wrote: > OK, I will review. > > Next time, please put these comments in the JIRA case, not as an email the > dev list. It reduces traffic on the dev list, and it makes the history clear > to whoever is

Re: PR for Calcite 873

2017-06-29 Thread Julian Hyde
OK, I will review. Next time, please put these comments in the JIRA case, not as an email the dev list. It reduces traffic on the dev list, and it makes the history clear to whoever is reading the JIRA. Anyone who is interested in that case will already have subscribed to it as a “watcher”. >

[jira] [Created] (CALCITE-1863) Timestamp is different from itself in WHERE

2017-06-29 Thread Damjan Jovanovic (JIRA)
Damjan Jovanovic created CALCITE-1863: - Summary: Timestamp is different from itself in WHERE Key: CALCITE-1863 URL: https://issues.apache.org/jira/browse/CALCITE-1863 Project: Calcite