Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/15246#discussion_r82151287
--- 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 --
I was wondering whether string interpolation and triple quotes work
together, and I think they do except for some odd corner cases:
http://stackoverflow.com/questions/25632924/whats-the-difference-between-raw-string-interpolation-and-triple-quotes-in-scal
It's probably OK here but made me double-check.
---
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]