Skip to content

feat(metadata-expert): add push_down param for ISSUE-38 (PY-18) - #335

Merged
dwolfson merged 2 commits into
odpi:mainfrom
dwolfson:fix/issue-38-pushdown-verification
Sep 2, 2026
Merged

feat(metadata-expert): add push_down param for ISSUE-38 (PY-18)#335
dwolfson merged 2 commits into
odpi:mainfrom
dwolfson:fix/issue-38-pushdown-verification

Conversation

@dwolfson

@dwolfson dwolfson commented Sep 2, 2026

Copy link
Copy Markdown
Member

Summary

Egeria core added a pushDown query parameter to both count endpoints (omf-metadata-spring/omf-metadata-server, merged 2026-08-30) to let callers choose between the fast repository-side count (existing behavior, may disagree with a corresponding find's visibility-filtered list) and a count that agrees with the list by construction, at the cost of reading every matching relationship/element server-side.

  • Added push_down: Optional[bool] = None to count_metadata_elements/_async_count_metadata_elements and count_relationships_between_elements/_async_count_relationships_between_elements. None omits the query parameter entirely (zero behavior change for existing callers); True/False append ?pushDown=true/?pushDown=false explicitly, following the existing conditional-append convention (valid_metadata.py's typeName handling).
  • PYEGERIA_ISSUES.md updated for ISSUE-38 (PY-18) and ISSUE-18 (part of PY-7/8/11).

Testing

Attempted ISSUE-38's own live verification (live-patched into quickstart-pyegeria-web via docker cp + restart, diff-confirmed) but it came out blocked, not failed: the deployed odpi/egeria-platform:latest image (build-date: 2026-08-24, re-pulled fresh 2026-09-02 to confirm no newer image has been published) predates the 2026-08-30 server-side merge, so pushDown is silently accepted but has no effect yet. Full test numbers and reasoning are in the PYEGERIA_ISSUES.md writeup.

Also re-confirmed ISSUE-18/PY-7 (get_valid_metadata_values ignores asOfTime) is unchanged and unrelated to this fix — live-tested with a far-past asOfTime against a property with real registered values, same result both times.

🤖 Generated with Claude Code

Egeria core added a pushDown query parameter to both count endpoints
(omf-metadata-spring/omf-metadata-server, merged 2026-08-30) to let
callers choose between the fast repository-side count (existing
behavior, may disagree with a corresponding find's visibility-filtered
list) and a count that agrees with the list by construction, at the
cost of reading every matching relationship/element server-side.

Added push_down: Optional[bool] = None to count_metadata_elements/
_async_count_metadata_elements and count_relationships_between_elements/
_async_count_relationships_between_elements. None omits the query
parameter entirely (zero behavior change for existing callers); True/
False append ?pushDown=true/false explicitly, following the existing
conditional-append convention (valid_metadata.py's typeName handling).

Attempted the entry's own live verification (live-patched into
quickstart-pyegeria-web via docker cp + restart, diff-confirmed) but it
came out blocked, not failed: the deployed odpi/egeria-platform:latest
image (build-date 2026-08-24, re-pulled fresh 2026-09-02 to confirm no
newer image has been published) predates the 2026-08-30 server-side
merge, so pushDown is silently accepted but has no effect yet. Also
re-confirmed ISSUE-18/PY-7 (get_valid_metadata_values ignores
asOfTime) is unchanged and unrelated to this fix. Full writeup in
PYEGERIA_ISSUES.md.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Docker Hub shows the odpi/egeria-platform:latest tag was re-pushed
2026-08-31, after this entry's own build-date-label check (2026-08-24).
Pulled that exact digest and diffed the actual server jar
(omag-server-platform-6.2-SNAPSHOT.jar) against what's already
deployed: identical SHA-256 in both. The 2026-08-31 push is a
container-image rebuild around the same, still-pre-fix application
jar, not a new Egeria build -- confirms the "verification blocked, not
failed" conclusion with checksum evidence rather than a label alone.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
dwolfson added a commit to dwolfson/egeria-workspaces that referenced this pull request Sep 2, 2026
PY-7: re-confirmed live against qs-metadata-store, unchanged — the
get-valid-metadata-values endpoint still ignores asOfTime entirely.

PY-18: Egeria's server-side fix (new pushDown count parameter,
merged 2026-08-30) is real and pyegeria now supports it
(odpi/egeria-python#335), but verification against real data is
blocked, not failed — checksum-confirmed the deployed platform's
application jar is still pre-fix even after Docker Hub's 2026-08-31
image re-push (same base app, just a rebuilt container layer). Full
detail in PYEGERIA_ISSUES.md's ISSUE-38 (canonical) entry.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@dwolfson
dwolfson merged commit a32e12d into odpi:main Sep 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant