Skip to content

Update the comparator branch - #792

Merged
samikshya-db merged 21 commits into
jdbc-comparatorfrom
main
Apr 12, 2025
Merged

samikshya-db merged 21 commits into
jdbc-comparatorfrom
main

Conversation

@samikshya-db

Copy link
Copy Markdown
Collaborator

Description

Testing

Additional Notes to the Reviewer

vikrantpuppala and others added 21 commits March 26, 2025 15:17
* draft for azure msi

* add unit tests

* remove debug line

* fmt

* Address comments

* Add debug logs
* Add support for retry timeout for UC vol operations
## Description
- DatabricksStatement uses the same-thread executor for the statement's CompletableFuture. By the time the code reaches the `futureResultSet.get(timeoutInSeconds, TimeUnit.SECONDS)` line, the task has already fully executed (or failed), so the timeout has no practical effect.
- Create a reusable TimeoutHandler utility class that centralizes timeout logic.
- Implement timeout checks during statement execution polling instead of relying on the CompletableFuture timeout.
- Add automatic cancellation of statements when timeouts occur.
- Ensure consistent timeout behavior across both SDK and Thrift client implementations.
- Move the DatabricksSdkClientTest class to the test counterpart of its source package. Delete the duplicate DatabricksSdkClientTest class.
- DatabricksThriftAccessor will now use connection param `asyncPollIntervalMillis`. Previously, the poll interval was hardcoded to 1 second.

## Testing
- Unit tests
- E2E testing
…nd adds support for thriftclient in test (#766)

* logging fixes

* fix logging test

* fix logging test

* fix logging test

* fix logging test

* fix logging test

* use printf in place of echo

* use powershell

* try java side fix

* fix comments

* minor fixes
* Made Hybrid results default

* Fixed unit test

* Added Fake service stubs

* Added stubs for Default hybrid mode

* Reverted to old stubs

* Reverted stubs

* Fix
* Support for custom headers

* Made headers case insensitive

* Added back the case matching in headers

* Formatting fix
* make changes for 1.0.3 release

* adds changelog

* updates changelog

* updates changelog

* updates changelog
* added edge cases for string and null

* update stubs

* add test for variant type

* add test for timestamp
… fix javadoc for public interfaces (#770)

* Fix javadoc for all public interfaces
- The default value of the param is kept as 900 seconds (same as earlier value and default in databricks-sdk-java)
- Set the param in thrift, dbfs, and sql-exec clients
…r Docs team feedback (#780)

* Rename UC timeout and retryable parameters based on Docs team feedback
…ession response gracefully (#779)

* init changes

* Refactor TSparkArrowTypes initialization based on protocol version

* added comments

* added several unit tests

* added more unit tests

* ran ProtocolFeatureUtilTest for all protocol versions

* store protocol version as TProtocolVersion enum.

* move db compute check to protocol feature util
@samikshya-db
samikshya-db merged commit 4675403 into jdbc-comparator Apr 12, 2025

This branch had an error being deployed

1 failed deployment
azure-prod — d3c767dc Deployed Apr 14, 2025 by samikshya-db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants