[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16923522#comment-16923522
 ] 

ASF subversion and git services commented on ASTERIXDB-2625:
------------------------------------------------------------

Commit e5c0d8d65ff7504f304c8ed0fa5ff11ad84fd27a in asterixdb's branch 
refs/heads/master from Hussain Towaileb
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=e5c0d8d ]

[ASTERIXDB-2625][OTH] Proper error message for invalid uuid

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Returns a proper message for invalid uuid. (incorrect uuid
  length)
- Add a setter to allow setting the SourceLocation to an
  already created exception.

Change-Id: I2cd836afcb35955e23e6cba7da5e17917d0705b0
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3537
Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhub...@apache.org>


> Error message for incorrect UUID type is unhelpful
> --------------------------------------------------
>
>                 Key: ASTERIXDB-2625
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2625
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: *DB - AsterixDB
>         Environment: macOS Mojave 10.14.5
>            Reporter: Nick DiGeronimo
>            Assignee: Hussain Towaileb
>            Priority: Minor
>
> /**Try the queries below. An invalid UUID is provided, but the error message 
> is not helpful for debugging.**/
> --works correctly
>  SELECT(uuid("5c848e5c-6b6a-498f-8452-8847a2957421"));
> --Gives an unhelpful error message "3 [ArrayIndexOutOfBoundsException]"
>  SELECT(uuid("5"));



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to