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

Failure parsing INLINE_SIZE if CREATE INDEX is one of multiple statements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7
    • 2.8
    • sql
    • None

    Description

      On an empty cluster issue the following statements (shown using sqlline):

      0: jdbc:ignite:thin://localhost> CREATE TABLE public.transactions (pk INT, id INT, k
      . . . . . . . . . . . . . . . .> VARCHAR, v VARCHAR, PRIMARY KEY (pk, id)); CREATE INDEX transactions_id_k_v ON public.transactions (id, k, v) INLINE_SIZE 150; CREATE INDEX transactions_k_v_id ON
      . . . . . . . . . . . . . . . .> public.transactions (k, v, id) INLINE_SIZE 150; CREATE INDEX transactions_pk_id ON public.transactions
      . . . . . . . . . . . . . . . .> (pk, id) INLINE_SIZE 20;
      

      Expected: Table is created, three indexes are created.
      Actual: table is created, indexes are NOT created, error is printed:
      Error: Failed to parse query. Синтаксическая ошибка в выражении SQL "CREATE INDEX TRANSACTIONS_ID_K_V ON PUBLIC.TRANSACTIONS (ID, K, V) INLINE_SIZE[*] 150; CREATE INDEX TRANSACTIONS_K_V_ID ON

      Attachments

        Issue Links

          Activity

            People

              pkouznet Pavel Kuznetsov
              ilyak Ilya Kasnacheev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m