xinyiZzz commented on issue #2078:
URL: https://github.com/apache/arrow-adbc/issues/2078#issuecomment-2288572027

   > Pass this as a database option: 
https://arrow.apache.org/adbc/current/python/api/adbc_driver_flightsql.html#adbc_driver_flightsql.DatabaseOptions.WITH_MAX_MSG_SIZE
   
   Cool! , I tested `WITH_MAX_MSG_SIZE` and it works, like this:
   ```
   conn = flight_sql.connect(uri="grpc://xxx:xxx", db_kwargs={
               adbc_driver_manager.DatabaseOptions.USERNAME.value: "root",
               adbc_driver_manager.DatabaseOptions.PASSWORD.value: "",
               adbc_driver_flightsql.DatabaseOptions.WITH_MAX_MSG_SIZE.value: 
"300",
           })
   ```
   Thanks, I'll look at the document more carefully.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to