SteveYurongSu commented on code in PR #9245:
URL: https://github.com/apache/iotdb/pull/9245#discussion_r1130327011


##########
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4:
##########
@@ -1026,3 +1026,27 @@ attributeValue
     : identifier
     | constant
     ;
+
+collectorAttributesClause
+    : WITH COLLECTOR LR_BRACKET (collectorAttributeClause COMMA)* 
collectorAttributeClause? RR_BRACKET
+    ;
+
+collectorAttributeClause
+    : collector_key=STRING_LITERAL OPERATOR_SEQ collector_value=STRING_LITERAL
+    ;
+
+processorAttributesClause
+    : WITH PROCESSOR LR_BRACKET (processorAttributeClause COMMA)* 
processorAttributeClause? RR_BRACKET

Review Comment:
   The same as above.



##########
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4:
##########
@@ -1026,3 +1026,27 @@ attributeValue
     : identifier
     | constant
     ;
+
+collectorAttributesClause
+    : WITH COLLECTOR LR_BRACKET (collectorAttributeClause COMMA)* 
collectorAttributeClause? RR_BRACKET
+    ;
+
+collectorAttributeClause
+    : collector_key=STRING_LITERAL OPERATOR_SEQ collector_value=STRING_LITERAL
+    ;
+
+processorAttributesClause
+    : WITH PROCESSOR LR_BRACKET (processorAttributeClause COMMA)* 
processorAttributeClause? RR_BRACKET
+    ;
+
+processorAttributeClause
+    : processor_key=STRING_LITERAL OPERATOR_SEQ processor_value=STRING_LITERAL

Review Comment:
   The same as above.



##########
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4:
##########
@@ -1026,3 +1026,27 @@ attributeValue
     : identifier
     | constant
     ;
+
+collectorAttributesClause
+    : WITH COLLECTOR LR_BRACKET (collectorAttributeClause COMMA)* 
collectorAttributeClause? RR_BRACKET
+    ;
+
+collectorAttributeClause
+    : collector_key=STRING_LITERAL OPERATOR_SEQ collector_value=STRING_LITERAL
+    ;
+
+processorAttributesClause
+    : WITH PROCESSOR LR_BRACKET (processorAttributeClause COMMA)* 
processorAttributeClause? RR_BRACKET
+    ;
+
+processorAttributeClause
+    : processor_key=STRING_LITERAL OPERATOR_SEQ processor_value=STRING_LITERAL
+    ;
+
+connectorAttributesClause
+    : WITH CONNECTOR LR_BRACKET (connectorAttributeClause COMMA)* 
connectorAttributeClause? RR_BRACKET
+    ;

Review Comment:
   The same as above.



##########
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4:
##########
@@ -1026,3 +1026,27 @@ attributeValue
     : identifier
     | constant
     ;
+
+collectorAttributesClause
+    : WITH COLLECTOR LR_BRACKET (collectorAttributeClause COMMA)* 
collectorAttributeClause? RR_BRACKET
+    ;
+
+collectorAttributeClause
+    : collector_key=STRING_LITERAL OPERATOR_SEQ collector_value=STRING_LITERAL
+    ;
+
+processorAttributesClause
+    : WITH PROCESSOR LR_BRACKET (processorAttributeClause COMMA)* 
processorAttributeClause? RR_BRACKET
+    ;
+
+processorAttributeClause
+    : processor_key=STRING_LITERAL OPERATOR_SEQ processor_value=STRING_LITERAL
+    ;
+
+connectorAttributesClause
+    : WITH CONNECTOR LR_BRACKET (connectorAttributeClause COMMA)* 
connectorAttributeClause? RR_BRACKET
+    ;
+
+connectorAttributeClause
+    : connector_key=STRING_LITERAL OPERATOR_SEQ connector_value=STRING_LITERAL

Review Comment:
   The same as above.



-- 
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