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

SQL: Merge SqlQuery logic with SqlFieldsQuery

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • sql
    • None

    Description

      Currently execution of SqlQuery query is very non-trivial. First, it is complex to understand. Second, it duplicates code. Third, the most important - it is buggy. Because when new logic is added to SqlFieldsQuery it is not added to SqlQuery with high probability. Moreover, we even have discrepancies between local and non-local modes. E.g. it has different value conversion logic.

      We need to do the following:
      1) Remove all SqlQuery-specific logic from GridQueryProcessor and IgniteH2Indexing
      2) Make SqlQuery work as follows:

      • generate SqlFieldsQuery from SqlQuery
      • execute it
      • convert results to K-V pairs

      Attachments

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: