Skip to content

column_classifier

sqllocks_spindle.schema.inference.column_classifier

Classify columns by semantic role: MONETARY, QUANTITY, STATUS, TEMPORAL, etc.

Extends the DDL parser's 25 name heuristics to ~80 patterns with context awareness (table role influences column classification).

Classes

ColumnClassifier

Assign a ColumnSemantic to each column based on name, type, and table context.