Export PostgreSQL data to Parquet, CSV or JSON
This one is easy with clickhouse-local
:
- Use the
postgresql
table function to read the data - Use the
INTO OUTFILE _filename_ FORMAT
clause and specify the desired output format
The output format can be any of the supported ouput formats in ClickHouse. Let's look at a few examples...