Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A59210666 for ; Sun, 11 Aug 2013 17:42:53 +0000 (UTC) Received: (qmail 58758 invoked by uid 500); 11 Aug 2013 17:42:51 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 58654 invoked by uid 500); 11 Aug 2013 17:42:50 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 58628 invoked by uid 99); 11 Aug 2013 17:42:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Aug 2013 17:42:48 +0000 Date: Sun, 11 Aug 2013 17:42:48 +0000 (UTC) From: "Harsh J (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-5338) Add SKIP support to importtsv 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/HBASE-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736355#comment-13736355 ] Harsh J commented on HBASE-5338: -------------------------------- @Lars - I preferred to implement a missing value skipper instead. That is 'a,,c,d' is valid in meaning that 'b' (non-existent in the spec) will get skipped. Works at ends too. > Add SKIP support to importtsv > ------------------------------ > > Key: HBASE-5338 > URL: https://issues.apache.org/jira/browse/HBASE-5338 > Project: HBase > Issue Type: Improvement > Components: mapreduce > Affects Versions: 0.96.0 > Reporter: Lars George > Assignee: Harsh J > Priority: Trivial > Attachments: HBASE-5338.patch > > > It'd be nice to have support for "SKIP" mappings so that you can omit columns from the TSV during the import. For example > {code} > -Dimporttsv.columns=SKIP,HBASE_ROW_KEY,cf1:col1,cf1:col2,SKIP,SKIP,cf2:col1... > {code} > Or maybe HBASE_SKIP_COLUMN to be less ambiguous. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira