I have a DataFrame which I want to extend by a new column. Creating a new DateFrame from Rows is explained here.
My current strategy is to construct new Rows with the RowFactory from the Rows that are passed into my map invoked by DataFrame.javaRDD().map(...) but I fear that this might create unnecessary costs.
So I wonder if instead of creating new Rows, can I just extend the existing Rows by appending the new field. The Row interface doesn't seem to allow that.