-
Notifications
You must be signed in to change notification settings - Fork 0
Adding Window Functions and Enhancing Aggregation Features #6
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
- Add test cases for window functions with frame specifications - Add test cases for unbounded window frames - Add utility functions for JSON test fixtures - Add MySQL version detection helper function - Update database configurations for testing
…and GROUPING SETS
…y identifier formatting and standardizing order direction
Enhance group column selection by checking for existing expressions
…place query.all() with query.aggregate() for JSON tests
…cation, and type checking
…cation, and type checking
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6 +/- ##
==========================================
- Coverage 79.56% 79.28% -0.28%
==========================================
Files 41 41
Lines 3181 3708 +527
Branches 463 621 +158
==========================================
+ Hits 2531 2940 +409
- Misses 483 576 +93
- Partials 167 192 +25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|




Overview
This PR enhances our query capabilities by implementing window functions, advanced grouping models (CUBE, ROLLUP, and GROUPING SETS), and improving JSON test support. It also includes several refactoring changes to improve code clarity and consistency.
Changes
New Features
Refactoring
test_json_expressions.pyand updated import pathsquery.all()withquery.aggregate()for JSON testsTesting
Motivation
These changes provide more powerful querying capabilities while making the codebase more maintainable and consistent. The window functions allow for complex analytical queries, while the advanced grouping models enable more sophisticated data aggregation scenarios.
Impact
This PR significantly enhances our data analysis capabilities without breaking existing functionality. The refactoring changes improve code readability and maintainability while ensuring consistent naming and documentation across the codebase.