LuciferYang commented on code in PR #48823:
URL: https://github.com/apache/spark/pull/48823#discussion_r1841853485


##########
project/SparkBuild.scala:
##########
@@ -1183,6 +1183,14 @@ object Hive {
     // Hive tests need higher metaspace size
     (Test / javaOptions) := (Test / 
javaOptions).value.filterNot(_.contains("MaxMetaspaceSize")),
     (Test / javaOptions) += "-XX:MaxMetaspaceSize=2g",
+    // SPARK-45265: HivePartitionFilteringSuite addPartitions related tests 
generate supper long
+    // direct sql against derby server, which may cause stack overflow error 
when derby do sql
+    // parsing.
+    // We need to increase the Xss for the test. Meanwhile, 
QueryParsingErrorsSuite requires a
+    // smaller size of Xss to mock a FAILED_TO_PARSE_TOO_COMPLEX error, so we 
need to set for
+    // hive moudle specifically.
+    (Test / javaOptions) := (Test / 
javaOptions).value.filterNot(_.contains("Xss")),
+    (Test / javaOptions) += "-Xss64m",

Review Comment:
   Subsequent options will override previous ones, so there is no need to 
filter out the existing -Xss, but that's also fine with me.



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