Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C5E49200BC5 for ; Tue, 22 Nov 2016 17:34:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C4D48160B1C; Tue, 22 Nov 2016 16:34:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 49527160AF1 for ; Tue, 22 Nov 2016 17:34:59 +0100 (CET) Received: (qmail 82055 invoked by uid 500); 22 Nov 2016 16:34:58 -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 82023 invoked by uid 99); 22 Nov 2016 16:34:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2016 16:34:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 532D42C002A for ; Tue, 22 Nov 2016 16:34:58 +0000 (UTC) Date: Tue, 22 Nov 2016 16:34:58 +0000 (UTC) From: "Ankit Singhal (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3134) varbinary fields bulk load difference between MR and psql. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 22 Nov 2016 16:34:59 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15687191#comment-15687191 ] Ankit Singhal commented on PHOENIX-3134: ---------------------------------------- [~sergey.soldatov], I just checked and found that both CSVBulkLoad and psql.py exhibits the same behaviour for varbinary field i.e they expect the base64 encoded value. can you please check this again at your side too. > varbinary fields bulk load difference between MR and psql. > ---------------------------------------------------------- > > Key: PHOENIX-3134 > URL: https://issues.apache.org/jira/browse/PHOENIX-3134 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.7.0 > Reporter: Sergey Soldatov > Assignee: Sergey Soldatov > > At the moment we have strange difference between how MR and psql loads varbinary. MR loads field as it from csv, but psql expects that it's base64 encoded. Should we add an option to load it as a plain data or base64? Something like --encoding=no/base64 ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)