how to custom sort in spark SQL?

后端 未结 0 1781
礼貌的吻别
礼貌的吻别 2020-12-05 11:21

for a column like

col
a
b
c

how do I get the output

col
c
a
b

is there an equivalent of order by field() in s

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