testStreamGroupByHaving of InfiniteStreamTable

2017-02-26 Thread 陈江枫
Hi, Calcite experts I'm interested in streaming sql, in org.apache.calcite.test.StreamTest If I execute the query "select stream floor(rowtime to hour) as rowtime, product, count(*) as c from orders group by floor(rowtime to hour), product having count(*) > 1" upon InfiniteOrdersTable implement

[jira] [Created] (CALCITE-1659) Timestamps are loosing sub-second parts after Calcite literal constant reduction

2017-02-26 Thread Remus Rusanu (JIRA)
Remus Rusanu created CALCITE-1659: - Summary: Timestamps are loosing sub-second parts after Calcite literal constant reduction Key: CALCITE-1659 URL: https://issues.apache.org/jira/browse/CALCITE-1659

Unknown dialect should use standard quoting

2017-02-26 Thread Jess Balint
Hi, In SqlDialect, the UNKNOWN dialect uses backticks for quoting. This is a MySQL-ism. Any reason not to change it to the standard of double-quotes? Thx. Jess

Re: Unknown dialect should use standard quoting

2017-02-26 Thread Julian Hyde
Back-ticks are easier for test cases because double quotes don’t embed well in java strings. No one else should be using UNKNOWN. > On Feb 26, 2017, at 8:13 AM, Jess Balint wrote: > > Hi, > > In SqlDialect, the UNKNOWN dialect uses backticks for quoting. This is a > MySQL-ism. Any reason not

[jira] [Created] (CALCITE-1660) SqlNameMatcher does not match fields in a structure

2017-02-26 Thread Kevin Liew (JIRA)
Kevin Liew created CALCITE-1660: --- Summary: SqlNameMatcher does not match fields in a structure Key: CALCITE-1660 URL: https://issues.apache.org/jira/browse/CALCITE-1660 Project: Calcite Issue T

Avatica ODBC

2017-02-26 Thread Lei Wei
Hi, I’ll like to know when Avatica ODBC will be available. We are running Calcite poc and like to know the time planning of ODBC. I very appreciate it. Lei

Re: Avatica ODBC

2017-02-26 Thread Josh Elser
Presently, when you decide to build it :). I am not aware of anyone working on this in Apache. Simba Technologies has built such an ODBC driver, but it is not open source. Lei Wei wrote: Hi, I’ll like to know when Avatica ODBC will be available. We are running Calcite poc and like to know the