Replies: 3 comments 2 replies
-
Thanks for the question!
I see there are some nice docs here https://spark.apache.org/docs/latest/sql-data-sources-load-save-functions.html you can probably find how the different languages work with the same code. If you'd like to work with a script, you can create |
Beta Was this translation helpful? Give feedback.
-
Ok thanks, that's helpful. I started a coursera course on scala and it mentioned the I'll check out the Scala CLI build tool. Is there a beginner's guide that explains the relationships between metals, scala scripts, scala files, build tools and spark? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi,
I need some help getting metals to work properly please. At the moment I cannot even get intellisense or autocomplete to work. I'm pnew to scala, coming from an R (and to a lesser extent python) background, so there might be some very obvious things that I don't know and don't know that I don't know. I cannot stress enough how little I know about java and scala and spark.
I use VS Code and metals and scala as a REPL to work on spark on an EMR cluster via spark-shell. So far I haven't need to compile things (and I don't really know the process to compile things) VS Code gives me syntax highlighting, but that's about it. So for example I make a file called
script.scala
that looks like this:and I expect the metals language server to start offering autocompletion, after
spark.read.
but it doesn't. If it were an R script, calledscript.R
and looking likethe R langauge server would start offering intellisense and help documentation and function automplete from those packages.
I feel like I am missing something fundamental in the scala/java/spark/metals ecosystem.
Please help as I am trying to learn scala and spark but am really struggling to harness the power of metals. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions