fix: update Zerobus Ingest skill for SDK v1.1.0 breaking API changes#291
Merged
calreynolds merged 2 commits intodatabricks-solutions:mainfrom Mar 10, 2026
Merged
Conversation
SDK v1.1.0 introduces breaking changes from v0.2.x that cause skill-generated code to fail at runtime. All changes verified through E2E testing. Key fixes: - Constructor: positional args -> keyword args (host=, unity_catalog_url=) - Ingest pattern: ingest_record(json.dumps(record)) + flush() - SDK version: >=0.2.0 -> >=1.0.0 - Status: Public Preview -> GA (Feb 2026) - Add serverless compute limitation and REST API alternative - Add explicit table grants requirement (Error 4024) - Fix typos: "speficfied" -> "specified", "Workslfow" -> "Workflow" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The ZerobusSdk constructor works fine with positional args. The internal parameter names changed in v1.1.0 but positional passing still works. Reverted to match the official Databricks documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
|
(Actually i saw the linter issues were unrelated, you're golden) |
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
Fixes #290
The Zerobus Ingest skill generates code using SDK v0.2.x API signatures, but SDK v1.1.0 introduced breaking changes that cause runtime failures. All fixes verified through E2E testing.
Files changed:
SKILL.md,1-setup-and-authentication.md,2-python-client.mdChanges
Breaking API fixes
ZerobusSdk(server_endpoint, workspace_url)→ZerobusSdk(host=server_endpoint, unity_catalog_url=workspace_url)(all sync, async, and reusable client examples)ingest_record_offset(record)+wait_for_offset(offset)→ingest_record(json.dumps(record))+flush()(SKILL.md minimal example)>=0.2.0→>=1.0.0ingest_recordnote: Updated from "Deprecated" to "Primary method in SDK v1.1.0+"New documentation
authorization_detailsOAuth flow)Minor fixes
Test plan
inspect.signature(ZerobusSdk.__init__)ZerobusSdk(host=..., unity_catalog_url=...)→create_stream()→ingest_record(json.dumps(...))→flush()→ rows in Delta tableawaitviazerobus.sdk.aioPOST /zerobus/v1/tables/{table}/inserton serverless computeStreamDestination(from blog) does NOT exist in v1.1.0