Clone
Ali Alsuliman <ali.al.solaiman@gmail.com>
committed
on 10 Mar 19
[ASTERIXDB-2516][COMP] Change logical comparators handling of null/missing
- user model changes: no
- storage format changes: no
- interface… Show more
[ASTERIXDB-2516][COMP] Change logical comparators handling of null/missing

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Change the result of comparing against null and missing.

For arrays, comparing against null or missing item will result in incomparable.

For records, comparing against a null field will result in incomparable.

- modified test cases accordingly

- moved few object factories to the common place.

- modified compareRecords to avoid string construction for field names

- few code clean-ups.

Change-Id: Id93bea76e13658768e08a98fd373c71a901ceec5

Reviewed-on: https://asterix-gerrit.ics.uci.edu/3259

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

Show less