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
- is a child of
-
IGNITE-11203 SQL: global refactoring
- Open
- links to