You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Konstantin Orlov (Jira)" <ji...@apache.org> on 2021/09/01 19:37:00 UTC
[jira] [Updated] (IGNITE-15037) Calcite engine.
CURRENT_DATE/TIME/TIMESTAMP fails with NPE
[ https://issues.apache.org/jira/browse/IGNITE-15037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Orlov updated IGNITE-15037:
--------------------------------------
Labels: (was: calcite3-required)
> Calcite engine. CURRENT_DATE/TIME/TIMESTAMP fails with NPE
> ----------------------------------------------------------
>
> Key: IGNITE-15037
> URL: https://issues.apache.org/jira/browse/IGNITE-15037
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Taras Ledkov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The call of the functions
> - CURRENT_TIME
> - CURRENT_DATE
> - CURRENT_TIMESTAMP
> fail with NPE:
> {code}
> Caused by: java.lang.NullPointerException
> at org.apache.calcite.runtime.SqlFunctions.currentTimestamp(SqlFunctions.java:2480)
> at SC.execute(Unknown Source)
> at org.apache.ignite.internal.processors.query.calcite.exec.exp.ExpressionFactoryImpl$ProjectImpl.apply(ExpressionFactoryImpl.java:387)
> at org.apache.ignite.internal.processors.query.calcite.exec.rel.ProjectNode.push(ProjectNode.java:63)
> at org.apache.ignite.internal.processors.query.calcite.exec.rel.ScanNode.push(ScanNode.java:107)
> at org.apache.ignite.internal.processors.query.calcite.exec.ExecutionContext.lambda$execute$0(ExecutionContext.java:239)
> ... 4 more
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)