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

Sql. Query flow refactoring.

    XMLWordPrintableJSON

Details

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

    Description

      As of now, in SqlQueryProcessor.querySingle0(), we get SQL SchemaPlus from SqlQueryManager, then create query context, then start implicit transaction if needed.
      SqlQueryManager doesn't aware of schema versions.

      Let's

      • add tx timestamp to the interface, it is ok to ignore the tx timestamp parameter in current implementation unless a new one based on Catalog will be implemented in IGNITE-19496.
      • rework current flow to start implicit transaction first, then get a schema based on Tx timestamp, then create a query context.

      Attachments

        Issue Links

          Activity

            People

              zstan Evgeny Stanilovsky
              amashenkov Andrey Mashenkov
              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 - 2.5h
                  2.5h