sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1646) Support a default attribute on the Input for better usability
Date Thu, 30 Oct 2014 15:28:34 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14190232#comment-14190232

Veena Basavaraj commented on SQOOP-1646:

This is for sqoop2 connector api to specify inputs.  One common use case is when we have booleans
and it is easy to specify default values in the code by the connector developer. 

For example 
  public Boolean shouldClearStageTable;


> Support a default attribute on the Input for better usability
> -------------------------------------------------------------
>                 Key: SQOOP-1646
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1646
>             Project: Sqoop
>          Issue Type: Sub-task
>            Reporter: Veena Basavaraj
>             Fix For: 1.99.4
> For some of the input values in configs it is nice to have the default values in the
code when the connector creates the inputs, so they dont have to be filled in from the user
when not necessary to do so
> {code}
> public @interface Input {
>   String defaultsTo() default "";
> ...
> }
> {code}

This message was sent by Atlassian JIRA

View raw message