Clone
Dmitry Lychagin <dmitry.lychagin@couchbase.com>
committed
on 30 Aug 18
[ASTERIXDB-2448][COMP] Fix NullPointerException in IntroduceSelectAccessMethodRule
- user model changes: no
- storage format changes: no
- i… Show more
[ASTERIXDB-2448][COMP] Fix NullPointerException in IntroduceSelectAccessMethodRule

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixed NPE when intersecting two indexes and predicate containing

 between operator:

 a) If index intersection plan is not possible then exit the rule

 b) Rewrite between operator into ge/le pair instead of le/le pair

Change-Id: I34d4cde6adf3785feb6a8280fcdb964a5fb72803

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

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

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

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

Reviewed-by: Till Westmann <tillw@apache.org>

Show less