From 9a7ca084f0b9b62e938f2d1a83c57aa6f98825b9 Mon Sep 17 00:00:00 2001 From: Chen Dai Date: Fri, 25 Nov 2022 14:54:28 -0800 Subject: [PATCH] Rename child field Signed-off-by: Chen Dai --- .../opensearch/sql/storage/write/TableWriteOperator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/opensearch/sql/storage/write/TableWriteOperator.java b/core/src/main/java/org/opensearch/sql/storage/write/TableWriteOperator.java index 007b725677..92cdc6eb41 100644 --- a/core/src/main/java/org/opensearch/sql/storage/write/TableWriteOperator.java +++ b/core/src/main/java/org/opensearch/sql/storage/write/TableWriteOperator.java @@ -19,8 +19,8 @@ @RequiredArgsConstructor public abstract class TableWriteOperator extends PhysicalPlan { - /** Child physical node. */ - private final PhysicalPlan child; + /** Input physical node. */ + protected final PhysicalPlan input; @Override public R accept(PhysicalPlanNodeVisitor visitor, C context) { @@ -29,7 +29,7 @@ public R accept(PhysicalPlanNodeVisitor visitor, C context) { @Override public List getChild() { - return Collections.singletonList(child); + return Collections.singletonList(input); } /**