-
Notifications
You must be signed in to change notification settings - Fork 285
add hint case #22665
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
base: main
Are you sure you want to change the base?
add hint case #22665
Conversation
|
[email protected] seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
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:
|
||||||||||||||||
…lll/matrixone into add_case_view_defination
User description
What type of PR is this?
Which issue(s) this PR fixes:
add hint case
issue #
#22466
What this PR does / why we need it:
add hint case
PR Type
Tests
Description
Add comprehensive test suite for hint rewriting functionality
Test basic single and multi-table rewrite rules with JSON hints
Test complex queries including aggregations, grouping, window functions
Test edge cases: empty rules, special characters, case sensitivity
Test error handling: invalid JSON, syntax errors, non-existent tables
Diagram Walkthrough
File Walkthrough
hint.sql
Comprehensive hint rewriting test suitetest/distributed/cases/hint/hint.sql
functionality
syntax
functions, subqueries, UNION
names, case sensitivity
table references, recursive detection
hint.result
Expected results for hint rewriting teststest/distributed/cases/hint/hint.result
functionality
queries
and non-existent tables
resolution