Accumulators displayed in SparkUI in 1.4.1?

2016-05-25 Thread Daniel Barclay
Was the feature of displaying accumulators in the Spark UI implemented in Spark 1.4.1, or was that added later? Thanks, Daniel - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail:

How to convert from DataFrame to Dataset[Row]?

2016-07-15 Thread Daniel Barclay
In Spark 1.6.1, how can I convert a DataFrame to a Dataset[Row]? Is there a direct conversion? (Trying .as[Row] doesn't work, even after importing .implicits._ .) Is there some way to map the Rows from the Dataframe into the Dataset[Row]? (DataFrame.map would just make another Dataframe,

Re: Why the json file used by sparkSession.read.json must be a valid json object per line

2016-10-18 Thread Daniel Barclay
Koert, Koert Kuipers wrote: A single json object would mean for most parsers it needs to fit in memory when reading or writing Note that codlife didn't seem to being asking about /single-object/ JSON files, but about /standard-format/ JSON files. On Oct 15, 2016 11:09, "codlife"

Re: CSV escaping not working

2016-10-28 Thread Daniel Barclay
In any case, it seems that the current behavior is not documented sufficiently. Koert Kuipers wrote: i can see how unquoted csv would work if you escape delimiters, but i have never seen that in practice. On Thu, Oct 27, 2016 at 2:03 PM, Jain, Nishit