Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-4044

[editor] Copy pasted query with \u2002 fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10.0
    • Fix Version/s: 3.11.0
    • Component/s: app.editor
    • Labels:
      None
    • Target Version:
    • Sprint:
      May 23 - Jun 10, 2016

      Description

      SELECT
        a.key,
        a.*
      FROM customers c, c.addresses a
      
      Traceback (most recent call last):
        File "/home/romain/projects/hue/desktop/libs/notebook/src/notebook/decorators.py", line 81, in decorator
          return func(*args, **kwargs)
        File "/home/romain/projects/hue/desktop/libs/notebook/src/notebook/api.py", line 140, in execute
          raise ex
      QueryError: AnalysisException: Syntax error in line 2:
      \u2002\u2002a.key,
      ^
      Encountered: Unexpected character
      Expected: ALL, CASE, CAST, DISTINCT, EXISTS, FALSE, IF, INTERVAL, NOT, NULL, STRAIGHT_JOIN, TRUNCATE, TRUE, IDENTIFIER
      

      I do the error bubbling in HUE-4043

        Attachments

          Activity

            People

            • Assignee:
              enricoberti Enrico Berti
              Reporter:
              romain Romain Rigaux
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: