Clone
Hussain Towaileb <Hussain.Towaileb@Couchbase.com>
committed
on 02 Aug
[ASTERIXDB-2619][FUN] Add extra test cases for bitwise functions
- user model changes: no
- storage format changes: no
- interface changes: … Show more
[ASTERIXDB-2619][FUN] Add extra test cases for bitwise functions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Added test cases based on reading data from dataset to ensure

 the function performs properly on subsequent calls, and ensure

 it works properly if it doesn't go through the constant folding

 rule.

- Fixed an issue in the bitcount function which was resulting in

 Serialization Exception when calling the function with fields

 rather than constants.

- Fixed an issue with bittest and isbitset which was resulting in

 wrong value in some cases due to not reseting the monitoring of

 allSet check flag.

Change-Id: Ie1d8e4f8594843f98e7a1cf8a2da4b0106597ae8

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

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

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

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

Reviewed-by: Hussain Towaileb <hussainht@gmail.com>

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

Show less