Github user weiqingy commented on a diff in the pull request:
https://github.com/apache/spark/pull/15246#discussion_r82321891
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
---
@@ -66,13 +67,14 @@ class SQLQuerySuite extends QueryTest with SQLTestUtils
with TestHiveSingleton {
import spark.implicits._
test("script") {
+ val scriptFilePath = getPath("test_script.sh")
if (testCommandAvailable("bash") && testCommandAvailable("echo |
sed")) {
val df = Seq(("x1", "y1", "z1"), ("x2", "y2", "z2")).toDF("c1",
"c2", "c3")
df.createOrReplaceTempView("script_table")
val query1 = sql(
- """
+ s"""
--- End diff --
Yes. Good catch. There are some odd corner cases for `s""" """`, but it
should be OK here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]