Clone
Dmitry Lychagin <dmitry.lychagin@couchbase.com>
committed
on 27 Aug 18
[ASTERIXDB-2446][COMP] Improve error raised for a duplicate field name
- user model changes: yes
- storage format changes: no
- interface ch… Show more
[ASTERIXDB-2446][COMP] Improve error raised for a duplicate field name

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Improve error raised in case when there is a duplicate field name

 in the SELECT clause. Throw compilation exception instead of

 IllegalStateException at runtime

Change-Id: I2f442acd73b3018058909f65626694dfbb49acc6

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

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