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

   ### What would you like help with?
   
   From `Rust`, when calling `Connection::commit()` I get:
   
   `Error { message: "[Snowflake] Cannot commit when autocommit is enabled", 
status: InvalidState, vendor_code: -2147483648, sqlstate: [0, 0, 0, 0, 0], 
details: Some([]) }`
   
   And when I try to disable auto commit [1], I get:
   
   ```rust
   Error { message: "[Snowflake] Unknown connection option 
'adbc.connection.autocommit'", status: NotImplemented, vendor_code: 
-2147483648, sqlstate: [0, 0, 0, 0, 0], details: Some([]) }
   ```
   
   If the driver doesn't support auto-commit, can it understand that 
auto-commit is disabled and let `Connection::commit()` calls work?
   
   [1]
   ```rust
   conn.set_option(OptionConnection::AutoCommit, OptionValue::Int(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