Repository navigation
Fixes #37526: Expose the storage key of web analytic event data (backport 2.1 #37527) - #37532
Merged
Merged
Conversation
Code Review ✅ Approved 🟡 Medium riskMaking the web-analytics storage-key constant public enables callers to depend on it, so future key changes could break them. Makes VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
6 tasks done
1 task done
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Describe your changes:
Backport of #37527 to
2.1. Fixes #37526.Makes
WebAnalyticEventRepository.WEB_ANALYTICS_EVENT_DATA_EXTENSIONpublic, so code that reads web analytic events with SQL can reference the storage key instead of copying the string. The value does not change, only its visibility.Cherry-picked from
2bb9c8ea9ff; applied cleanly, andgit patch-id --stableis identical to the original commit.Type of change:
Tests:
Backend integration tests
Local Java test run: PASSED
89ae48bc5611(baseorigin/2.1)--scope full).Ran
WebAnalyticEventResourceTeston2.1as a focused regression (2 tests, 0 failures) and installedopenmetadata-service2.1.0-rc2 with the change.WebAnalyticEventResourceITwas not run locally.UI screen recording:
Not applicable: backend-only visibility change.
Checklist:
Fixes #<issue-number>above.REVIEW.md; no findings.