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 C4164177A0 for ; Sun, 1 Mar 2015 07:24:14 +0000 (UTC) Received: (qmail 36173 invoked by uid 500); 1 Mar 2015 07:24:05 -0000 Delivered-To: apmail-sqoop-dev-archive@sqoop.apache.org Received: (qmail 36140 invoked by uid 500); 1 Mar 2015 07:24:05 -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 35865 invoked by uid 99); 1 Mar 2015 07:24:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Mar 2015 07:24:05 +0000 Date: Sun, 1 Mar 2015 07:24:05 +0000 (UTC) From: "Sqoop QA bot (JIRA)" To: dev@sqoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SQOOP-2153) Sqoop2: Ensure creation of valid Avro schema names 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-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14342020#comment-14342020 ] Sqoop QA bot commented on SQOOP-2153: ------------------------------------- Testing file [SQOOP-2153.patch|https://issues.apache.org/jira/secure/attachment/12701625/SQOOP-2153.patch] against branch sqoop2 took 0:41:12.913969. {color:green}Overall:{color} +1 all checks pass {color:green}SUCCESS:{color} Clean was successful {color:green}SUCCESS:{color} Patch applied correctly {color:green}SUCCESS:{color} Patch add/modify test case {color:green}SUCCESS:{color} License check passed {color:green}SUCCESS:{color} Patch compiled {color:green}SUCCESS:{color} All fast unit tests passed (executed 257 tests) {color:green}SUCCESS:{color} All slow unit tests passed (executed 1 tests) {color:green}SUCCESS:{color} All fast integration tests passed (executed 15 tests) {color:green}SUCCESS:{color} All slow integration tests passed (executed 0 tests) Console output is available [here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1121/console]. This message is automatically generated. > Sqoop2: Ensure creation of valid Avro schema names > -------------------------------------------------- > > Key: SQOOP-2153 > URL: https://issues.apache.org/jira/browse/SQOOP-2153 > Project: Sqoop > Issue Type: Bug > Affects Versions: 1.99.5 > Reporter: Jarek Jarcec Cecho > Assignee: Jarek Jarcec Cecho > Fix For: 1.99.6 > > Attachments: SQOOP-2153.patch > > > While creating integration tests for Kite connector, I've noticed that the connector is directly using Schema names (both for schema itself and for all columns) as Avro names. However we do not impose any restriction to the names wheres [Avro names are very strict|http://avro.apache.org/docs/1.7.7/spec.html#Names]. Hence if we are importing table that do not correspond to valid Avro name, we will error out with quite confusing error message. -- This message was sent by Atlassian JIRA (v6.3.4#6332)