This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new c8a5c16fa2b branch-4.1: [fix](regression) Avoid prepared Arrow JDBC
path in remote IP auth test #64024 (#64049)
c8a5c16fa2b is described below
commit c8a5c16fa2b727e0ad5b94bdfcb17b7ef0f39e9d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Jun 3 19:22:54 2026 +0800
branch-4.1: [fix](regression) Avoid prepared Arrow JDBC path in remote IP
auth test #64024 (#64049)
Cherry-picked from #64024
Co-authored-by: Calvin Kirs <[email protected]>
---
regression-test/suites/arrow_flight_sql_p0/test_auth_remote_ip.groovy | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/regression-test/suites/arrow_flight_sql_p0/test_auth_remote_ip.groovy
b/regression-test/suites/arrow_flight_sql_p0/test_auth_remote_ip.groovy
index 1b58a31fb63..1d9f02260da 100644
--- a/regression-test/suites/arrow_flight_sql_p0/test_auth_remote_ip.groovy
+++ b/regression-test/suites/arrow_flight_sql_p0/test_auth_remote_ip.groovy
@@ -18,6 +18,8 @@
import java.sql.Connection
import java.sql.DriverManager
+import org.apache.doris.regression.util.JdbcUtils
+
suite("test_auth_remote_ip", "arrow_flight_sql") {
String user = "flight_auth_remote_ip_user"
String password = "flight_auth_remote_ip_pwd"
@@ -60,7 +62,7 @@ suite("test_auth_remote_ip", "arrow_flight_sql") {
Connection conn = DriverManager.getConnection(arrowFlightSqlUrl, user,
password)
try {
- List<List<Object>> result = sql_impl(conn, "SELECT 1")
+ def (result, meta) = JdbcUtils.executeQueryToList(conn, "SELECT 1")
assertEquals(1, result.size())
assertEquals(1, (result[0][0] as Number).intValue())
} finally {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]