Adam Szałucha created ZEPPELIN-2954:
---------------------------------------
Summary: Problem with quote brackets
Key: ZEPPELIN-2954
URL: https://issues.apache.org/jira/browse/ZEPPELIN-2954
Project: Zeppelin
Issue Type: Bug
Affects Versions: 0.7.0
Reporter: Adam Szałucha
When I run it in scala interpreter I get
{code:java}
scala> val eks = ((vs: Seq[Int]) => s"""[${vs.mkString(",")}]""")
eks: Seq[Int] => String = $$Lambda$1044/1905420854@216e9ca3
scala> eks(Seq(1,2,3,4))
res0: String = [1,2,3,4]
{code}
However when I try to do this in Zeppelin I get:
{code:java}
val eks = ((vs: Seq[Int]) => s"""[${vs.mkString(",")}]""")
vs.mkString
eks: Seq[Int] => String = <function1>
eks(Seq(1,2,3,4))
res353: String = []
{code}
I guess that there is a problem with interpreting "
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)