Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hantmac committed Apr 24, 2024
1 parent 198dca4 commit 6cc189b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ final boolean internalExecute(String sql, StageAttachment attachment) throws SQL
while (client.hasNext()) {
QueryResults results = client.getResults();
List<List<Object>> data = results.getData();
List<QueryRowField> schema = results.getSchema();
// if ((data == null || data.isEmpty()) && (schema == null || schema.isEmpty())) {
// List<QueryRowField> schema = results.getSchema();
if (data == null || data.isEmpty()) {
client.advance();
} else {
Expand Down

0 comments on commit 6cc189b

Please sign in to comment.