From 219c21fead430135b4ddc62c1c7f1cddcf17afba Mon Sep 17 00:00:00 2001 From: Zou Xinyi Date: Wed, 25 Dec 2024 15:50:57 +0800 Subject: [PATCH] 3 --- .../doris/service/arrowflight/DorisFlightSqlProducer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/DorisFlightSqlProducer.java b/fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/DorisFlightSqlProducer.java index a6723bf0cf31595..986d17589d6d17f 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/DorisFlightSqlProducer.java +++ b/fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/DorisFlightSqlProducer.java @@ -521,8 +521,8 @@ public void getStreamTables(final CommandGetTables command, final CallContext co VarCharVector tableTypeVector = (VarCharVector) vectorSchemaRoot.getVector("table_type"); // VarBinaryVector schemaVector = (VarBinaryVector) vectorSchemaRoot.getVector("table_schema"); - final int tablesCount = 0; - for (int i = 0; i < 0; i++) { + final int tablesCount = 1; + for (int i = 0; i < tablesCount; i++) { catalogNameVector.setNull(i); schemaNameVector.setSafe(i, new Text("1111")); tableTypeVector.setSafe(i, new Text("2222"));