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] [Commented] (ASTERIXDB-1537) Interesting lexer error in SQL++ translator
Date Tue, 19 Jul 2016 19:11:20 GMT

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

Michael J. Carey commented on ASTERIXDB-1537:
---------------------------------------------

(Delete the offending stray "}" near the end and the query works - this is just a user experience
bug report for error handling.)

> 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