[SPARK-38719][SQL] Test the error class: CANNOT_CAST_DATATYPE - #54694
[SPARK-38719][SQL] Test the error class: CANNOT_CAST_DATATYPE#54694deepujain wants to merge 1 commit into
Conversation
cdffecf to
375bf74
Compare
|
Rebased on master. Ran sql/testOnly org.apache.spark.sql.errors.QueryExecutionErrorsSuite SPARK-38719 locally passed. Ready for CI. |
375bf74 to
1728033
Compare
|
Rebased on current master and fixed the PR description so it now matches SPARK-38719. Ran |
1728033 to
9805234
Compare
|
Rebased this on current master. I reran |
9805234 to
161bfee
Compare
|
Rebased this on current master and resolved the import conflict in |
161bfee to
f1151d0
Compare
|
Rebased this on current master. I reran |
f1151d0 to
d319803
Compare
|
Rebased again on current master to refresh the red fork Build check. I reran |
d319803 to
ee55a19
Compare
|
Rebased again on current master to pick up the upstream fix for the |
ee55a19 to
97a6200
Compare
|
Rebased on current master again. I reran |
97a6200 to
b03aa9e
Compare
|
Refreshed the branch after the GitHub runner shut down the |
b03aa9e to
f932c49
Compare
|
Rebased on current master after the Docker integration job from yesterday was cancelled. I reran |
f932c49 to
cb94d36
Compare
|
Rebased on current master again after master moved to the parser-based SQL splitter change. I reran |
cb94d36 to
dd7aaf1
Compare
|
Rebased on current master after the latest Python Arrow change landed. I reran |
dd7aaf1 to
d598c94
Compare
|
Rebased on current master after SPARK-58064 landed. I reran |
d598c94 to
31a1619
Compare
|
Rebased on current master after SPARK-57884 landed. I reran |
31a1619 to
5a4fa7d
Compare
|
Rebased on current master after SPARK-58104 landed. I reran |
|
Rebased on current master after SPARK-58341 landed. I reran |
ac370a3 to
08c04e0
Compare
|
Rebased on current master after SPARK-58192 landed. I reran |
08c04e0 to
7ae879c
Compare
|
Rebased on current master after SPARK-58321 landed. I reran |
7ae879c to
8c50479
Compare
|
Rebased on current master after SPARK-58535 landed. I reran |
8c50479 to
272e2b5
Compare
|
Rebased on current master after SPARK-58546 landed. I reran |
272e2b5 to
6c4a322
Compare
|
Rebased on current master after SPARK-58435 landed. I reran |
6c4a322 to
3974cf9
Compare
|
Rebased on current master after SPARK-58548 landed. I reran |
3974cf9 to
9b3a967
Compare
|
Rebased on current master after SPARK-58501 landed. I reran |
9b3a967 to
80f9785
Compare
|
Rebased on current master after SPARK-58174 landed. I reran |
80f9785 to
37b7ebf
Compare
|
Rebased on current master after SPARK-45900 landed. I reran |
37b7ebf to
7082e09
Compare
|
Rebased on current master after SPARK-58549 landed. I reran |
7082e09 to
361ba70
Compare
|
Rebased on current master after SPARK-58674 landed. I reran |
361ba70 to
ee6b6aa
Compare
|
Rebased on current master after SPARK-58232 landed. I reran |
ee6b6aa to
28412a1
Compare
|
Rebased on current master to refresh the stale pending Build check. I reran |
28412a1 to
e00e8b8
Compare
|
Spark master moved again during the sweep, so I rebased once more. I reran |
Summary
Adds coverage for the
CANNOT_CAST_DATATYPEerror class inQueryExecutionErrors. The test exercises the null-type cast helper and verifies the error class, SQLSTATE, and message parameters.Change
SPARK-38719: CANNOT_CAST_DATATYPE, coveringQueryExecutionErrors.cannotCastFromNullTypeError(IntegerType)and assertingsourceType,targetType, and sqlState42846.Tests
Ran
./build/sbt "sql/testOnly org.apache.spark.sql.errors.QueryExecutionErrorsSuite -- -z SPARK-38719"- passed.Fixes SPARK-38719
JIRA assignee for credit: deepujain