Partitioned Tables support
TDK supports PostgreSQL partitioned tables. However, there are some limitations and recommendations to consider when working with partitioned tables.
Limitations
-
Schema Copying
-
Schema Copying does not fully support partitioned tables.
-
If the property
schema_creation_mode
is set toCREATE
,DROP_AND_CREATE
, orCREATE_IF_NOT_EXISTS
, the schema copy process will ignore the fact that some tables are partitioned. -
This may not cause an immediate error, but it is recommended to set
schema_creation_mode
toDO_NOT_CREATE
to avoid issues. Ensure the same DDL operations are executed on both the source (input) and target (output) databases manually.
-
-
Subsetting Mode (combination of
mode: MASKING
orKEEP
andtarget_ratio
< 1) The working directory must be configured correctly when using subsetting mode. Otherwise, the execution will produce an error.
If the working directory is not configured correctly, subsetting mode will still execute without warnings. However, the output database will contain regular tables instead of partitioned tables, which might lead to unexpected results. |