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

[jira] [Commented] (ASTERIXDB-1537) Interesting lexer error in SQL++ translator

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

Yingyi Bu commented on ASTERIXDB-1537:
--------------------------------------

It seems that you have an extra "}" at that line?

Best,
Yingyi

> 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)