0

Using Apache Spark 3, I manipulated some CSV data, stored in a dataframe, with the intention of sending it to HBase.

The data is successfully sent using JavaHBaseContext's bulkPut() method.

However, in Apache Phoenix, using a plain SELECT query, I get the message 'No rows selected'.

enter image description here

When I run SELECT count(*) query, I get:

enter image description here

Meanwhile, HBase's shell allows to ensure the availability of data as expected.

What could be the problem?

  • might be the schema is broken. – Lamanus Dec 02 '21 at 02:21
  • @Lamanus My colleague discovered that when the table is created with COLUMN_ENCODED_BYTES = 1, rows are not displayed. When the table is created with COLUMN_ENCODED_BYTES = 0, the rows are created but the columns are not aligned with data. – Mohamed Ennahdi El Idrissi Dec 02 '21 at 09:35

0 Answers0