Can you simply do a string split on space, and then another on '='? On Sun, Aug 9, 2020 at 12:00 PM anbutech <anbutec...@outlook.com> wrote:
> Hi All, > > I have a following info.in the data column. > > <1000> date=2020-08-01 time=20:50:04 name=processing id=123 session=new > packt=20 orgin=null address=null dest=fgjglgl > > here I want to create a separate column for the above key value pairs after > the integer <1000> separated by spaces. > Is there any way to achieved it using regexp_extract inbuilt functions.i > don't want to do it using udf function. > apart from udf,is there any way to achieved it. > > > Thanks > > > > -- > Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/ > > --------------------------------------------------------------------- > To unsubscribe e-mail: user-unsubscr...@spark.apache.org > > -- *Patrick McCarthy * Senior Data Scientist, Machine Learning Engineering Dstillery 470 Park Ave South, 17th Floor, NYC 10016