This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch FIDig
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/FIDig by this push:
new 0f6a749801 Delete check
0f6a749801 is described below
commit 0f6a749801ebdef5d7afafaba5f137e4e28bf766
Author: JackieTien97 <[email protected]>
AuthorDate: Tue Apr 4 13:57:18 2023 +0800
Delete check
---
.../apache/iotdb/db/mpp/execution/driver/DriverContext.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git
a/server/src/main/java/org/apache/iotdb/db/mpp/execution/driver/DriverContext.java
b/server/src/main/java/org/apache/iotdb/db/mpp/execution/driver/DriverContext.java
index 58a131545f..9b0ae75f28 100644
---
a/server/src/main/java/org/apache/iotdb/db/mpp/execution/driver/DriverContext.java
+++
b/server/src/main/java/org/apache/iotdb/db/mpp/execution/driver/DriverContext.java
@@ -29,8 +29,6 @@ import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
-import static com.google.common.base.Preconditions.checkArgument;
-
public class DriverContext {
private boolean inputDriver = true;
@@ -51,14 +49,6 @@ public class DriverContext {
public OperatorContext addOperatorContext(
int operatorId, PlanNodeId planNodeId, String operatorType) {
- checkArgument(operatorId >= 0, "operatorId is negative");
-
- for (OperatorContext operatorContext : operatorContexts) {
- checkArgument(
- operatorId != operatorContext.getOperatorId(),
- "A context already exists for operatorId %s",
- operatorId);
- }
OperatorContext operatorContext =
new OperatorContext(operatorId, planNodeId, operatorType, this);