From 6cc189b2dffd19030125affb4da1edad11fdc848 Mon Sep 17 00:00:00 2001 From: hantmac Date: Wed, 24 Apr 2024 21:52:00 +0800 Subject: [PATCH] fix --- .../src/main/java/com/databend/jdbc/DatabendStatement.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/databend-jdbc/src/main/java/com/databend/jdbc/DatabendStatement.java b/databend-jdbc/src/main/java/com/databend/jdbc/DatabendStatement.java index f76289d3..129d8c37 100644 --- a/databend-jdbc/src/main/java/com/databend/jdbc/DatabendStatement.java +++ b/databend-jdbc/src/main/java/com/databend/jdbc/DatabendStatement.java @@ -201,8 +201,7 @@ final boolean internalExecute(String sql, StageAttachment attachment) throws SQL while (client.hasNext()) { QueryResults results = client.getResults(); List> data = results.getData(); - List schema = results.getSchema(); -// if ((data == null || data.isEmpty()) && (schema == null || schema.isEmpty())) { +// List schema = results.getSchema(); if (data == null || data.isEmpty()) { client.advance(); } else {