ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taras Ledkov (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-15037) Calcite engine. CURRENT_DATE/TIME/TIMESTAMP fails with NPE
Date Wed, 30 Jun 2021 12:49:00 GMT
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)

Mime
View raw message