Skip to content

Fix AGG on MULTI_EDGE _source/_target group fields - #395

Merged
em3s merged 4 commits into
mainfrom
feat/multi-edge-agg-property-map
Jul 15, 2026
Merged

em3s merged 4 commits into
mainfrom
feat/multi-edge-agg-property-map

Conversation

@zipdoki

@zipdoki zipdoki commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #388. AGG on MULTI_EDGE group fields _source / _target returned empty: the cast site looked them up in propertiesByName, but those are persistence-layer keys not exposed on the domain view. Predicates fell back to String while writes stored Long, so qualifier bytes never matched.

Resolve _source / _target to MultiEdge.source.type / target.type at the cast site. ModelSchema is untouched.

Closes #394

Changes

  • Add ModelSchema.fieldType(name) helper in V2BackedTableBinding covering the promoted keys.
  • Route both AGG cast sites (agg, bucketOrCast) through it.
  • Add a MULTI_EDGE + _target group case to EdgeAggQuerySpec.

How to Test

./gradlew :engine:test --tests "com.kakao.actionbase.v2.engine.v3.EdgeAggQuerySpec"

AI Assistance

  • This PR was written largely with AI assistance.
    • Tool / model: Claude Code (Opus 4.7)

@zipdoki
zipdoki requested a review from em3s as a code owner July 7, 2026 05:37
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 7, 2026
@zipdoki
zipdoki removed the request for review from em3s July 7, 2026 05:37
@dosubot dosubot Bot added the bug Something isn't working label Jul 7, 2026
@zipdoki zipdoki self-assigned this Jul 7, 2026
@em3s em3s added enhancement New feature or request and removed bug Something isn't working labels Jul 15, 2026
@em3s

em3s commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

LGTM 👍 @zipdoki

@em3s
em3s merged commit 0ca3924 into main Jul 15, 2026
2 checks passed
@em3s
em3s deleted the feat/multi-edge-agg-property-map branch July 15, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agg query returns empty for MULTI_EDGE groups on _source/_target

2 participants