Clone
Murtadha Makki Al Hubail
committed
on 20 Jun 19
[ASTERIXDB-2598][RT] Add Support For Runtime Warnings
- user model changes: yes
- storage format changes: no
- interface changes: yes

Detai… Show more
[ASTERIXDB-2598][RT] Add Support For Runtime Warnings

- user model changes: yes

- storage format changes: no

- interface changes: yes

Details:

- Add the ability to add runtime warnings per task

 and return the generated warnings as part of the

 task profile on task completion.

- On successful job completion, aggregate warnings

 from all task profiles of a job.

- Return the generated warnings in the query service

 response as an array of "warnings" each with a code,

 which is currently hard-coded to 1, and a message.

- Fix propagating source location to scalar aggregate

 functions.

- Add a flag in test cases definition to indicate whether

 or not to check for expected warnings and default it to

 false.

- Generate warnings when min/max functions encounter

 incomparable type or unsupported input.

- Add support in test framework to extract warnings

 along with extracting the result field.

- Add support in test framework to validate generated

 and expected warnings.

- Add test cases for min/max generated warnings.

Change-Id: I52fa5b807799487d62e67a8861068e1547aa629a

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

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

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

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

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

Show less