Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1537

Interesting lexer error in SQL++ translator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Binary snapshot of recent Master on OSX

    Description

      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

      Attachments

        Activity

          People

            dlychagin-cb Dmitry Lychagin
            dtabass Michael J. Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: