phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JeongMin Ju (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-4872) BulkLoad has bug when loading on single-cell-array-with-offsets table.
Date Tue, 28 Aug 2018 01:53:00 GMT
JeongMin Ju created PHOENIX-4872:
------------------------------------

             Summary: BulkLoad has bug when loading on single-cell-array-with-offsets table.
                 Key: PHOENIX-4872
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4872
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.14.0, 4.13.0, 4.12.0, 4.11.0
            Reporter: JeongMin Ju


CsvBulkLoadTool creates incorrect data for the SCAWO(SingleCellArrayWithOffsets) table.

Every phoenix table needs a marker (empty) column, but CsvBulkLoadTool does not create that
column for SCAWO tables.

If you check the data through HBase Shell, you can see that there is no corresponding column.
 If created by Upsert Query, it is created normally.
{code:java}
column=0:\x00\x00\x00\x00, timestamp=1535420036372, value=x
{code}
Since there is no upper column, the result of all Group By queries is zero.

This is because "families": \{"0": ["\\ x00 \\ x00 \\ x00 \\ x00"]} is added to the column
of the Scan object.

Because the CsvBulkLoadTool has not created the column, the result of the scan is empty.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message