You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: