apache / arrow-adbc

Database connectivity API standard and libraries for Apache Arrow
https://arrow.apache.org/adbc/
Apache License 2.0
385 stars 97 forks source link

feat(csharp/src/Drivers/Apache): add connect and query timeout options #2312

Open birschick-bq opened 1 week ago

birschick-bq commented 1 week ago

Adds options for command and query timeout

Property Description Default
adbc.spark.connect_timeout_ms Sets the timeout (in milliseconds) to open a new session. Values can be -1 (infinite) or greater than zero. 30000
adbc.statement.query_timeout_s Sets the maximum time (in seconds) for a query to complete. Values can be -1 (infinite) or greater than zero. 60

TODO: Dynamically update HTTP request timeout when statement option is updated dynamically.