[
https://issues.apache.org/jira/browse/SQOOP-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067960#comment-14067960
]
Jarek Jarcec Cecho commented on SQOOP-1361:
-------------------------------------------
The method comment is stating:
{quote}
* Coerce a candidate name for an identifier into one which is a valid
* Java or Avro identifier.
*
* Ensures that the returned identifier matches [A-Za-z_][A-Za-z0-9_]*
* and is not a reserved word.
{quote}
Hence I would assume that {{$}} should not be allowed output of the method call.
> 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)