wshao08 commented on a change in pull request #1400: URL: https://github.com/apache/incubator-iotdb/pull/1400#discussion_r450587979
########## File path: session/src/main/java/org/apache/iotdb/session/Session.java ########## @@ -747,14 +747,37 @@ public void deleteData(String path, long time) * delete data <= time in multiple timeseries * * @param paths data in which time series to delete - * @param time data with time stamp less than or equal to time will be deleted + * @param endTime data with time stamp less than or equal to time will be deleted */ - public void deleteData(List<String> paths, long time) + public void deleteData(List<String> paths, long endTime) throws IoTDBConnectionException, StatementExecutionException { TSDeleteDataReq request = new TSDeleteDataReq(); request.setSessionId(sessionId); request.setPaths(paths); - request.setTimestamp(time); + request.setStartTime(Long.MIN_VALUE); + request.setEndTime(endTime); + Review comment: Fixed ---------------------------------------------------------------- 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: us...@infra.apache.org