[jira] [Created] (CALCITE-2679) Group by without aggregation function cannot be translated to correct JSON、

2018-11-16 Thread Siyuan Liu (JIRA)
Siyuan Liu created CALCITE-2679: --- Summary: Group by without aggregation function cannot be translated to correct JSON、 Key: CALCITE-2679 URL: https://issues.apache.org/jira/browse/CALCITE-2679 Project:

Re: Syntax of TIMESTAMP [WITHOUT TIME ZONE], TIMESTAMP WITH LOCAL TIME ZONE and TIMESTAMP WITH TIME ZONE in Calcite 1.17

2018-11-16 Thread Rui Wang
Thanks Julian. Seems like Oracle's syntax supports: TIMESTAMP '1997-01-31 09:26:56.66 +02:00' TIMESTAMP '1999-01-15 8:00:00 US/Pacific' TIMESTAMP '1997-01-31 09:26:50.12' However, all these syntax failed with parser exception: not in format '-MM-dd HH:mm:ss' Also, based on Oracle

Re: Syntax of TIMESTAMP [WITHOUT TIME ZONE], TIMESTAMP WITH LOCAL TIME ZONE and TIMESTAMP WITH TIME ZONE in Calcite 1.17

2018-11-16 Thread Julian Hyde
We aim to be consistent with Oracle[1]. Did you try Oracle's syntax? Based on what you say, I guess our doc[2] is out of date. Julian [1] https://docs.oracle.com/cd/B19306_01/server.102/b14225/ch4datetime.htm [2] https://calcite.apache.org/docs/reference.html#scalar-types On Fri, Nov 16, 2018

Syntax of TIMESTAMP [WITHOUT TIME ZONE], TIMESTAMP WITH LOCAL TIME ZONE and TIMESTAMP WITH TIME ZONE in Calcite 1.17

2018-11-16 Thread Rui Wang
Hi Calcite community: I am using Calcite 1.17.0 and testing the syntax of constructing TIMESTAMP [WITHOUT TIME ZONE], TIMESTAMP WITH LOCAL TIME ZONE and TIMESTAMP WITH TIME ZONE in SELECTION. For example, I am doing tests like "SELECT TIMESTAMP '2017-12-31 23:59:59'". I can construct TIMESTAMP

[jira] [Created] (CALCITE-2678) RelBuilderTest#testRelBuilderToString fails on Windows

2018-11-16 Thread Stamatis Zampetakis (JIRA)
Stamatis Zampetakis created CALCITE-2678: Summary: RelBuilderTest#testRelBuilderToString fails on Windows Key: CALCITE-2678 URL: https://issues.apache.org/jira/browse/CALCITE-2678 Project:

Re: Unable to build Avatica release: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare

2018-11-16 Thread Michael Mior
Looks like this is an issue with maven-scm-provider 1.11.1. https://www.mail-archive.com/issues@maven.apache.org/msg137630.html A temporary solution seems to be to downgrade to 1.10.0. -- Michael Mior mm...@apache.org Le ven. 16 nov. 2018 à 03:31, Francis Chuang a écrit : > Hi all, > > I am

[jira] [Created] (CALCITE-2677) Struct types with one field are not mapped correctly to Java Classes

2018-11-16 Thread Stamatis Zampetakis (JIRA)
Stamatis Zampetakis created CALCITE-2677: Summary: Struct types with one field are not mapped correctly to Java Classes Key: CALCITE-2677 URL: https://issues.apache.org/jira/browse/CALCITE-2677

Help needed with a bug

2018-11-16 Thread ptr.bo...@gmail.com
Hello Calcite team, Anyone willing to help with a patch for https://issues.apache.org/jira/browse/CALCITE-2667 ? I need some hint to go through SqlToRelConverter to patch the bug. It seems that for some cases following query does not work: SELECT * FROM TABLE(FUNCTIONTABLE(...)) FT JOIN

Unable to build Avatica release: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare

2018-11-16 Thread Francis Chuang
Hi all, I am trying to build an Avatica release. I am building from the latest master (a8617e0354c50b006a6e098371179be99b6270eb). The command used is: mvn -Dmaven.artifact.threads=20 -DreleaseVersion=1.13.0 -DdevelopmentVersion=1.14.0 -Dtag="avatica-1.13.0-rc0" -Papache-release