Github user xuchuanyin commented on the issue:
https://github.com/apache/carbondata/pull/1606
@jackylk Thanks for your review, since another PR #1594 has been merged,
I'll optimize this PR to reduce duplicate codes in writing sort temp files.---
