You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auto-classification: recover valid tags by skipping malformed definitions #34972
ClassificationManager uses strict SDK parsing when listing classifications and tags. One malformed entity aborts construction of the typed list and prevents valid tags from the same classification from becoming candidates.
For example, enabled PII has a valid column-name pattern matching ACCT_NUM, while enabled SPI has a pattern recognizer missing supportedLanguage. SPI prevents valid PII from loading, so the column receives no PII tag. Invalid data can already exist in storage or be returned by an older server; recovery must not depend on new server-side validation.
Reproduction
Configure an enabled classification containing valid PII and malformed SPI as above.
Run auto-classification at confidence 80 against a table with an ACCT_NUM column.
Observe the SDK validation error, missing PII candidate, and no PII label on the column.
If server validation prevents storing this configuration, supply the malformed definition at the mocked HTTP-response boundary using real SDK parsing and generated models.
Minimal fix
Add skip_on_failure=True to the two existing list_all_entities calls in ingestion/src/metadata/pii/classification_manager.py: one for classifications, one for tags. Reuse the existing SDK skip mode and parsing-error logs.
Activity
Fixes open-metadata#34972: Recover valid tags beside malformed defini…