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

   First noted here: 
https://github.com/apache/arrow-adbc/issues/1129#issuecomment-1768879282
   
   ```r
   library(adbcdrivermanager)
   
   adbc_database_init(
     adbcpostgresql::adbcpostgresql(),
     uri = Sys.getenv("ADBC_POSTGRESQL_TEST_URI")
   ) |> 
     adbc_connection_init() |>
     adbc_connection_get_option("adbc.connection.autocommit")
   #> Error in 
adbc_connection_get_option(adbc_connection_init(adbc_database_init(adbcpostgresql::adbcpostgresql(),
   #> :embedded nul in string: 'true\0'
   ```
   
   It seems like this is intentional: 
https://github.com/apache/arrow-adbc/blob/main/c/driver/postgresql/connection.cc#L772-L776
   
   ...but I didn't expect it given the symmetry with getting bytes options and 
commitment to communicating the final size. Was it the intention that the 
null-terminator is included in the output size?


-- 
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