I am new to HBase and Phoenix.
But is there a way so that I can upload / export data to a text file? It would be very helpful if I could specify a field terminator, for example ',', '| > ', etc ..
Thanks.
Another solution.After connecting to phoenix using sqlline.py:
You can do this with Apache Pherf . Arguments Pherf: -export Exports query results to CSV files in the CSV_EXPORT directory
A workaround is to use sed after dumping. In my case, I need a \t de-limiter. However, the column values ββlooked like "A", "B", "C", "D", a simple s/','/'\t'/g helped.
\t
s/','/'\t'/g