sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "VISHNU S NAIR (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1361) When a special character like '$' is encountered in the column names then the Sqoop script fails
Date Wed, 02 Mar 2016 14:07:18 GMT

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

VISHNU S NAIR commented on SQOOP-1361:
--------------------------------------

Fix for this issue caused SQOOP-2561. So i updated the implementation logic to replace special
character with underscore, instead of removing it.


> When a special character like '$' is encountered in the column names then the Sqoop script
fails
> ------------------------------------------------------------------------------------------------
>
>                 Key: SQOOP-1361
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1361
>             Project: Sqoop
>          Issue Type: Bug
>          Components: connectors
>    Affects Versions: 1.4.3
>            Reporter: Sai Karthik Ganguru
>            Assignee: Sai Karthik Ganguru
>            Priority: Minor
>         Attachments: SQOOP-1361.patch
>
>
> If any of the characters like '$' are present in one of the column names that we are
trying to Sqoop (as an Avro data file using the option --as-avrodatafile) then the Sqoop script
fails with an exception.
> Trying to Sqoop a table (using the --as-avrodatafile option) whose column names are as
follows: Name$, Age$, Profession$



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

Mime
View raw message