jt2594838 commented on a change in pull request #1169:
URL: https://github.com/apache/incubator-iotdb/pull/1169#discussion_r428414913
##########
File path:
server/src/main/java/org/apache/iotdb/db/qp/physical/sys/AuthorPlan.java
##########
@@ -125,6 +130,58 @@ public AuthorPlan(AuthorOperator.AuthorType authorType,
String userName, String
}
}
+ public AuthorPlan(OperatorType operatorType) throws IOException {
+ super(false, operatorType);
+
setAuthorType(AuthorType.values()[transformOperatorTypeToAuthorType(operatorType)]);
+ }
+
+ private int transformOperatorTypeToAuthorType(OperatorType operatorType)
Review comment:
I do not think this makes any difference.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]