You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Bo Zhang (Jira)" <ji...@apache.org> on 2022/02/28 15:23:00 UTC
[jira] [Commented] (IOTDB-2629) new_sync branch, use unescapeJava() to handle CMD having `xxx`
[ https://issues.apache.org/jira/browse/IOTDB-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498961#comment-17498961 ]
Bo Zhang commented on IOTDB-2629:
---------------------------------
https://github.com/apache/iotdb/pull/5139
> new_sync branch, use unescapeJava() to handle CMD having `xxx`
> ----------------------------------------------------------------
>
> Key: IOTDB-2629
> URL: https://issues.apache.org/jira/browse/IOTDB-2629
> Project: Apache IoTDB
> Issue Type: Bug
> Reporter: Bo Zhang
> Assignee: Bo Zhang
> Priority: Major
> Labels: pull-request-available
>
> In org.apache.iotdb.db.qp.sql.IoTDBSqlVisitor#visitCreatePipeSink
> {code:java}
> CreatePipeSinkOperator operator =
> new CreatePipeSinkOperator(ctx.pipeSinkName.getText(), ctx.pipeSinkType.getText()); {code}
> should be changed to
> {code:java}
> CreatePipeSinkOperator operator =
> new CreatePipeSinkOperator(
> StringEscapeUtils.unescapeJava(ctx.pipeSinkName.getText()),
> StringEscapeUtils.unescapeJava(ctx.pipeSinkType.getText())); I{code}
> So, to avoid customer CMD use `xxxx` as self-defined parameter.
>
> In fact, this file (IoTDBSqlVisitor.java) has sevaral similar bus for new_sync related CMD.
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)