Spark SQL find min value in column and get whole row

后端 未结 0 1855
Happy的楠姐
Happy的楠姐 2020-12-08 10:01

I have a table like below and I want to get row where distance in min in spark sql

I tried this

result.select($"sourceBorder", $"targetB         


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