This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 1f853f1 Use safer SQL query to guarantee column order
1f853f1 is described below
commit 1f853f155ed401fc95cd57ec44cfeaaffc14f54f
Author: Shunfan Shao <[email protected]>
AuthorDate: Wed Nov 24 03:40:36 2021 -0600
Use safer SQL query to guarantee column order
---
.../src/test/java/org/apache/zeppelin/iotdb/IoTDBInterpreterTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/zeppelin-interpreter/src/test/java/org/apache/zeppelin/iotdb/IoTDBInterpreterTest.java
b/zeppelin-interpreter/src/test/java/org/apache/zeppelin/iotdb/IoTDBInterpreterTest.java
index 70dc86f..d98a769 100644
---
a/zeppelin-interpreter/src/test/java/org/apache/zeppelin/iotdb/IoTDBInterpreterTest.java
+++
b/zeppelin-interpreter/src/test/java/org/apache/zeppelin/iotdb/IoTDBInterpreterTest.java
@@ -189,7 +189,8 @@ public class IoTDBInterpreterTest {
public void testSelectColumnStatementWithTimeFilter() {
InterpreterResult actual =
interpreter.internalInterpret(
- "select * from root.test.wf01.wt01 where time > 2 and time < 6",
null);
+ "select temperature, status, hardware from root.test.wf01.wt01
where time > 2 and time < 6",
+ null);
String gt =
"Time\troot.test.wf01.wt01.temperature\troot.test.wf01.wt01.status\troot.test.wf01.wt01.hardware\n"
+ "3\t3.3\tfalse\t33.0\n"