docs/dev-guides/11-catalog-metadata-sync.md still documents the removed catalog annotations feature (files, endpoints, error codes)
docs/dev-guides/11-catalog-metadata-sync.md still documents the catalog annotations feature, which data_connector.py:210 says was removed: "User annotations were removed in favor of source-system metadata only."
At dev (0786ec9) the guide points at things that no longer exist:
datalake/catalog_annotations.pyanddatalake/catalog_merge.py(lines 56-57).datalake/now holds onlycatalog_cache.pyandcatalog_refresh.py.- PATCH and GET
/api/connectors/catalog-annotations(lines 58, 86-87).data_connector.pyhas no such route. ANNOTATION_CONFLICTandANNOTATION_INVALID_PATCH(lines 116, 274, 473-474).errors.pydefines onlyCATALOG_SYNC_TIMEOUTandCATALOG_NOT_FOUNDfor catalogs.CATALOG_ANNOTATIONSinsrc/app/utils.tsx(line 63). OnlySYNC_CATALOG_METADATAexists there.
To reproduce from a dev checkout:
ls py-src/data_formulator/datalake | grep -i -E 'annot|merge' # prints nothing
grep -c -i annotation docs/dev-guides/11-catalog-metadata-sync.md # 41
The annotation material runs through the architecture, storage, merge, search, lifecycle and error-code sections, mixed with sync and table_key content that is still accurate. If the removal is permanent, those sections can be pruned in one doc pass.
Hi! I'd like to take this one and send a PR that prunes the removed catalog-annotations material from docs/dev-guides/11-catalog-metadata-sync.md (keeping the sync and table_key content).
@MohammedAlkindi, if you were planning to fix it yourself, let me know and I'll step aside.
@Chenglong-MS, should the PR target dev or main?
Fixed by #482, which removed the catalog annotations material from the guide on dev. Thanks @mastartm.