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

Jarek Jarcec Cecho commented on SQOOP-1361:
-------------------------------------------

Yup based on Java documentation it seems that {{$}} is valid character for Java 
identifier. I would suggest to update the comment and leave the current method 
as it is. We should clean this particular character for Avro schema though.

> 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.2#6252)

Reply via email to