Can we use mappartition or mappartitionWithIndex on top of dataframe? If i want to control the number of partitions while reading data from hive table? Please let me know.
You can use these transformations on dataframe as well. If any error, import spark implicits and try. You can directly use filter conditions on hive partitions, no need to use mappartitions in this case. For hbase connections, you can use mappartitions.
Nice explanation.
Thank you very much.
Nice explanation, Thanks
@Srikanth, Thank you very much for watching the video and providing your feedback.
very well explained with practical.. thanks
Thank you Jayanaresh.
Good explanation... Thanks
Thank you Pradeep.
Thanks
Can we use mappartition or mappartitionWithIndex on top of dataframe?
If i want to control the number of partitions while reading data from hive table?
Please let me know.
You can use these transformations on dataframe as well. If any error, import spark implicits and try.
You can directly use filter conditions on hive partitions, no need to use mappartitions in this case.
For hbase connections, you can use mappartitions.