Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
Description
removeTempOrDuplicateFiles(.) has an opportunity for performance code optimization for the
test case of "INSERT OVERWITE on MM table. SELECT FROM (SELECT .. UNION ALL SELECT ..)" from dp_counter_mm.q.
This is MM table specific and we can avoid calling fs.exists() by creating a specific mmDirectories
list for the current SELECT statement (out of two SELECTs in our test case from
the dp_counter_mm.q) from the IOW union all query.