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

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

Commit 719a3a6068d6206decefa0d110e852992a085b7b in asterixdb's branch 
refs/heads/master from Dmitry Lychagin
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=719a3a6 ]

[ASTERIXDB-2950][COMP] Improve error message on type mismatch

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

Details:
- Change NonTaggedGetItemResultType.getResultType() to
  raise ASX1002 instead of failng with ClassCastException

Change-Id: Ie5ce017b4927ea08e102af096a5d2b69e8bef550
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14844
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lycha...@couchbase.com>
Reviewed-by: Ali Alsuliman <ali.al.solai...@gmail.com>


> Internal compiler error
> -----------------------
>
>                 Key: ASTERIXDB-2950
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2950
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler
>    Affects Versions: 0.9.7
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Major
>             Fix For: 0.9.8
>
>
> The following queries fail with internal compiler error:
> {noformat}
> from customers as c
> select avg(c.rating)[0];
> {noformat}
> {noformat}
> (select value 49)[0][0];
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to