I have a DataFrame with multiple columns, e.g. I also have a list of the column names which corresponds to bowling stats: List bowlingParams = new ArrayList(Arrays.asList(“bowlingAvg”, “bowlingSR”, “wickets”)); Expected Schema: I can do it like this However, I want to use the list to dynamically select the column for struct. I know we can do it like this in
Tag: spark-java
Spark-Java framework, Jetty and JSP files
Go easy please, I’m rather new to the whole web development thing and I’m a little perplexed. I have the Spark framework installed from Maven, which has Jetty as its underlying web/application server, correct? Jetty is embedded in the Spark jar so I can’t/shouldn’t mess with it. Is that correct so far? I read that Spark’s embedded Jetty should support