tianyou-gu commented on code in PR #38079:
URL: https://github.com/apache/airflow/pull/38079#discussion_r1521885687
##########
airflow/providers/slack/transfers/sql_to_slack.py:
##########
@@ -33,6 +33,10 @@
from airflow.utils.context import Context
+class SqlToSlackNullOutputException(AirflowException):
+ """An exception that indicates the sql output is empty and hence should
not be sent with slack message."""
Review Comment:
I think so, it's not necessarily a parameter input. But also, based on
comment below, won't need this Exception, just skipping instead of failing is
the desired behavior.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]