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 

hbase 2.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 without 
phoenix, where aren't this byte.

Create table with next script:

```CREATE TABLE TKT ("ROWKEY" varchar PRIMARY KEY,

CREATED bigint);```

 

Write data always from spark connector, for example:

```df.write.format("org.apache.phoenix.spark").mode("overwrite").option("zkUrl",
 "zkServAdrs:2181").option("table", "TKT").save()```

 

And 2 scan from hbase shell. One table with salt, second similar table without 
salt.

 

Links to similar 
problem([https://stackoverflow.com/questions/47809243/phoenix-salted-table-rowkey-issue-with-hbase])



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to