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

[impala] Error on query with good syntax but invalid query

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.10.0
    • Fix Version/s: 3.11.0
    • Component/s: con.impala
    • Labels:
      None

      Description

      select TRUNC(CAST('2016-06-02 12:03:00' as timestamp),"quarter");

      [02/Jun/2016 09:18:19 -0700] decorators   ERROR    Error running <function check_status at 0x7fbc93815de8>
      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 167, in check_status
          response['query_status'] = get_api(request, snippet).check_status(notebook, snippet)
        File "/home/romain/projects/hue/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 65, in decorator
          return func(*args, **kwargs)
        File "/home/romain/projects/hue/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 234, in check_status
          if 'transition from CANCELED to ERROR' in operation.errorMessage: # Hive case on canceled query
      TypeError: argument of type 'NoneType' is not iterable
      

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              romain Romain Rigaux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: