You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/23 11:02:29 UTC

[GitHub] [airflow] jeffolsi opened a new issue #8530: remove _get_pretty_exception_message from PrestoHook

jeffolsi opened a new issue #8530:
URL: https://github.com/apache/airflow/issues/8530


   
   **What happened**:
   
   There is no actual need for `_get_pretty_exception_message` this Hook is the only hook of DBs that is trying to wrap the exception raised from the db itself.
   Airflow needs to be consistent either do this for all hooks or don't do it at all.
   There is no reason to do this for Presto but not for Postgresql or Mysql
   https://github.com/apache/airflow/blob/v1-10-stable/airflow/hooks/presto_hook.py#L74


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org