Return-Path: X-Original-To: apmail-sqoop-dev-archive@www.apache.org Delivered-To: apmail-sqoop-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C49B0182B3 for ; Wed, 2 Mar 2016 14:07:23 +0000 (UTC) Received: (qmail 47888 invoked by uid 500); 2 Mar 2016 14:07:23 -0000 Delivered-To: apmail-sqoop-dev-archive@sqoop.apache.org Received: (qmail 47683 invoked by uid 500); 2 Mar 2016 14:07:22 -0000 Mailing-List: contact dev-help@sqoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sqoop.apache.org Delivered-To: mailing list dev@sqoop.apache.org Received: (qmail 47666 invoked by uid 99); 2 Mar 2016 14:07:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2016 14:07:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D255D2C1F7B for ; Wed, 2 Mar 2016 14:07:18 +0000 (UTC) Date: Wed, 2 Mar 2016 14:07:18 +0000 (UTC) From: "VISHNU S NAIR (JIRA)" To: dev@sqoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SQOOP-1361) When a special character like '$' is encountered in the column names then the Sqoop script fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)