Github user xuchuanyin commented on the issue:
https://github.com/apache/carbondata/pull/3056
@manishnalla1994
> Solution:
Check if any other RDD is sharing the same task context. If so, don't the
clear the resource at that time, the other RDD which shared the context should
clear the memory once after the task is finished.
It seems in #2591, for data source table scenario, if the query and insert
procedures also share the same context, it can also benefit from the
implementation in #2591 without any changes. Right?
---