Merged
Conversation
8069f28 to
b7e5158
Compare
Signed-off-by: teodordelibasic-db <teodor.delibasic@databricks.com>
b7e5158 to
1cd3c6e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
Release v1.1.0
Major Changes
New Features and Improvements
VectorSchemaRootbatches via Arrow Flight protocolZerobusArrowStreamclass withingestBatch(),waitForOffset(),flush(),close(),getUnackedBatches()methodsArrowStreamConfigurationOptionsfor configuring Arrow streams (max inflight batches, recovery, timeouts, IPC compression)ArrowStreamConfigurationOptions.setIpcCompression()(supportsLZ4_FRAMEandZSTD)createArrowStream()andrecreateArrowStream()methods onZerobusSdkVectorSchemaRootdirectly viaingestBatch()(IPC serialization handled internally)arrow-vectorandarrow-memory-nettyas dependencies (provided scope,>= 15.0.0)Bug Fixes
NoClassDefFoundErrorwhen using the SDK inside Spring Boot. JNI class references are now cached asGlobalRefs duringJNI_OnLoad, so native daemon threads no longer rely onFindClassthrough the system classloader.Internal Changes
arrow-vector17.0.0 as provided dependency for Arrow Flight supportarrow-memory-netty17.0.0 as test dependency for integration testsnativeCreateArrowStream,nativeIngestBatch, etc.)API Changes
createArrowStream(String tableName, Schema schema, String clientId, String clientSecret)toZerobusSdkcreateArrowStream(String tableName, Schema schema, String clientId, String clientSecret, ArrowStreamConfigurationOptions options)toZerobusSdkrecreateArrowStream(ZerobusArrowStream closedStream)toZerobusSdkZerobusArrowStreamclass with methods:ingestBatch(),waitForOffset(),flush(),close(),getUnackedBatches(),isClosed(),getTableName(),getOptions()ArrowStreamConfigurationOptionsclass with fields:maxInflightBatches,recovery,recoveryTimeoutMs,recoveryBackoffMs,recoveryRetries,serverLackOfAckTimeoutMs,flushTimeoutMs,connectionTimeoutMs,ipcCompressionIPCCompressionTypeenum with values:NONE,LZ4_FRAME,ZSTDorg.apache.arrow:arrow-vector >= 15.0.0(provided scope)How is this tested?
N/A