-
Notifications
You must be signed in to change notification settings - Fork 279
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
Aggr statements with same error msg to keep error msg in 1.2-dev #18588
Conversation
Aggr statements with same error msg and keep the error msg info matrixorigin#18537
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
User description
Aggr statements with same error msg and keep the error msg info #18537
What type of PR is this?
Which issue(s) this PR fixes:
issue #https://github.com/matrixorigin/MO-Cloud/issues/4005
ref pr : #18537
What this PR does / why we need it:
changes:
PR Type
Enhancement, Tests
Description
Error
field in theKey
struct to include error messages.Changes walkthrough 📝
report_statement.go
Enhance error handling in statement aggregation
pkg/util/trace/impl/motrace/report_statement.go
Error
field toKey
struct.getErrorString
function to handle error messages.report_statement_test.go
Add tests for statement key error handling
pkg/util/trace/impl/motrace/report_statement_test.go
StatementInfo.Key
function.aggr_error_stmt.result
Add expected results for error statement aggregation
test/distributed/cases/statement_query_type/aggr_error_stmt.result
aggr_error_stmt.sql
Add test cases for error statement aggregation
test/distributed/cases/statement_query_type/aggr_error_stmt.sql
aggr_error_stmt.result
Add summary results for error statement aggregation
test/distributed/cases/zz_statement_query_type/aggr_error_stmt.result
aggr_error_stmt.sql
Add SQL to verify error statement aggregation results
test/distributed/cases/zz_statement_query_type/aggr_error_stmt.sql