export data to text file in Apache phoenix

Source: https://stackoverflow.com/questions/33863041/how-to-export-data-to-text-file-in-apache-phoenix

After connecting to phoenix with sqlline.py:
  1. !outputformat csv
  2. !record data.csv
  3. select * from system.catalog limit 10;
  4. !record
  5. !quit

Không có nhận xét nào:

MySQL datetime with mode: 'date' will now store dates in UTC strings and retrieve data in UTC

 https://orm.drizzle.team/docs/latest-releases/drizzle-orm-v0286 Note : MySQL datetime with mode: 'date' will now store dates in U...