You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Taras Ledkov (Jira)" <ji...@apache.org> on 2021/06/30 12:49:00 UTC

[jira] [Created] (IGNITE-15037) Calcite engine. CURRENT_DATE/TIME/TIMESTAMP fails with NPE

Taras Ledkov created IGNITE-15037:
-------------------------------------

             Summary: 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


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)