Skip to content

Commit

Permalink
[SPARK-40785][SQL][TESTS] Check error classes in ExpressionParserSuite
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
This PR aims to replace 'intercept' with 'Check error classes' in ExpressionParserSuite.

### Why are the changes needed?
The changes improve the error framework.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
By running the modified test suite:
```
$ build/sbt "test:testOnly *ExpressionParserSuite"
```

Closes #38265 from panbingkun/SPARK-40785.

Authored-by: panbingkun <pbk1982@gmail.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
  • Loading branch information
panbingkun authored and MaxGekk committed Oct 15, 2022
1 parent 5c963e3 commit 8cf2b09
Showing 1 changed file with 279 additions and 50 deletions.
Loading

0 comments on commit 8cf2b09

Please sign in to comment.