-
Notifications
You must be signed in to change notification settings - Fork 91
feat(blob): support MAP<K, BLOB> reads in Go #784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
JingsongLi
merged 1 commit into
apache:main
from
XiaoHongbo-Hope:codex/go-map-blob-reader
Sep 3, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Binary file added
BIN
+463 Bytes
...ests/testdata/map_blob_table/bucket-0/data-5d9ffa8c-bb8e-4beb-bec0-20417639ec99-0.parquet
Binary file not shown.
Binary file added
BIN
+109 Bytes
...o/tests/testdata/map_blob_table/bucket-0/data-feedc1e6-e063-4f9b-8fb7-e70912f4e374-0.blob
Binary file not shown.
Binary file added
BIN
+2.24 KB
...go/tests/testdata/map_blob_table/manifest/manifest-aa99cf7f-6ec4-420a-a2fb-091e7a31c5a2-0
Binary file not shown.
Binary file added
BIN
+799 Bytes
...sts/testdata/map_blob_table/manifest/manifest-list-d854a2ec-c453-4ece-bcbe-5ad5411a8273-0
Binary file not shown.
Binary file added
BIN
+899 Bytes
...sts/testdata/map_blob_table/manifest/manifest-list-d854a2ec-c453-4ece-bcbe-5ad5411a8273-1
Binary file not shown.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "version": 3, | ||
| "id": 0, | ||
| "fields": [ | ||
| { | ||
| "id": 0, | ||
| "name": "id", | ||
| "type": "INT" | ||
| }, | ||
| { | ||
| "id": 1, | ||
| "name": "assets", | ||
| "type": { | ||
| "type": "MAP", | ||
| "key": "STRING NOT NULL", | ||
| "value": "BLOB", | ||
| "nullable": true | ||
| } | ||
| } | ||
| ], | ||
| "highestFieldId": 1, | ||
| "partitionKeys": [], | ||
| "primaryKeys": [], | ||
| "options": { | ||
| "row-tracking.enabled": "true", | ||
| "data-evolution.enabled": "true" | ||
| }, | ||
| "comment": null, | ||
| "timeMillis": 1788359448372 | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 1 |
15 changes: 15 additions & 0 deletions
15
bindings/go/tests/testdata/map_blob_table/snapshot/snapshot-1
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "version": 3, | ||
| "id": 1, | ||
| "schemaId": 0, | ||
| "baseManifestList": "manifest-list-d854a2ec-c453-4ece-bcbe-5ad5411a8273-0", | ||
| "deltaManifestList": "manifest-list-d854a2ec-c453-4ece-bcbe-5ad5411a8273-1", | ||
| "totalRecordCount": 6, | ||
| "deltaRecordCount": 6, | ||
| "commitUser": "ab9bd0e7-c0bc-4695-84cf-44f36df42a6a", | ||
| "commitIdentifier": 9223372036854775807, | ||
| "commitKind": "APPEND", | ||
| "timeMillis": 1788359448379, | ||
| "nextRowId": 3, | ||
| "uuid": "19a3dfb1-eae3-4d7a-8329-26b85143edcc" | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this test cover the actual read path instead of starting from a hand-built Arrow map? As written, it only tests descriptor extraction and BlobReader. A writer-generated fixture read through NewReadBuilderWithOptions would also cover the Rust decoder, C Data conversion, and Go API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in cd19225. The Go test now reads a PyPaimon-generated table through NewReadBuilderWithOptions, Rust decoding, C Data import, Go map extraction, and ReadBlobs.