From dev-return-56887-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Thu Jun 6 22:15:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 010B4180763 for ; Fri, 7 Jun 2019 00:15:01 +0200 (CEST) Received: (qmail 22888 invoked by uid 500); 6 Jun 2019 22:15:01 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 22863 invoked by uid 99); 6 Jun 2019 22:15:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2019 22:15:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 65EE8E2CFC for ; Thu, 6 Jun 2019 22:15:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2D6522461B for ; Thu, 6 Jun 2019 22:15:00 +0000 (UTC) Date: Thu, 6 Jun 2019 22:15:00 +0000 (UTC) From: "Karthik Palanisamy (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (PHOENIX-5319) Document: A note on lower case table/schema name for Bulkload MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Karthik Palanisamy created PHOENIX-5319: ------------------------------------------- Summary: Document: A note on lower case table/schema name for = Bulkload Key: PHOENIX-5319 URL: https://issues.apache.org/jira/browse/PHOENIX-5319 Project: Phoenix Issue Type: Bug Affects Versions: 5.0.0 Reporter: Karthik Palanisamy Assignee: Karthik Palanisamy The problem=C2=A0with bulk loading CSV/JSON data with lower case table name= . This will be fixed as part of [PHOENIX-3541|https://issues.apache.org/jir= a/browse/PHOENIX-3541]. Created this separate=C2=A0doc=C2=A0Jira because Phoenix Website is=C2=A0ma= intained in svn.=C2=A0 NOTE: {code} Table names in Phoenix are case insensitive( generally uppercase). but some= times user may require to do mapping of existing HBase table with lowercase= name into Phoenix table, In this case, Double quotes around table name i.e= "tablename" can be used to preserve case sensitivity. The same was extende= d to the bulkload options, but due to the way Apache Commons CLI library pa= rse command line options(Ref CLI-275), we need to pass the argument as \"\"= tablename\"\" instead of just "tablename" for CsvBulkLoadTool. Example: hadoop jar phoenix--client.jar org.apache.phoenix.mapreduce.CsvBul= kLoadTool --table \"\"t\"\" --input /data/example.csv {code} =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)