Description
Check error classes in ErrorParserSuite by using checkError(). For instance, replace
intercept("select *\nfrom r\norder by q\ncluster by q", 3, 0, 11, "Combination of ORDER BY/SORT BY/DISTRIBUTE BY/CLUSTER BY is not supported", "^^^")
by
checkError( exception = parseException("select *\nfrom r\norder by q\ncluster by q"), errorClass = "_LEGACY_ERROR_TEMP_0011", parameters = Map.empty, context = ExpectedContext(fragment = "order by q\ncluster by q", start = 16, stop = 38))
Attachments
Issue Links
- is cloned by
-
SPARK-40784 Check error classes in DDLParserSuite
- Resolved
- links to