matrixone
matrixone copied to clipboard
[Feature Request]: Implement MySQL Encode()/Decode() function
User description
What type of PR is this?
- [ ] API-change
- [ ] BUG
- [ ] Improvement
- [ ] Documentation
- [x] Feature
- [ ] Test and CI
- [ ] Code Refactoring
Which issue(s) this PR fixes:
issue #15027
What this PR does / why we need it:
implement Encode() and Decode() functions
PR Type
Enhancement, Tests
Description
- Implemented
EncodeandDecodefunctions for string encryption and decryption. - Added helper structs and methods to support encoding and decoding logic.
- Registered
EncodeandDecodefunctions in the built-in function list. - Added unit tests for
EncodeandDecodefunctions, covering various scenarios. - Added SQL test cases and expected results for
EncodeandDecodefunctions.
Changes walkthrough 📝
| Relevant files | |||||||
|---|---|---|---|---|---|---|---|
| Enhancement |
| ||||||
| Tests |
|
💡 PR-Agent usage: Comment
/helpon the PR to get a list of all available PR-Agent tools and their descriptions