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


##########
sql/core/src/main/scala/org/apache/spark/sql/package.scala:
##########
@@ -111,9 +111,10 @@ package object sql {
     }
   }
 
-  private val sparkCodePattern = 
Pattern.compile("org\\.apache\\.spark\\.sql\\." +
-      
"(?:functions|Column|ColumnName|SQLImplicits|Dataset|DataFrameStatFunctions)" +
-      "(?:|\\..*|\\$.*)")
+  private val sparkCodePattern = 
Pattern.compile("(org\\.apache\\.spark\\.sql\\." +
+      
"(?:functions|Column|ColumnName|SQLImplicits|Dataset|DataFrameStatFunctions|DatasetHolder)"
 +
+      "(?:|\\..*|\\$.*))" +
+      "|(scala\\.collection\\..*)")

Review Comment:
   I added Scala collections classes as Spark classes because they might be 
mixed with them inside of Spark code.



-- 
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