Alima777 commented on a change in pull request #2436:
URL: https://github.com/apache/iotdb/pull/2436#discussion_r553070187
##########
File path:
server/src/test/java/org/apache/iotdb/db/integration/IoTDBMultiSeriesIT.java
##########
@@ -277,12 +277,18 @@ public void selectAllFromVehicleTest() throws
ClassNotFoundException {
while (resultSet.next()) {
String ans =
resultSet.getString(TestConstant.TIMESTAMP_STR)
- + "," + resultSet.getString(TestConstant.d0 +
IoTDBConstant.PATH_SEPARATOR + TestConstant.s0)
- + "," + resultSet.getString(TestConstant.d0 +
IoTDBConstant.PATH_SEPARATOR + TestConstant.s1)
- + "," + resultSet.getString(TestConstant.d0 +
IoTDBConstant.PATH_SEPARATOR + TestConstant.s2)
- + "," + resultSet.getString(TestConstant.d0 +
IoTDBConstant.PATH_SEPARATOR + TestConstant.s3)
- + "," + resultSet.getString(TestConstant.d0 +
IoTDBConstant.PATH_SEPARATOR + TestConstant.s4)
- + "," + resultSet.getString(TestConstant.d0 +
IoTDBConstant.PATH_SEPARATOR + TestConstant.s5);
+ + "," + resultSet
+ .getString(TestConstant.d0 + IoTDBConstant.PATH_SEPARATOR +
TestConstant.s0)
Review comment:
`ans` is not used here, please delete it.
##########
File path:
server/src/test/java/org/apache/iotdb/db/integration/IoTDBGroupByFillWithRangeIT.java
##########
@@ -113,7 +117,7 @@ public void previousFillTestWithTimeRange() {
String ans = resultSet.getString(TIMESTAMP_STR) + "," + resultSet
.getString(last_value("root.ln.wf01.wt01.temperature"));
assertEquals(retArray2[cnt], ans);
- System.out.println(ans);
+ logger.debug(ans);
Review comment:
It's better to clear it directly I think.
##########
File path:
server/src/test/java/org/apache/iotdb/db/query/reader/series/SeriesReaderTest.java
##########
@@ -145,7 +145,7 @@ public void descOrderTest() {
long expectedTime = 499;
while (pointReader.hasNextTimeValuePair()) {
TimeValuePair timeValuePair = pointReader.nextTimeValuePair();
- System.out.println(timeValuePair);
+ logger.debug(timeValuePair.toString());
Review comment:
delete it.
----------------------------------------------------------------
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]