From dev-return-58888-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Wed Dec 4 11:07: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 29837180656 for ; Wed, 4 Dec 2019 12:07:02 +0100 (CET) Received: (qmail 95807 invoked by uid 500); 4 Dec 2019 11:07: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 95790 invoked by uid 99); 4 Dec 2019 11:07: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; Wed, 04 Dec 2019 11:07:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B1428E103B for ; Wed, 4 Dec 2019 11:07:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 30A0278048F for ; Wed, 4 Dec 2019 11:07:00 +0000 (UTC) Date: Wed, 4 Dec 2019 11:07:00 +0000 (UTC) From: "Rustam Iksanov (Jira)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (PHOENIX-5603) Phoenix add sybmol 0x00 to first in key MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Rustam Iksanov created PHOENIX-5603: --------------------------------------- Summary: Phoenix add sybmol 0x00 to first in key Key: PHOENIX-5603 URL: https://issues.apache.org/jira/browse/PHOENIX-5603 Project: Phoenix Issue Type: Bug Affects Versions: 5.0.0 Environment: HDP 3.0=C2=A0 hbase=C2=A02.0.2.3.1.0.0-78 Reporter: Rustam Iksanov Attachments: keyWObyte.jpg, keyWbyte.jpg Phoenix add symbol `0X00` to rowkey in the salted table. If data load witho= ut phoenix, where aren't this byte. Create table with next script: ```CREATE TABLE TKT ("ROWKEY" varchar PRIMARY KEY, CREATED bigint);``` =C2=A0 Write data always from spark connector, for example: ```df.write.format("org.apache.phoenix.spark").mode("overwrite").option("zk= Url", "zkServAdrs:2181").option("table", "TKT").save()``` =C2=A0 And 2 scan from hbase shell. One table with salt, second similar table with= out salt. =C2=A0 Links to similar problem([https://stackoverflow.com/questions/47809243/phoe= nix-salted-table-rowkey-issue-with-hbase]) -- This message was sent by Atlassian Jira (v8.3.4#803005)