Does sorting/order by dataframe helps in returning result faster

前端 未结 0 1480
挽巷
挽巷 2021-02-12 19:38

I have a dataframe cached in memory using spark, on which I need to perform some lookup (using filter), like

val x = mydf.filter("id = 4526")
OR
val x =         


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