ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikita Amelchev <nsamelc...@gmail.com>
Subject IGNITE-6692 Select query on a client with unused field throws an exception.
Date Fri, 27 Oct 2017 15:38:03 GMT
Hello, Igniters!

I’ve fixed the issue where SQL query with unused fields throws an exception
[1].

Description of the problem: We can build a binary object without fields in
the binary object builder. If we don't add a field, SchemaId will be set to
zero. When we try to read field value, marshaller will try to find this
schema and throw an exception.

It was fixed by introducing of a new check on schemaId and when it equals
to zero then the field value will return null.

Please, review the changes [2]. Tests look good [3].

1. https://issues.apache.org/jira/browse/IGNITE-6692

2. https://reviews.ignite.apache.org/ignite/review/IGNT-CR-381

3.
https://ci.ignite.apache.org/project.html?projectId=Ignite20Tests&tab=projectOverview&branch_Ignite20Tests=pull%2F2918%2Fhead


-- 
Best wishes,
Amelchev Nikita

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message