spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 崔苗 <>
Subject Re:Re: how to use lit() in spark-java
Date Mon, 26 Mar 2018 02:32:48 GMT
It works,thanks

在 2018-03-23 21:33:41,Anil Langote <> 写道:
You have import functions 


Thank you
Anil Langote

Sent from my iPhone

 From: 崔苗 <>
 Sent: Friday, March 23, 2018 8:33 AM
 Subject: how to use lit() in spark-java
 To: <>

Hi Guys, 

I want to add a constant column to dataset by lit function in java, like that:
 but it's seems that idea coundn't found the lit() function,so how to use lit() function in

 thanks for any reply

View raw message