You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/04/21 10:09:04 UTC

[jira] [Commented] (AIRFLOW-1136) Invalid parameters are not captured for Sqoop operators

    [ https://issues.apache.org/jira/browse/AIRFLOW-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978442#comment-15978442 ] 

ASF subversion and git services commented on AIRFLOW-1136:
----------------------------------------------------------

Commit 2ef4dbbe0bf6e8ca116ad01bf209e7155d311d43 in incubator-airflow's branch refs/heads/master from [~hgrif]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=2ef4dbb ]

[AIRFLOW-1136] Capture invalid arguments for Sqoop

Invalid arguments are not captured for the
SqoopHook and SqoopOperator:
- SqoopHook should raise an exception if the
file_type is invalid
- SqoopOperator should raise an exception if the
cmd_type is invalid

Closes #2252 from hgrif/AIRFLOW-1136


> Invalid parameters are not captured for Sqoop operators
> -------------------------------------------------------
>
>                 Key: AIRFLOW-1136
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1136
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Henk Griffioen
>            Assignee: Henk Griffioen
>            Priority: Minor
>
> 1. The Sqoophook exports data as text if argument file_type is anything other than 'avro', 'sequence' or 'parquet'. Correct behaviour would be to error out if file_type is not 'avro', 'sequence', 'parquet' or 'text'.
> 2. SqoopOperator runs the import command if argument cmd_type is anything other than 'export'. Correct behaviour would be to error out if cmd_type is not 'import' or 'export'.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)