This should work from java too: http://spark.apache.org/docs/1.3.1/api/java/index.html#org.apache.spark.sql.functions$
On Tue, May 5, 2015 at 4:15 AM, Jan-Paul Bultmann <janpaulbultm...@me.com> wrote: > Hey, > What is the recommended way to create literal columns in java? > Scala has the `lit` function from `org.apache.spark.sql.functions`. > Should it be called from java as well? > > Cheers jan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >