Export PostgreSQL data to Parquet, CSV or JSON
This one is easy with clickhouse-local:
- Use the
postgresqltable function to read the data - Use the
INTO OUTFILE _filename_ FORMATclause 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...