wonb168 opened a new issue, #2647:
URL: https://github.com/apache/arrow-adbc/issues/2647

   ### What happened?
   
   why new a connection to gp need 98 second?
   
   
   ### Stack Trace
   
   when connect to gp,
   adbc will read all tables to get column types?
   how to speed connect to gp?
   
   ### How can we reproduce the bug?
   
   ```
   import os
   import time
   import adbc_driver_postgresql.dbapi
   
   #uri = os.environ["ADBC_POSTGRESQL_TEST_URI"]
   t=time.time()
   conn = adbc_driver_postgresql.dbapi.connect(uri)
   print(time.time()-t)
   with conn.cursor() as cur:
       cur.execute("SELECT 1")
       print(cur.fetchone())
       # Output: (1,)
   
   conn.close()
   ```
   
   ### Environment/Setup
   
   greeplum 6.12(postgres 9.4)
   server: centos7.9
   client: macos
   python:3.11.9
   package manager: pip
   adbc-driver-manager                               1.0.0
   adbc-driver-postgresql                            1.2.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to