You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stepan Pilschikov (JIRA)" <ji...@apache.org> on 2018/07/26 13:42:00 UTC
[jira] [Updated] (IGNITE-9092) SQL: Support CREATE TABLE .. AS
(SELECT * from ...) syntax
[ https://issues.apache.org/jira/browse/IGNITE-9092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stepan Pilschikov updated IGNITE-9092:
--------------------------------------
Summary: SQL: Support CREATE TABLE .. AS (SELECT * from ...) syntax (was: SQL: Support CREATE TABLE .. AS (SELECT...) syntax)
> SQL: Support CREATE TABLE .. AS (SELECT * from ...) syntax
> ----------------------------------------------------------
>
> Key: IGNITE-9092
> URL: https://issues.apache.org/jira/browse/IGNITE-9092
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 2.5, 2.6
> Reporter: Stepan Pilschikov
> Priority: Major
> Labels: ANSI99, sql-engine
>
> Currently syntax is not supported
> {code:java}
> create table test as (select * from created_table);
> Error: CREATE TABLE ... AS ... syntax is not supported (state=0A000,code=0)
> java.sql.SQLException: CREATE TABLE ... AS ... syntax is not supported
> at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:762)
> at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:212)
> at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:475)
> at sqlline.Commands.execute(Commands.java:823)
> at sqlline.Commands.sql(Commands.java:733)
> at sqlline.SqlLine.dispatch(SqlLine.java:795)
> at sqlline.SqlLine.begin(SqlLine.java:668)
> at sqlline.SqlLine.start(SqlLine.java:373)
> at sqlline.SqlLine.main(SqlLine.java:265){code}
> But in H2 this statement allowed to do
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)