Reading n random records from first partition in spark

前端 未结 0 1407
误落风尘
误落风尘 2021-02-15 05:31

I need to know if there is any way to fetch n random records from first partition in spark. For example if i want to fetch 50 records and there are total 10000 records in datase

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