[jira] [Created] (IGNITE-3487) _key and _val fields should be excluded from 'select * from' queries

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-3487) _key and _val fields should be excluded from 'select * from' queries

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-3487:
-------------------------------------------

             Summary: _key and _val fields should be excluded from 'select * from' queries
                 Key: IGNITE-3487
                 URL: https://issues.apache.org/jira/browse/IGNITE-3487
             Project: Ignite
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 1.6
            Reporter: Valentin Kulichenko
             Fix For: 2.0


We have a pretty serious usability issue - predefined {{_key}} and {{_val}} fields are returned when query like {{select * from}} is executed. First of all, this is counterintuitive because user never defines or configures these fields. Second of all, they actually duplicate all other fields. And finally, they cause serialization exceptions because classes for key and value are not always available.

We should exclude these fields from {{select * from}} queries, but this is a compatibility breaking change. It should be done in 2.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)