Vladimir Ozerov created IGNITE-10253:
----------------------------------------

             Summary: Merge SqlQuery logic with SqlFieldsQuery
                 Key: IGNITE-10253
                 URL: https://issues.apache.org/jira/browse/IGNITE-10253
             Project: Ignite
          Issue Type: Task
          Components: sql
            Reporter: Vladimir Ozerov
            Assignee: Vladimir Ozerov
             Fix For: 2.8


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to