You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2023/04/28 06:54:00 UTC
[jira] [Updated] (IGNITE-15623) Calcite. Reject erroneous datetime literals.
[ https://issues.apache.org/jira/browse/IGNITE-15623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Evgeny Stanilovsky updated IGNITE-15623:
----------------------------------------
Summary: Calcite. Reject erroneous datetime literals. (was: Calcite. Support TIMESTAMP type.)
> Calcite. Reject erroneous datetime literals.
> --------------------------------------------
>
> Key: IGNITE-15623
> URL: https://issues.apache.org/jira/browse/IGNITE-15623
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Evgeny Stanilovsky
> Assignee: Evgeny Stanilovsky
> Priority: Major
> Labels: calcite, calcite2-required, calcite3-required, ignite-3
>
> {noformat}
> statement ok
> CREATE TABLE timestamp(t TIMESTAMP)
> {noformat}
> {noformat}
> /sql/types/timestamp/test_incorrect_timestamp.test
> {noformat}
> {noformat}
> Statement: Statement [queries=ArrayList [CREATE TABLE timestamp(t TIMESTAMP)], expected=OK]
> at org.apache.ignite.internal.processors.query.calcite.logical.SqlScriptRunner$Statement.execute(SqlScriptRunner.java:404)
> at org.apache.ignite.internal.processors.query.calcite.logical.SqlScriptRunner.run(SqlScriptRunner.java:115)
> at org.apache.ignite.internal.processors.query.calcite.logical.ScriptTestRunner$1.run(ScriptTestRunner.java:219)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to parse query.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)