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

Sai Karthik Ganguru commented on SQOOP-1646:
--------------------------------------------

[~jarcec] Yeah I second that and also there are only two boolean inputs:

@Input
  public Boolean shouldClearStageTable; 
(https://github.com/apache/sqoop/blob/sqoop2/connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/configuration/ToJobConfig.java)

and 

@Input
  public Boolean partitionColumnNull; 
(https://github.com/apache/sqoop/blob/sqoop2/connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/configuration/FromJobConfig.java)

Even i do not see any other place where we could get a default value in

> 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
(v6.3.4#6332)

Reply via email to