-
Hi, I find doris does not release connection after query finish, is there any problem in my code? import adbc_driver_manager
import adbc_driver_flightsql.dbapi as flight_sql
import time
info = ... # some config
conn = flight_sql.connect(uri="grpc://192.168.168.90:9040", db_kwargs={
adbc_driver_manager.DatabaseOptions.USERNAME.value: info["user"],
adbc_driver_manager.DatabaseOptions.PASSWORD.value: info["password"],
})
cursor = conn.cursor()
start = time.time()
cursor.execute("select * from daily_table;")
print(cursor.fetchallarrow().to_pandas())
print(time.time() - start)
cursor.close()
conn.close() The returned data is normal, but the connection info is still in WebUI session info after query finished. The value in column Doris version is 2.1.1 Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
ixzc
May 15, 2024
Replies: 1 comment 1 reply
-
we have fixed it in version 2.1.3 : #32911 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
actcwlf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
we have fixed it in version 2.1.3 : #32911