This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch ty/TableModelGrammar in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit d7039b08d6a88347b6d7098bce97c982cb2ce47b Author: JackieTien97 <[email protected]> AuthorDate: Thu May 30 10:08:53 2024 +0800 format code --- .../execution/operator/process/relational/StreamSortOperator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/process/relational/StreamSortOperator.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/process/relational/StreamSortOperator.java index 1e1afe99e22..9c4d65bc12d 100644 --- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/process/relational/StreamSortOperator.java +++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/process/relational/StreamSortOperator.java @@ -54,6 +54,8 @@ import static org.apache.iotdb.db.utils.sort.SortBufferManager.SORT_BUFFER_SIZE; public class StreamSortOperator implements ProcessOperator { + private static final Logger LOGGER = LoggerFactory.getLogger(StreamSortOperator.class); + private static final long INSTANCE_SIZE = RamUsageEstimator.shallowSizeOfInstance(SortOperator.class); private final OperatorContext operatorContext; @@ -77,7 +79,6 @@ public class StreamSortOperator implements ProcessOperator { private List<SortReader> sortReaders; private boolean[] noMoreData; - private static final Logger logger = LoggerFactory.getLogger(SortOperator.class); private final int maxReturnSize = TSFileDescriptor.getInstance().getConfig().getMaxTsBlockSizeInBytes(); @@ -330,7 +331,7 @@ public class StreamSortOperator implements ProcessOperator { } } } catch (Exception e) { - logger.error("Fail to close fileChannel", e); + LOGGER.error("Fail to close fileChannel", e); } }
