- Add custom headers support
- Expose http client
var client = new Client(cfg);
var headers = client.getDefaultHttpHeaders();
headers.put("h1", "v1");
var httpClient = client.getHttpClient();
- Increased the auth token expiration buffer from 5s to 60s.
- Adding support to new java versions.
- Upgrading
apache arrow
version to9.0.0
. - Fix protobuf metadata integration test.
- Run integration tests using jdks 11, 17 & 18.
- Fix memory leak issue
- If seeing errors like module java.base does not "opens java.nio" to unnamed module
please make sure to run java with
--add-opens=java.base/java.nio=ALL-UNNAMED
argument or set JAVA_TOOL_OPTIONS environment variable
export JAVA_TOOL_OPTIONS="--add-opens=java.base/java.nio=ALL-UNNAMED"
- Renamed:
execute
toexecuteV1
.executeAsyncWait
toexecute
.
- Added
CancelTransaction
feature.
- Fixed
getTransaction
missing required properties: [finished_at]. - Added
deleteTransaction
.
- Fixed
executeAsync
inputs issue.
-
Added v2 predefined results formats:
getTransactions
returnsTransactionsAsyncMultipleResponses
.getTransaction
returnsTransactionAsyncSingleResponse
.getTransactionResults
returnsList<ArrowRelation>
.getTransactionMetadata
returnsList<TransactionAsyncMetadataResponse>
.getTransactionProblems
returnsList<ClientProblem|IntegrityConstraintViolation>
.executeAsync
returnsTransactionAsyncResult
.
- Added support to the asynchronous protocol including:
executeAsync
: runs an asynchronous request.executeAsyncWait
: runs an asynchronous request and wait of its completion.getTransaction
: gets information about transaction.getTransactions
: gets the list of transactions.getTransactionResults
: gets transaction execution results.getTransactionMetadata
: gets transaction metadata.getTransactionProblems
: gets transaction execution problems.
- Added
ExecuteAsyncTest
test class