Aleksey Plekhanov created IGNITE-27738:
------------------------------------------

             Summary: Calcite engine. Query hangs on VALUES with many rows 
containing dynamic parameters
                 Key: IGNITE-27738
                 URL: https://issues.apache.org/jira/browse/IGNITE-27738
             Project: Ignite
          Issue Type: Bug
            Reporter: Aleksey Plekhanov
            Assignee: Aleksey Plekhanov


Reproducer:

{code:java}
    public void test() {
        sql("CREATE TABLE test (id int, val int)");
        int paramsCnt = 30;
        String sql = "INSERT INTO test VALUES " + String.join(", ", 
Collections.nCopies(paramsCnt, "(?, ?)"));
        Object[] params = new Object[paramsCnt * 2];
        sql(sql, params);
    }
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to