You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael J. Carey (JIRA)" <ji...@apache.org> on 2016/08/02 19:54:20 UTC

[jira] [Created] (ASTERIXDB-1560) Misleading SQL++ error message when variables are undefined

Michael J. Carey created ASTERIXDB-1560:
-------------------------------------------

             Summary: Misleading SQL++ error message when variables are  undefined
                 Key: ASTERIXDB-1560
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1560
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: AsterixDB, Error Reporting
            Reporter: Michael J. Carey
            Priority: Minor


This query:
    SELECT u.name AS uname, m.message AS message
    FROM GleambookUsers u
    UNNEST GleambookMessages m
    WHERE m.authorId = user.id;

Yields this error message:
    Cannot resolve ambiguous alias (variable) reference for identifier user [AlgebricksException]

The reference is undefined, not ambiguous, in this case.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)