Evgeny Stanilovsky created IGNITE-28557:
-------------------------------------------

             Summary: 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


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
(v8.20.10#820010)

Reply via email to