- 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 arrowversion 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-UNNAMEDargument or set JAVA_TOOL_OPTIONS environment variable
export JAVA_TOOL_OPTIONS="--add-opens=java.base/java.nio=ALL-UNNAMED"- Renamed:
executetoexecuteV1.executeAsyncWaittoexecute.
- Added
CancelTransactionfeature.
- Fixed
getTransactionmissing required properties: [finished_at]. - Added
deleteTransaction.
- Fixed
executeAsyncinputs issue.
-
Added v2 predefined results formats:
getTransactionsreturnsTransactionsAsyncMultipleResponses.getTransactionreturnsTransactionAsyncSingleResponse.getTransactionResultsreturnsList<ArrowRelation>.getTransactionMetadatareturnsList<TransactionAsyncMetadataResponse>.getTransactionProblemsreturnsList<ClientProblem|IntegrityConstraintViolation>.executeAsyncreturnsTransactionAsyncResult.
- 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
ExecuteAsyncTesttest class