enum_inference
sqllocks_spindle.schema.inference.enum_inference
¶
Upgrade STATUS and CATEGORICAL columns from placeholder enums to realistic weighted values.
For STATUS columns the weight profile depends on the table's role (transaction, entity, or log/audit). For CATEGORICAL columns the profile is inferred from the column name (priority, severity, payment_method, gender, country, etc.).