Skip to content

Commit

Permalink
add some comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsofun committed Apr 17, 2024
1 parent 141e98b commit 5aeb081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ public void PingDatabendClientV1() throws SQLException {
statement.execute("select 1");
ResultSet r = statement.getResultSet();
while (r.next()) {
//System.out.println(r.getInt(1));
}
} catch (SQLException e) {
throw new DatabendFailedToPingException(String.format("failed to ping databend server: %s", e.getMessage()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ private ResultsPageIterator(DatabendClient client)
this.client = client;
}

// AsyncIterator will call this and put rows to queue with MAX_QUEUED_ROWS=5000
@Override
protected Iterable<List<Object>> computeNext()
{
Expand Down

0 comments on commit 5aeb081

Please sign in to comment.