Glyton Camilleri created SQOOP-902:
--------------------------------------

             Summary: Make Avro field prefix configurable 
                 Key: SQOOP-902
                 URL: https://issues.apache.org/jira/browse/SQOOP-902
             Project: Sqoop
          Issue Type: Improvement
          Components: codegen
    Affects Versions: 1.4.2
            Reporter: Glyton Camilleri


When Sqoop encounters column names that break avro schema definition rules, an 
underscore sign is added by Sqoop to the field name (leaving the columnName 
property value faithful to the original name). This creates problems when 
processing the imported avro data using other tools such Pig (where underscore 
is illegal at the start of a field name). 

It would be useful to have the prefix sign configurable for avrodatafile 
import, but maybe still defaulting to underscore to retain backward 
compatibility.   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to