asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael J. Carey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1537) Interesting lexer error in SQL++ translator
Date Tue, 19 Jul 2016 19:07:20 GMT
Michael J. Carey created ASTERIXDB-1537:
-------------------------------------------

             Summary: Interesting lexer error in SQL++ translator
                 Key: ASTERIXDB-1537
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1537
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: AsterixDB, Translator - AQL
         Environment: Binary snapshot of recent Master on OSX
            Reporter: Michael J. Carey
            Assignee: Yingyi Bu


THIS QUERY:

use TinySocial;
set simfunction "edit-distance";
set simthreshold "3";
select gbu.id as id, gbu.name as name,
       (select element {
            "chirpScreenname": cmu.screenName,
            "chirpName": cmu.name
          }
        from ChirpMessages cm
        with cmu as cm.user
        where cmu.name ~= gbu.name
        }) as similarUsers
from GleambookUsers gbu;

RESULTS IN THIS ERROR:

Error: org.apache.asterix.lang.sqlpp.parser.ParseException: Lexical error at line 14, column
9. Encountered "}" but state stack is empty.
==>         }) as similarUsers




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

Mime
View raw message