Querying Columnstore Tables outside of Postgres
You can directly query pg_mooncake columnstore tables with execution engines like Polars. Here is how:
1. Find the Table location from Postgres Catalog Table
Find the directory in your object store / local file style where the columnstore table was written to.
you will get
table_name | path
-------------------+----------------------------------------------------------------------------------------
users_columnstore | /usr/local/pgsql/data/mooncake_local_tables/mooncake_postgres_users_columnstore_16446/
users_log | /usr/local/pgsql/data/mooncake_local_tables/mooncake_postgres_users_log_16455/
x | s3://mooncake-test/mooncake_postgres_x_16459/
It will show either a local path or a s3 path for each table.