[ 
https://issues.apache.org/jira/browse/IGNITE-28557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Evgeny Stanilovsky updated IGNITE-28557:
----------------------------------------
    Labels: idea ignite-2 ise  (was: ignite-2 ise)

> Calcite. Add possibility to insertion into single pk table
> ----------------------------------------------------------
>
>                 Key: IGNITE-28557
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28557
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.17
>            Reporter: Evgeny Stanilovsky
>            Priority: Major
>              Labels: idea, ignite-2, ise
>
> Single pk with NO other columns table fails on implicit insertion:
> {noformat}
> // fail
>         sql("CREATE TABLE t(id INT PRIMARY KEY)");
>         sql("insert into t values(1)");
>         List<List<?>> res = sql("select * from t");
> // ok
>         sql("CREATE TABLE t(id INT PRIMARY KEY)");
>         sql("insert into t(id) values(1)");
>         List<List<?>> res = sql("select * from t");
> {noformat}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to