You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
workload_generator: convert parsed DDL schemas into generator-ready YAML format
Previously, the workload_generator only parsed CREATE TABLE DDLs to extract schema metadata and built anonymization mappings for future use.
This was inadequate because there was no structured representation of generator parameters per column or table, nor any built-in support for marshaling that information into YAML for downstream workload generation.
To address this, this patch extends the parsed TableSchema into TableBlock and ColumnMeta types containing all necessary generator arguments (fanout, nullability, defaults, FK seeds, etc.), centralizes the buildWorkloadSchema orchestration, and adds easy YAML marshalling for future generator pipelines.
Fixes: CRDB-51752
Release note (cli change): The workload_generator now supports parsing DDL schemas into a structured YAML format, enabling more flexible and detailed workload generation configurations.
0 commit comments