sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-2288) Improve Avro schema generation
Date Thu, 09 Apr 2015 01:03:12 GMT
Jarek Jarcec Cecho created SQOOP-2288:

             Summary: Improve Avro schema generation
                 Key: SQOOP-2288
                 URL: https://issues.apache.org/jira/browse/SQOOP-2288
             Project: Sqoop
          Issue Type: Bug
    Affects Versions: 1.4.5
            Reporter: Jarek Jarcec Cecho

In SQOOP-2252 we've added default value to all Avro schemas - {{NULL}} as by default we're
creating all columns in Avro as nullable. I think that this can be further improved:

* Instead of failing back to allow all columns to contain {{NULL}}, we should propagate this
information from table itself.
* We could also propagate the column's default value from database.
* We might even add parameter {{\-\-map\-column\-avro\-default}} that will enable to specify
any other default value (similar to {{\-\-map\-column\-java}} argument).

This message was sent by Atlassian JIRA

View raw message