Hi,
I'm using lifted embedding, I was wondering if this is possible, I tried playing around with yield but with no success.
My case class looks something like this. case class Info(data: String, company:String, user:String)
The regular SQL that I would use is as follows.
select data, company,CASE WHEN user='randomuser' THEN 'New Company' ELSE company END as companyName from info
Ultimately, I want to mask certain columns if some conditions are true without having to have to get results and loop through it again.
Thanks.