Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently, Partition sender does not accept sv2 or sv4. If the incoming batch is sv2 or sv4, a SelectionVectorRemover (SVR) op is required to remove sv2 or sv4. SVR is essentially doing copy, while partition sender is doing copy as well. This would introduce unnecessary copy to the whole query process.
In stead, we should enhance Partition sender so that it could take sv2 and sv4 directly, removing the SVR's copy overhead. This would improve the query performance in terms of cpu and memory consumption.