MaxGekk commented on PR #38413:
URL: https://github.com/apache/spark/pull/38413#issuecomment-1293723333

   I wonder why do we need `assertAnalysisErrorClass()` at all. `checkError` 
does the same job. Seems like `assertAnalysisErrorClass()` checks additionally 
case sensitivity (can be done in test explicitly if it is really needed) + 
checking line + pos (we should check query context instead of that, I guess).
   
   Let's consider to invoke `checkError` in `assertAnalysisErrorClass()` or 
remove it completely (invoke `checkError()` directly in tests as we do in other 
places).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to