fn sanity_check_for_cdc_table( append_only: bool, column_defs: &Vec<ColumnDef>, wildcard_idx: &Option<usize>, constraints: &Vec<TableConstraint>, source_watermarks: &Vec<SourceWatermark>, ) -> Result<(), RwError>