You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Dmitry Lychagin (JIRA)" <ji...@apache.org> on 2017/08/23 00:17:00 UTC

[jira] [Assigned] (ASTERIXDB-1847) Confusing ambiguous alias error message

     [ https://issues.apache.org/jira/browse/ASTERIXDB-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lychagin reassigned ASTERIXDB-1847:
------------------------------------------

    Assignee: Dmitry Lychagin  (was: Yingyi Bu)

> Confusing ambiguous alias error message
> ---------------------------------------
>
>                 Key: ASTERIXDB-1847
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1847
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Michael J. Carey
>            Assignee: Dmitry Lychagin
>         Attachments: HW8_DataInit.txt, HW8_TableInit.txt
>
>
> This query, when run on the attached data:
> USE TopicalBird;
> SELECT btag, about FROM Chirps WHERE about IN
> (SELECT Topics.tid FROM Topics WHERE name = 'Kindle' OR name = 'Surface') ;
> Yields this error msg:
> Cannot resolve ambiguous alias reference for undefined identifier name [AlgebricksException]
> It's not obvious to naive users (or me :-)) why this is an ambiguous reference.  Could we improve this error msg somehow?  This may be a fairly typical error pattern for SQL --> SQL++ users -- i.e., they are used to SQL's unqualified column-naming permissiveness, and will carry those habits into NoSQL-land and then be perplexed at times.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)