Re: Why Spark generates Java code and not Scala?

2019-11-09 Thread Marcin Tustin
What do you mean by this? Spark is written in a combination of Scala and Java, and then compiled to Java Byte Code, as is typical for both Scala and Java. If there's additional byte code generation happening, it's java byte code, because the platform runs on the JVM. On Sat, Nov 9, 2019 at 12:47 P

Why Spark generates Java code and not Scala?

2019-11-09 Thread Bartosz Konieczny
Hi there, Few days ago I got an intriguing but hard to answer question: "Why Spark generates Java code and not Scala code?" (https://github.com/bartosz25/spark-scala-playground/issues/18) Since I'm not sure about the exact answer, I'd like to ask you to confirm or not my thinking. I was looking f