Clone
Dmitry Lychagin <dmitry.lychagin@couchbase.com>
committed
on 28 Aug 18
[ASTERIXDB-2447][COMP] Parameter rewriting for if_missing, if_null functions
- user model changes: no
- storage format changes: no
- interfa… Show more
[ASTERIXDB-2447][COMP] Parameter rewriting for if_missing, if_null functions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Introduce cast operation for parameters of if_missing, if_null functions

 (as performed for parameters of the switch_case function)

- Fix union type handling in TypeResolverUtil.generalizeTypes()

Change-Id: I768d8236f5b0ccb9a850304ffedd3686d911702d

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

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