You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "phanikumv (via GitHub)" <gi...@apache.org> on 2023/07/31 12:27:21 UTC
[GitHub] [airflow] phanikumv commented on a diff in pull request #32968: Validate connection host field for Sqoop connection
phanikumv commented on code in PR #32968:
URL: https://github.com/apache/airflow/pull/32968#discussion_r1279221891
##########
airflow/providers/apache/sqoop/hooks/sqoop.py:
##########
@@ -113,6 +113,9 @@ def popen(self, cmd: list[str], **kwargs: Any) -> None:
raise AirflowException(f"Sqoop command failed: {masked_cmd}")
def _prepare_command(self, export: bool = False) -> list[str]:
+ if "?" in self.conn.host:
Review Comment:
is this condition applicable ONLY for sqoop connection ?
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org