-
Couldn't load subscription status.
- Fork 160
feat(csharp/src/Drivers/Databricks): add configuration parameters and models for SEA #3588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Implements PECO-2787: Configuration & Models for Statement Execution API support. Added 6 new configuration parameters: - Protocol: choose between thrift and rest protocols - ResultDisposition: inline, external_links, or hybrid mode - ResultFormat: arrow_stream, json_array, or csv - ResultCompression: lz4, gzip, or none - WaitTimeout: statement execution wait timeout in seconds - PollingInterval: polling interval for async execution in milliseconds Created 17 REST API model classes with JSON serialization in new StatementExecution namespace for session management, statement execution, result manifests, and external link handling. Added comprehensive test coverage with 23 unit tests across 2 test files validating parameter constants and model serialization/deserialization. All tests passing (31 total including related tests).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file is duplicate with another PR, will merge and resolve after the other PR merged.
csharp/src/Drivers/Databricks/StatementExecution/StatementExecutionModels.cs
Show resolved
Hide resolved
|
there is a sessions/ path, that you can create session api. |
Is that a public path? I am not seeing it in the public doc. |
|
Summary
This PR implements the foundational configuration and data models for integrating the Databricks Statement
Execution REST API into the ADBC driver. This is the first subtask in a multi-phase effort to support the new
REST-based protocol as an alternative to the existing Thrift/HiveServer2 implementation.
Changes
Configuration Parameters (DatabricksParameters.cs):
REST API Models (StatementExecution/StatementExecutionModels.cs):
Test Coverage:
default values