airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sherwain Williamson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-284) HiveHook Cursor Scope Persistency
Date Mon, 27 Jun 2016 21:38:57 GMT
Sherwain Williamson created AIRFLOW-284:
-------------------------------------------

             Summary: HiveHook Cursor Scope Persistency
                 Key: AIRFLOW-284
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-284
             Project: Apache Airflow
          Issue Type: Bug
          Components: hive_hooks, hooks
    Affects Versions: Airflow 2.0
         Environment: Apache
            Reporter: Sherwain Williamson
            Assignee: Sherwain Williamson
             Fix For: Airflow 2.0


The function `get_results` implemented in the `HiveServer2Hook` does not execute multiple
commands passed to it, in a list, in the singular cursor scope. This has caused SQL statements
that depends on the execution of `add jar' and `set` command to fail as they are being executed
in the different cursor scope and they are not persistent.
The code has been updated to have the cursor object persistent.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message