This is an automated email from the ASF dual-hosted git repository.
lta pushed a commit to branch add_create_ts_operator
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/add_create_ts_operator by this
push:
new 1d2cef3 fix bug of physical plan test
1d2cef3 is described below
commit 1d2cef31489992d74bb09ab12382c644790fe7f8
Author: lta <[email protected]>
AuthorDate: Thu Apr 4 10:20:46 2019 +0800
fix bug of physical plan test
---
iotdb/src/test/java/org/apache/iotdb/db/qp/plan/PhysicalPlanTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/iotdb/src/test/java/org/apache/iotdb/db/qp/plan/PhysicalPlanTest.java
b/iotdb/src/test/java/org/apache/iotdb/db/qp/plan/PhysicalPlanTest.java
index d8ebfa9..834ed08 100644
--- a/iotdb/src/test/java/org/apache/iotdb/db/qp/plan/PhysicalPlanTest.java
+++ b/iotdb/src/test/java/org/apache/iotdb/db/qp/plan/PhysicalPlanTest.java
@@ -90,9 +90,10 @@ public class PhysicalPlanTest {
String sql = "grant role xm privileges
'SET_STORAGE_GROUP','DELETE_TIMESERIES' on root.vehicle.d1.s1";
QueryProcessor processor = new QueryProcessor(new MemIntQpExecutor());
AuthorPlan plan = (AuthorPlan) processor.parseSQLToPhysicalPlan(sql);
+ System.out.println(plan.toString());
assertEquals(
"userName: null\n" + "roleName: xm\n" + "password: null\n" +
"newPassword: null\n"
- + "permissions: [0, 4]\n" + "nodeName: root.vehicle.d1.s1\n" +
"authorType: GRANT_ROLE",
+ + "permissions: [0, 5]\n" + "nodeName: root.vehicle.d1.s1\n" +
"authorType: GRANT_ROLE",
plan.toString());
}