qiaojialin commented on a change in pull request #819: [IOTDB-496]An extra line
in align by device query
URL: https://github.com/apache/incubator-iotdb/pull/819#discussion_r380149727
##########
File path: client/src/main/java/org/apache/iotdb/client/AbstractClient.java
##########
@@ -607,13 +612,16 @@ private static void executeQuery(IoTDBConnection
connection, String cmd) {
}
private static void output(List<List<String>> lists, List<Integer>
maxSizeList) {
- printBlockLine(maxSizeList);
- printRow(lists, 0, maxSizeList);
- printBlockLine(maxSizeList);
- for (int i = 1; i < lists.get(0).size(); i++) {
- printRow(lists, i, maxSizeList);
+ int size = lists.get(0).size();
Review comment:
Hi, please print the table header information if it's an empty set.
----------------------------------------------------------------
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]
With regards,
Apache Git Services