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

Sql. Improve script parsing to handle dynamic parameters for each statement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • None
    • sql

    Description

      At the moment, there is only one implementation (ParserServiceImpl) of the ParserService, which is not entirely suitable for parsing scripts for several reasons:
      1. According to the ParserService interface, it returns the result of parsing only single statement.
      2. The service only counts the total number of dynamic parameters per script (and not for the statement).
      3. The cache implementation is designed to cache single expression.

      To implement the script execution logic (IGNITE-20443), it is recommended to add a new method (or a second implementation), which will return a list of parsing results for each statement (with the correct number of dynamic parameters). of the script

      Attachments

        Issue Links

          Activity

            People

              xtern Pavel Pereslegin
              xtern Pavel Pereslegin
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 40m
                  40m