JNSimba opened a new pull request, #62193:
URL: https://github.com/apache/doris/pull/62193
### What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
Currently, streaming job properties are strictly validated against a
whitelist. This makes it impossible for users to attach custom metadata (e.g.,
distinguishing data source variants like `aws_aurora` vs standard `postgres`
that share the same protocol) without modifying the kernel code and releasing a
new version.
This PR allows properties prefixed with `__` to bypass validation and be
stored as-is, enabling users to pass through custom metadata in job properties.
### Release note
Support internal pass-through properties with `__` prefix in streaming job
PROPERTIES clause. These properties are stored as-is without validation,
allowing users to attach custom metadata to streaming jobs.
### Check List (For Author)
- Test
- [x] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason
- Behavior changed:
- [x] Yes. Properties prefixed with `__` in streaming job PROPERTIES
clause are now accepted and stored, previously they would be rejected as
invalid.
- Does this need documentation?
- [ ] No.
- [x] Yes.
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]