how to pass the case statement inside sql file with out converting it to string, in to .selectExpr(“*”, “case statement to be passed here”)

前端 未结 0 711
滥情空心
滥情空心 2020-12-20 15:41

I have below case statement in sql file

note - it is just a sample statement and i saved it as col_sql.sql

"CASE WHEN a = 1 THEN ONE END AS INT_VA         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题