You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/05/24 13:05:20 UTC

[GitHub] [incubator-iotdb] Genius-pig commented on a change in pull request #1253: support special characters.

Genius-pig commented on a change in pull request #1253:
URL: https://github.com/apache/incubator-iotdb/pull/1253#discussion_r429634665



##########
File path: server/src/test/java/org/apache/iotdb/db/qp/plan/PhysicalPlanTest.java
##########
@@ -796,4 +796,11 @@ public void testLastPlanDataTypes() throws QueryProcessException {
       assertEquals(TSDataType.FLOAT, dt);
     }
   }
+
+  @Test
+  public void testSpecialCharacters() throws QueryProcessException {
+    String sqlStr1 = "create timeseries root.3e-3.-1.1/2.SNAPPY.RLE with datatype=FLOAT, encoding=RLE, compression=SNAPPY tags(tag1=v1, tag2=v2) attributes(attr1=v1, attr2=v2)";
+    PhysicalPlan plan1 = processor.parseSQLToPhysicalPlan(sqlStr1);
+    Assert.assertEquals(OperatorType.CREATE_TIMESERIES, plan1.getOperatorType());

Review comment:
       I think it's OK.




----------------------------------------------------------------
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:
users@infra.apache.org