I am generating a hierarchy for a table determining the parent child.
Below is the configuration used, even after getting the error with regards to the too large fra
use this spark config, spark.maxRemoteBlockSizeFetchToMem < 2g
Since there is lot of issues with> 2G partition (cannot shuffle, cannot cache on disk), Hence it is throwing failedfetchedexception too large data frame.