alexguo-db opened a new pull request, #2692:
URL: https://github.com/apache/arrow-adbc/pull/2692

   We want to be able to pass server side properties through the driver, e.g. 
use_cached_result.
   In ODBC driver, the behavior is like this:
   - If ApplySSPWithQueries = 1, set server side properties using "set x=y" 
commands during open session
   - If ApplySSPWithQueries = 0, set server side properties using thrift 
configuration
   
   We support this in ADBC driver as well
   
   Tested E2E by setting 
   ```
   { "adbc.databricks.apply_ssp_with_queries", "false" },
   { "adbc.databricks.SSP_use_cached_result", "false"},
   ```
   which disabled result cache for the executed query.
   
   When using `{ "adbc.databricks.apply_ssp_with_queries", "true" }`, I see a 
set query in the query history
   <img width="620" alt="image" 
src="https://github.com/user-attachments/assets/cabb2708-04d7-40e7-a120-cd956c527fb8";
 />
   


-- 
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: github-unsubscr...@arrow.apache.org

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

Reply via email to