stevomitric commented on code in PR #58556:
URL: https://github.com/apache/spark/pull/58556#discussion_r4071382690
##########
sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestHelper.scala:
##########
@@ -474,7 +474,7 @@ trait SQLQueryTestHelper extends SQLConfHelper with Logging
{
protected def getSparkSettings(comments: Array[String]): Array[(String,
String)] = {
val settingLines = comments.filter(_.startsWith("--SET
")).map(_.substring(6))
- settingLines.flatMap(_.split(",").map { kv =>
+ settingLines.flatMap(_.split(",(?=[\\w.]+=)").map { kv =>
Review Comment:
this won't match `--SET some.conf.val = 1` while the previous behavior did
(note spaces around '=') is this intended?
--
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]