data-formulator icon indicating copy to clipboard operation
data-formulator copied to clipboard

docs/dev-guides/11-catalog-metadata-sync.md still documents the removed catalog annotations feature (files, endpoints, error codes)

Open MohammedAlkindi opened this issue 1 month ago • 2 comments

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.py and datalake/catalog_merge.py (lines 56-57). datalake/ now holds only catalog_cache.py and catalog_refresh.py.
  • PATCH and GET /api/connectors/catalog-annotations (lines 58, 86-87). data_connector.py has no such route.
  • ANNOTATION_CONFLICT and ANNOTATION_INVALID_PATCH (lines 116, 274, 473-474). errors.py defines only CATALOG_SYNC_TIMEOUT and CATALOG_NOT_FOUND for catalogs.
  • CATALOG_ANNOTATIONS in src/app/utils.tsx (line 63). Only SYNC_CATALOG_METADATA exists 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.

MohammedAlkindi avatar Oct 12 '26 23:10 MohammedAlkindi

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?

mastartm avatar Oct 13 '26 15:10 mastartm

Fixed by #482, which removed the catalog annotations material from the guide on dev. Thanks @mastartm.

MohammedAlkindi avatar Oct 14 '26 04:10 MohammedAlkindi