MaxGekk commented on code in PR #38386:
URL: https://github.com/apache/spark/pull/38386#discussion_r1004847037


##########
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala:
##########
@@ -73,9 +72,17 @@ class HiveQuerySuite extends HiveComparisonTest with 
SQLTestUtils with BeforeAnd
     }
   }
 
-  private def assertUnsupportedFeature(body: => Unit): Unit = {
-    val e = intercept[ParseException] { body }
-    assert(e.getMessage.toLowerCase(Locale.ROOT).contains("operation not 
allowed"))
+  private def assertUnsupportedFeature(
+    body: => Unit,
+    message: String,
+    expectedContext: ExpectedContext): Unit = {

Review Comment:
   4 spaces, see 
https://github.com/databricks/scala-style-guide#spacing-and-indentation:
   ```suggestion
         body: => Unit,
         message: String,
         expectedContext: ExpectedContext): Unit = {
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to