-
Notifications
You must be signed in to change notification settings - Fork 285
supporting JSON_OBJECTAGG and JSON_ARRAYAGG #23180
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
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue ##23029 #23030
What this PR does / why we need it:
compatible with MySQL
PR Type
Enhancement
Description
Implement JSON_ARRAYAGG and JSON_OBJECTAGG aggregate functions
Support distinct aggregation and proper NULL handling
Add comprehensive type conversion for JSON serialization
Register new functions with IDs and validation logic
Diagram Walkthrough
File Walkthrough
4 files
Implement JSON_ARRAYAGG and JSON_OBJECTAGG execution logicAdd factory functions for JSON aggregate executorsRegister JSON aggregate functions in planning layerAdd JSON aggregate function definitions and validation2 files
Register new JSON aggregate function IDsDefine function IDs for JSON aggregates3 files
Update test constants for new function IDsAdd test cases for JSON aggregate functionsAdd expected results for JSON aggregate tests