-
-
Notifications
You must be signed in to change notification settings - Fork 63
feat(eap-items): read and filter array attributes natively from typed columns #8110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+875
−88
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
c40e7fc
feat(eap-items): read array attributes from typed columns on the read…
claude 320817f
fix(eap-items): use typed array columns in GROUP BY / ORDER BY to mat…
claude 12d1e8c
test(eap-items): cover array reads before and after the typed-column …
claude ff2b4eb
feat(eap-items): read arrays from typed columns in get_trace and export
claude f796e15
ref(eap-items): read array columns with SubscriptableReference (map[k…
claude 1b59e2a
ref(eap-items): select array columns like attributes_int/bool (non-bu…
claude 7cc8760
fix(eap-items): gate export array columns on the routing-adjusted que…
claude 8ef8f6d
fix(eap-items): handle typed array tuple delivered as a list in get_t…
claude 1fef4e2
ref(eap-items): read array attributes as unpacked native typed sub-co…
claude 1a6145f
ref(eap-items): trim verbose docstrings on the typed-array read path
claude 6d118e3
ref(eap-items): dedupe the typed array column list into one constant
claude 2d4887f
ref(eap-items): make array attributes select-only
claude b8b885f
ref(eap-items): keep array filtering; reject only aggregations/group-…
claude 6c27916
ref(eap-items): narrow typed-column array filters to the value's type
claude 6f08cfa
ref(eap-items): match typed array filters per column by coercing the …
claude f1fba46
fix(eap-items): surface an absent array attribute as NULL on select
claude f1d7d3b
test(eap-items): expect LIKE array filter to read only the string column
claude dfa2169
fix(eap-items): keep uniq aggregation on array attributes
claude 3567f99
Merge branch 'master' into claude/remove-array-query-workaround-imcfu8
claude bf8b5e5
fix(eap-items): add strict= to zip() for ruff B905 after tooling merge
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have we considered (and rejected) not doing this for our upstream clients?
I understand right now that we allow them to treat arrays as heterogeneous, and we need to do this mapping for a transition, but it would be nice if we could drop all this pre/post-processing later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's accepted we're not going to support heterogeneous arrays. The problem I'm trying to dance around here is we don't have a good type system for array attributes.
We defined a
TYPE_ARRAYthat doesn't tell you what scalar values you store, so when you query the array attribute, it has to look into the 4 columns and "merge", basically picking whatever value exists. And then this would pick the one that returned something and extend the results.It's an evolution of a function that was trying to merge arrays with different types together so that's why it's complicated and I can definitely simplifies.