[C++] Add SDK examples (JSON, proto, Arrow Flight)#522
Draft
zlata-stefanovic-db wants to merge 1 commit into
Draft
[C++] Add SDK examples (JSON, proto, Arrow Flight)#522zlata-stefanovic-db wants to merge 1 commit into
zlata-stefanovic-db wants to merge 1 commit into
Conversation
Add JSON, dynamic-proto, and Arrow Flight (Beta) ingestion examples under cpp/examples/, mirroring the Rust SDK example layout, each with a README. Wired into CMake behind ZEROBUS_BUILD_EXAMPLES; the Arrow example is gated on find_package(Arrow). Signed-off-by: Zlata Stefanovic <zlata.stefanovic@databricks.com>
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.
Summary
Adds runnable examples for the C++ SDK covering all three record formats.
Examples (
cpp/examples/)Runnable ingestion examples with their own CMake build:
json/single.cpp,json/batch.cppproto/single.cpp,proto/batch.cpp(+orders.proto)arrow/arrow_ingest.cppEach format directory has its own
README.md, plus a top-levelexamples/README.mdoverview and anexamples/CMakeLists.txt.All examples follow the SDK's cardinal ingestion pattern — queue records in a loop,
flush()once at the end — and never wait per record.Testing
cpp/examples/CMakeLists.txt.Draft: opening for early visibility / CI feedback while the examples are finalized.