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

Jarek Jarcec Cecho commented on SQOOP-1646:
-------------------------------------------

Generally having a "default" value seems as a good idea even though that it's 
usage will be probably quite a limited in Sqoop. From looking at the generic 
JDBC connector, the only place where default value would be applicable seems to 
be the boolean inputs.

> 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