I want to add a url link as a new column in a certain table which is derived from the elements in the table.
I have written a certain code but I think I am making a blunder somewhere
myTbl = baseTbl.withColumn("automation link", lit("https://", str(tent), ".live.infarma.com/ui/page-sessions/-", str(userid), "/session?gtf=I_90_DAYS&sessionId=" str(startime, endtime, sessionid), sep = "x" "& id=-", str(internalid) "&filtrfilterApplication=", str(applicationid), "&filtrfilterS=1&gf=all"))
I am getting an error if I do this