In spark-shell I can use :load statement to include common file parts
stored at hard drive.

Is there a include facility in Zeppelin?
I see this in output:
<console>:2: error: illegal start of definition :load
/home/hadoop/spark-shell-helpers/load-from-s3-parallel.scala

I want to enable simple users to start using Zeppelin, but heavy lifting
programming should be hidden from them, leaving only actual code where they
will type in SQL.

For example:

:load /home/hadoop/spark-shell-helpers/load-from-s3-parallel.scala
:load /home/hadoop/spark-shell-helpers/utility-udfs.scala
val businessMeaningfulDF = sqlContext.sql("SELECT ...")

-- 


Best regards,
Eugene.

Reply via email to