[
https://issues.apache.org/jira/browse/ASTERIXDB-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871760#comment-16871760
]
ASF subversion and git services commented on ASTERIXDB-2598:
------------------------------------------------------------
Commit 6d6b2904ff6eb3f0a3f6f642aafb99ef101e7b47 in asterixdb's branch
refs/heads/master from Murtadha Makki Al Hubail
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=6d6b290 ]
[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 <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Dmitry Lychagin <[email protected]>
> Support compile/runtime warnings
> --------------------------------
>
> Key: ASTERIXDB-2598
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2598
> Project: Apache AsterixDB
> Issue Type: Improvement
> Components: RT - Runtime
> Affects Versions: 0.9.5
> Reporter: Murtadha Hubail
> Assignee: Murtadha Hubail
> Priority: Major
> Fix For: 0.9.5
>
>
> We should add the ability to generate warnings during query compilation and
> execution then return the generated warnings in the response.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)