Clone
Dmitry Lychagin <dmitry.lychagin@couchbase.com>
committed
on 01 Jul
[ASTERIXDB-2754][COMP] LoadRecordFieldsRule must clone expression
- user model changes: no
- storage format changes: no
- interface changes:… Show more
[ASTERIXDB-2754][COMP] LoadRecordFieldsRule must clone expression

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- LoadRecordFieldsRule replaces a field access expression with

 another expression that it gets from a record constructor that

 created this field. It must clone the replacement expression

 because it's still used by the record constructor

Change-Id: I4ba653bbb82a76783b295c3bc3cfbed897a3b4e6

Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/7064

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

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

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

Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>

Show less