Clone
luochen01 <cluo8@uci.edu>
committed
on 02 Oct 17
[ASTERIXDB-2119][COMP] Fix variable ordering of projects
- user model changes: no
- storage format changes: no
- interface changes: no

Deta… Show more
[ASTERIXDB-2119][COMP] Fix variable ordering of projects

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The current IntroduceProjectsRule implementation uses HashSet to

calculate projected variables, which makes the ordering of output

variables unpreditable. This patch fixes this undesired behavior by

using LinkedHashSet to ensure the project variables have the same

ordering from the original variables.

Change-Id: Id96a5fe048dd11b7f2e97f4d4a802736ba5ba003

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

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

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

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

Reviewed-by: Taewoo Kim <wangsaeu@gmail.com>

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

Show less

master + 5 more