VGalaxies commented on code in PR #14386:
URL: https://github.com/apache/iotdb/pull/14386#discussion_r1888108786


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/ShowPipes.java:
##########
@@ -24,17 +24,23 @@
 import java.util.Objects;
 
 import static com.google.common.base.MoreObjects.toStringHelper;
+import static java.util.Objects.requireNonNull;
 
 public class ShowPipes extends PipeStatement {
 
   private final String pipeName;
   private final boolean hasWhereClause;
+  private String sqlDialect;
 
   public ShowPipes(final @Nullable String pipeName, final boolean 
hasWhereClause) {
     this.pipeName = pipeName;
     this.hasWhereClause = hasWhereClause;
   }
 
+  public void setSqlDialect(final String sqlDialect) {

Review Comment:
   applied



##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/service/thrift/ConfigNodeRPCServiceProcessor.java:
##########
@@ -1110,18 +1113,37 @@ public TSStatus alterPipe(TAlterPipeReq req) {
 
   @Override
   public TSStatus startPipe(String pipeName) {
-    return configManager.startPipe(pipeName);
+    return configManager.startPipe(
+        new TStartPipeReq()
+            .setPipeName(pipeName)
+            .setSqlDialect(SystemConstant.SQL_DIALECT_TREE_VALUE));

Review Comment:
   applied



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to