airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1136) Invalid parameters are not captured for Sqoop operators
Date Fri, 21 Apr 2017 10:09:04 GMT

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

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)

Mime
View raw message