Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15576

Calcite. Prepared statements support.

    XMLWordPrintableJSON

Details

    Description

      Support PREPARED [1] statements. There are some differs in syntax, i found :
      1. PREPARE v1 AS SELECT * FROM test2 LIMIT 3
      vs
      2. PREPARE v1 FROM 'SELECT * FROM test2 LIMIT 3';

      [1] https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html

      statement ok
      PREPARE v1 FROM 'SELECT * FROM test2 LIMIT 3';
      
      query I
      EXECUTE v1
      ----
      Hello World
      
      /order/test_limit.test[_ignore]
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zstan Evgeny Stanilovsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: