Hi,
When writing Spark Scala code in zeppelin with Livy interpreter, string
interpolation does not seem to work. For example:
val devices = sc.objectFile[(VertexId, DeviceAttr)](
s"s3a://${bucket}/${datasetS3Prefix}/${tableName}
/dt=${end_dt}/tid=${tid}/${datasetS3Suffix}")
I think the dollar curly brackets were interpreted as Javascript template
literals and hence disappear when Livy server gets the message and becomes:
val devices = sc.objectFile[(VertexId, DeviceAttr)](
s"s3a://///dt= /tid= / ")
At the same time a couple of input boxes appears at the bottom of this
paragraph in Zeppelin UI having the corresponding titles in the original dollar
curly brackets.
Is this a bug? How can we overcome the string interpolation issue?
Thanks,
Jialiang