table_classifier
sqllocks_spindle.schema.inference.table_classifier
¶
Classify tables by semantic role: ENTITY, TRANSACTION, DETAIL, LOOKUP, etc.
Table role is the keystone inference — FK distributions, temporal patterns, cardinality ratios, and enum weights all depend on knowing whether a table is a fact vs dimension vs entity vs line-item detail.