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
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
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
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
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
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)
>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
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
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
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.
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.
11 matches
Mail list logo