How to cast a sql column same as of another column in sparksql?

后端 未结 0 561
北荒
北荒 2021-01-28 10:30
"cast(p.credit_amount * COALESCE(cer.val,1.00) as BIGINT) as credit_amount_usd"

I want to cast credit_amount_usd column same as p.credit_amoun

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