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

Qian Xu commented on SQOOP-1621:
--------------------------------

Matcher is used at initialization stage. Once MR job is running, schema is 
stored in job configuration. There is no need to do any matching. I hope to 
keep matcher and get rid off other {{getSchema}} usages. 

> Allow null as a dummy Schema
> ----------------------------
>
>                 Key: SQOOP-1621
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1621
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Qian Xu
>            Assignee: Veena Basavaraj
>            Priority: Minor
>
> The {{getSchema}} of a {{Initializer}} cannot return {{null}} as a dummy 
> schema instance, It is not necessary. Caller (i.e. {{Matcher}}) should check 
> schema by using {{schema == null || schema.isEmpty()}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to