1. [SPARK-26496][SS][TEST] Avoid to use Random.nextString in (commit: c3d759fa05ecaf70ee7f8692b846175e405727af) (details)
Commit c3d759fa05ecaf70ee7f8692b846175e405727af by dongjoon
[SPARK-26496][SS][TEST] Avoid to use Random.nextString in
## What changes were proposed in this pull request?
Similar with Looks random
string is not quite safe as a directory name.
```scala scala> val prefix = Random.nextString(10); val dir = new
File("/tmp", "del_" + prefix + "-" + UUID.randomUUID.toString);
dir.mkdirs() prefix: String = 窽텘⒘駖ⵚ駢⡞Ρ닋੎ dir: =
/tmp/del_窽텘⒘駖ⵚ駢⡞Ρ닋੎-a3f99855-c429-47a0-a108-47bca6905745 res40:
Boolean = false  // nope, didn't like this one
## How was this patch tested?
Unit test was added, and manually.
Closes #23405 from HyukjinKwon/SPARK-26496.
Authored-by: Hyukjin Kwon <> Signed-off-by: Dongjoon
Hyun <>
(cherry picked from commit e63243df8aca9f44255879e931e0c372beef9fc2)
Signed-off-by: Dongjoon Hyun <>
(commit: c3d759fa05ecaf70ee7f8692b846175e405727af)
The file was modifiedsql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingJoinSuite.scala (diff)