You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2016/05/17 03:48:12 UTC

[jira] [Closed] (AIRFLOW-109) PrestoHook get_pandas_df executes a method that can raise outside of the try catch statement.

     [ https://issues.apache.org/jira/browse/AIRFLOW-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Riccomini closed AIRFLOW-109.
-----------------------------------
    Resolution: Fixed

Closing this based on the commit.

> PrestoHook get_pandas_df executes a method that can raise outside of the try catch statement.
> ---------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-109
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-109
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hooks
>    Affects Versions: Airflow 1.8, Airflow 1.7.1, Airflow 1.6.2
>            Reporter: Arthur Wiedmer
>            Assignee: Arthur Wiedmer
>            Priority: Minor
>              Labels: Presto
>
> This issue occurs when a malformed SQL statement is passed to the get_pandas_df method of the presto hook. Pyhive raises a DatabaseError outside of the try catch, leading in the wrong kind of error being raised.



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