You can always create another DF using a map. In reality operations are lazy so only final value will get computed.
Can you provide the usecase in little more detail? On 21 Apr 2015 08:39, "ARose" <ashley.r...@telarix.com> wrote: > In my Java application, I want to update the values of a Column in a given > DataFrame. However, I realize DataFrames are immutable, and therefore > cannot > be updated by conventional means. Is there a workaround for this sort of > transformation? If so, can someone provide an example? > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Updating-a-Column-in-a-DataFrame-tp22578.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >