[jira] [Created] (CALCITE-2658) Introducing more ReduceExpressionRules

2018-11-06 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2658: Summary: Introducing more ReduceExpressionRules Key: CALCITE-2658 URL: https://issues.apache.org/jira/browse/CALCITE-2658 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-2657) use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability

2018-11-06 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2657: Summary: use RexCall#clone instead of constructor to make a new RexCall in RexShuttle for more scalability Key: CALCITE-2657 URL: https://issues.apache.org/jira/browse/CALCITE-265

[jira] [Created] (CALCITE-2656) Timestamp Micro and Nano Strings literals are getting rounded to milliseconds

2018-11-06 Thread Wamsi Viswanath (JIRA)
Wamsi Viswanath created CALCITE-2656: Summary: Timestamp Micro and Nano Strings literals are getting rounded to milliseconds Key: CALCITE-2656 URL: https://issues.apache.org/jira/browse/CALCITE-2656

[jira] [Created] (CALCITE-2655) Enable Travis to test against JDK 12

2018-11-06 Thread Kevin Risden (JIRA)
Kevin Risden created CALCITE-2655: - Summary: Enable Travis to test against JDK 12 Key: CALCITE-2655 URL: https://issues.apache.org/jira/browse/CALCITE-2655 Project: Calcite Issue Type: Improv

Re: Pull requests to review

2018-11-06 Thread Vladimir Sitnikov
I don't mean to fire a Volcano rule. I mean to just reuse the code in a creative way for the purpose of SqlUserDefinedTableMacro.coerce Currently, SqlUserDefinedTableMacro.coerce knows certain hard-coded cases, however it would probably be better if the conversion could be just reused from already

Re: Pull requests to review

2018-11-06 Thread ptr.bo...@gmail.com
Vladimir, could you elaborate more on this? Should such mentioned rule convert the RexLiterals with TimestampString value to Long with the time zone from data context? Are you sure that such rule wouldbe triggered before the logic SqlUserDefinedTableMacro.coerce(SqlUserDefinedTableMacro.java:190)

Re: Pull requests to review

2018-11-06 Thread Vladimir Sitnikov
>There is no explicit time zone here provided, only the implicit one based on There's connection-default time zone (see org.apache.calcite.DataContext.Variable#TIME_ZONE ) I think the way to go there is: 1) Convert SqlNod to Rex via SqlToRelConverter 2) Evaluate the Rex with something like Reduce

Re: [DISCUSS] Towards Calcite 1.18

2018-11-06 Thread Michael Mior
Not strictly necessary I believe, but I know there's a desire to upgrade Jetty in Calcite that can't happen until the Avatica release, so it would be nice to see that happen first. Le lun. 5 nov. 2018 à 16:31, Francis Chuang a écrit : > I think we should consider releasing new versions of Calc

Re: Pull requests to review

2018-11-06 Thread ptr.bo...@gmail.com
Correct me if I am wrong. For test UDFTest.testDate line ~823 conversion from TimestampString (TIMESTAMP '1970-01-01 00:00:00') is done via a call to RexLiteral.getValueAs(Long.class). There is no explicit time zone here provided, only the implicit one based on TimestampString.getMillisSinceEpoch

Calcite-Master - Build # 954 - Still Failing

2018-11-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #954) Status: Still Failing Check console output at https://builds.apache.org/job/Calcite-Master/954/ to view the results.

Calcite-Master - Build # 953 - Failure

2018-11-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #953) Status: Failure Check console output at https://builds.apache.org/job/Calcite-Master/953/ to view the results.