-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature request
Materialize now supports excluding specific columns when ingesting data from PostgreSQL sources. This feature allows you to:
- Skip columns with unsupported data types
- Reduce hydration times by ignoring unnecessary columns
Example
Suppose you have an upstream PostgreSQL table t, with columns a and b. You can exclude column a during ingestion:
CREATE SOURCE mz_source
FROM POSTGRES CONNECTION pg_conn (PUBLICATION 'mz_source', EXCLUDE COLUMNS (t.a))
FOR ALL TABLES;To validate that column a was excluded:
SELECT * FROM t; -- Will return only one column, b
For more information and additional examples, see our PostgresQL source documentation.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request