You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2019/06/22 16:40:00 UTC
[jira] [Commented] (AIRFLOW-3092) Sqoop hook is needed to support
postgres/mssql parameter --schema
[ https://issues.apache.org/jira/browse/AIRFLOW-3092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870304#comment-16870304 ]
jack commented on AIRFLOW-3092:
-------------------------------
You are right however the hook has extra_import_options which allows you to also set --schema
[https://github.com/apache/airflow/blob/master/airflow/contrib/hooks/sqoop_hook.py#L194]
In any case if you'd like you can PR to add the --schema directly
> Sqoop hook is needed to support postgres/mssql parameter --schema
> -----------------------------------------------------------------
>
> Key: AIRFLOW-3092
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3092
> Project: Apache Airflow
> Issue Type: Improvement
> Components: contrib
> Reporter: Forestlzj
> Priority: Major
>
> According to [https://sqoop.apache.org/docs/1.4.4/SqoopUserGuide.html.] A parameter "–schema" is required to support import/export data from/to postgres or mssql. Currently the sqoop hook doesnt have this feature to support import/export table not in the default schema.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)