I'm quite new to HBase and Phoenix.
But is there a way I can dump/export data to a text file? It would be highly appreciable if I can specify the field terminator, such as ',', '|>' etc.
Thanks.
I'm quite new to HBase and Phoenix.
But is there a way I can dump/export data to a text file? It would be highly appreciable if I can specify the field terminator, such as ',', '|>' etc.
Thanks.
Another Solution.
After connecting to phoenix with sqlline.py:
You can do it with Apache Pherf. Pherf arguments: -export Exports query results to CSV files in CSV_EXPORT directory
A workaround is to use sed once you have generated the dump.
In my case, I wanted a \t
de-limiter. However, the column values were of the form 'A','B','C','D' a simple s/','/'\t'/g
did the trick for me.