This is an automated email from the ASF dual-hosted git repository.
joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/master by this push:
new 7dc3fccee IMPALA-13706: Calcite planner: add new column for planner
report
7dc3fccee is described below
commit 7dc3fccee0defd4a922b4ac96ceba4c0a606c3ea
Author: Steve Carlin <[email protected]>
AuthorDate: Tue Jan 28 10:46:01 2025 -0800
IMPALA-13706: Calcite planner: add new column for planner report
Adding a new column "Different error message" for the report that
shows the differences on e2e tests between the Calcite planner and
the current Impala planner. This new column will measure the test
cases that fail under both planners but have different error messages.
Change-Id: I897ed4c454d3c0f0873942ceec4edce719d63ac9
Reviewed-on: http://gerrit.cloudera.org:8080/22410
Reviewed-by: Joe McDonnell <[email protected]>
Tested-by: Joe McDonnell <[email protected]>
---
bin/calcite_report_generator.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bin/calcite_report_generator.py b/bin/calcite_report_generator.py
index 959e78d98..f370b8bdd 100755
--- a/bin/calcite_report_generator.py
+++ b/bin/calcite_report_generator.py
@@ -62,7 +62,7 @@ FOOTER = """
RESULT_CATEGORIES = ["Success", "Parse Failure", "Analysis Failure",
"Unsupported Feature", "Result Difference",
- "Profile Difference", "Other"]
+ "Profile Difference", "Different Error Msg", "Other"]
RESULT_CATEGORY_STYLE_MAP = {
"Success": "success",
@@ -71,6 +71,7 @@ RESULT_CATEGORY_STYLE_MAP = {
"Unsupported Feature": "expected_fail",
"Result Difference": "fail",
"Profile Difference": "fail",
+ "Different Error Msg": "expected_fail",
"Other": "fail"
}
@@ -101,6 +102,9 @@ def categorize_error_string(error_string):
return "Success"
elif "ParseException" in error_string:
return "Parse Failure"
+ elif "Unexpected exception string" in error_string and \
+ "Not found in actual" in error_string:
+ return "Different Error Msg"
elif "AnalysisException" in error_string:
return "Analysis Failure"
elif "UnsupportedFeatureException" in error_string: