pub async fn get_cdc_table_columns(
client: &mut Client,
capture_instance: &str,
) -> Result<BTreeMap<Arc<str>, SqlServerColumnRaw>, SqlServerError>
Expand description
Retrieves column metdata from the CDC table maintained by the provided capture instance. The resulting column information collection is similar to the information collected for the upstream table, with the exclusion of nullability and primary key constraints, which contain static values for CDC columns. CDC table schema is automatically generated and does not attempt to enforce the same constraints on the data as the upstream table.