Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/891#discussion_r47457505
--- Diff:
tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/ExternalSortExec.java
---
@@ -333,8 +334,9 @@ private int calculateFanout(int remainInputChunks, int
inputNum, int outputNum,
private Scanner externalMergeAndSort(List<Chunk> chunks) throws
Exception {
int level = 0;
- final List<Chunk> inputFiles = TUtil.newList(chunks);
- final List<Chunk> outputFiles = TUtil.newList();
+ final List<Chunk> inputFiles = new ArrayList<>();
+ inputFiles.addAll(chunks);
--- End diff --
Can be rewritten with a single constructor call.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---