Created 02-24-2017 06:01 AM
Can we partition a phoenix table and overwrite data existing in a single partition?
Created 02-24-2017 06:06 AM
Our requirement is to partition phoenix table by a column and overwriting the records at the partition level from SPARK .
Created 02-24-2017 06:39 PM
There is no partitioning in Apache Phoenix. It supports salting:
https://phoenix.apache.org/salted.html
The easiest way to move data is to create a new table with salting and copy your data using upsert select statement
Created 02-27-2017 10:02 AM
Our requirement is to partition phoenix table by a column and overwriting the records at the partition level from SPARK .
Exact requirement would be like, we will be processing the data at client level, so we will process the data for a single client and wants to overwrite partition corresponding to the client. I don't think SALTED tables can resolve the same as they are like random ordering but not splitting by a particular value.