Evgeny Stanilovsky created IGNITE-16637:
-------------------------------------------
Summary: Sql. Extend possibility to create tables with advanced
data types.
Key: IGNITE-16637
URL: https://issues.apache.org/jira/browse/IGNITE-16637
Project: Ignite
Issue Type: Improvement
Components: sql
Reporter: Evgeny Stanilovsky
Add possibility to create tables with advanced data types i.e:
{noformat}
CREATE TABLE test(id int PRIMARY KEY, ym INTERVAL YEAR, dt INTERVAL DAYS)
{noformat}
Filed with:
{noformat}
java.lang.IllegalArgumentException: Type java.time.Period is not supported.
at
org.apache.ignite.internal.schema.configuration.SchemaConfigurationConverter.columnType(SchemaConfigurationConverter.java:579)
at
org.apache.ignite.internal.sql.engine.type.IgniteTypeFactory.columnType(IgniteTypeFactory.java:190)
at
org.apache.ignite.internal.sql.engine.exec.ddl.DdlCommandHandler.handleCreateTable(DdlCommandHandler.java:121)
at
org.apache.ignite.internal.sql.engine.exec.ddl.DdlCommandHandler.handle(DdlCommandHandler.java:78)
at
org.apache.ignite.internal.sql.engine.exec.ExecutionServiceImpl.executeDdl(ExecutionServiceImpl.java:308)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)