I am trying to overwrite the table which part of source as well. As we are aware it can\'t be done both the scenarios on same table.
So i created Spark temp table and