Clone
Dmitry Lychagin <dmitry.lychagin@couchbase.com>
committed
on 02 Jul
[NO ISSUE][COMP] Add support for compiler warnings
- user model changes: no
- storage format changes: no
- interface changes: no

Details:
-… Show more
[NO ISSUE][COMP] Add support for compiler warnings

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add support for compiler warnings during parsing,

 AST rewriting and query optimization phases

- SQL++ parser emits warnings for unknown hints in

 relational expression, between expression,

 groupby clause and function call.

- Optimizer emits warning if hash group by hint cannot

 be applied because there's no serializable aggregate

- Added testcases for these new warnings

Change-Id: Ic3c1e98c183cd214eea3e4fee24b2b7c46366b52

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

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

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

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

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

Show less