[
https://issues.apache.org/jira/browse/SQOOP-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Kimball updated SQOOP-308:
--------------------------------
Attachment: SQOOP-308.patch
Instead we should generate a union schema of {{[T, null]}}, as is done in this
patch.
Updates existing schema-check testcase and adds a new testcase for
null-containing records.
> Generated Avro Schema cannot handle nullable fields
> ---------------------------------------------------
>
> Key: SQOOP-308
> URL: https://issues.apache.org/jira/browse/SQOOP-308
> Project: Sqoop
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.3.0
> Reporter: Aaron Kimball
> Assignee: Aaron Kimball
> Fix For: 1.4.0
>
> Attachments: SQOOP-308.patch
>
>
> The generated avro schema for each column is just a primitive type. If a
> database contains a null value, this will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira