You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/06/21 09:32:00 UTC
[jira] [Resolved] (AIRFLOW-284) HiveHook Cursor Scope Persistency
[ https://issues.apache.org/jira/browse/AIRFLOW-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ash Berlin-Taylor resolved AIRFLOW-284.
---------------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.0.0)
1.10.0
This was part of the 1.10.0 release but we forgot to update the Jira
> HiveHook Cursor Scope Persistency
> ---------------------------------
>
> Key: AIRFLOW-284
> URL: https://issues.apache.org/jira/browse/AIRFLOW-284
> Project: Apache Airflow
> Issue Type: Bug
> Components: hooks
> Affects Versions: 2.0.0
> Environment: Apache
> Reporter: Sherwain Williamson
> Assignee: Sherwain Williamson
> Priority: Major
> Labels: hive, hive-hooks
> Fix For: 1.10.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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 depend on the execution of add `jar` and `set` commands to fail as they are being executed in different cursor scopes which are not persistent.
> The code has been updated to have the cursor object persistent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)