Michael J. Carey created ASTERIXDB-1374:
-------------------------------------------
Summary: Wierd expectation/interpretation of datasets/names in
SQL++ error cases
Key: ASTERIXDB-1374
URL: https://issues.apache.org/jira/browse/ASTERIXDB-1374
Project: Apache AsterixDB
Issue Type: Bug
Components: AsterixDB, Error Reporting, Translator - AQL, Web
Interface
Reporter: Michael J. Carey
Assignee: Yingyi Bu
USE TinySocial;
SELECT ELEMENT user
FROM FacebookUsers AS user
WHERE user.name = 'NilaMilliron';
results in
{ "id": 8, "alias": "Nila", "name": "NilaMilliron", "user-since":
datetime("2008-01-01T10:10:00.000Z"), "friend-ids": {{ 3 }}, "employment": [ {
"organization-name": "Plexlane", "start-date": date("2010-02-28"), "end-date":
null } ] }
Perfect! However....
SELECT ELEMENT user
FROM FacebookUsers AS user
WHERE user.name = "NilaMilliron"; // or without the quotes at all
gives
Could not find dataset NilaMilliron in dataverse TinySocial
[AlgebricksException]
!?!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)