-
Notifications
You must be signed in to change notification settings - Fork 0
Switch Julia bindings to the new async API based on RustyObjectStore #3
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
Open
vustef
wants to merge
41
commits into
main
Choose a base branch
from
vs-async
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
ece2334
async api
vustef 4eb5974
simplified API
vustef 5ed1a43
Simple benchmark to get sense of how good perf is
vustef 650919c
reduce benchmarked code.
vustef d8b0e80
use accessor functions
vustef d2e4206
comment out btime by default
vustef c0c1e6b
cancellation
vustef 8614c0e
cleanup error codes
vustef b95a3d7
safe cleanup
vustef 73861f1
Trim whitespace
vustef 48ab468
Reference new custom JLL
vustef 7a4ef93
Pkg.update
vustef 37cde76
switch to returning batch as part of an async op
vustef 7ef5108
improve cleanup and uncomment bench
vustef 8e3420f
new timings
vustef a58ff17
Update tests to the new API
vustef c15c9fc
Run MacOS only on aarch64
vustef 6f2627b
update JLL
vustef 94cca5b
update with openssl_jll
vustef 9f3bdc6
update version
vustef 5bad6d7
Make sure @ccallable is unique
vustef 8f07a63
remove todo
vustef 1d0c341
Don't use IOBuffer
vustef 0d9205b
Adapt API
gbrgr d615463
Rename things
gbrgr 07cb5b4
Add assets for integration testing
gbrgr 5ebb1b8
Add docker compose
gbrgr d7667c4
Adapt CI to run containers
gbrgr bff9c3e
Remove macos build
gbrgr 67011d0
Add scan builder functions
gbrgr dbef7d1
.
gbrgr 6be8e15
Change `table_open`
gbrgr 45bcf60
Update Manifest.toml
gbrgr c67aea4
Update manifest
gbrgr 0681246
Add exception handling
gbrgr 7f4bf2f
Adapt basic usage example
gbrgr 2727095
.
gbrgr 8ba5f90
Add integration test
gbrgr 1f5e46d
Fix basic usage example
gbrgr e356df7
.
gbrgr c2bd3f5
Rename function
gbrgr 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
**/.minio* | ||
rest/*.so | ||
rest/*.so.lck | ||
rest/hsperfdata* |
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...tpch/tpch.sf01/customer/metadata/00000-462e1567-8801-45a5-978c-b3beb53e7a2e.metadata.json
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 @@ | ||
{"format-version":2,"table-uuid":"51667c9a-d3d1-4389-8461-d18626ab0e60","location":"s3://warehouse/tpch.sf01/customer","last-sequence-number":0,"last-updated-ms":1757415286085,"last-column-id":8,"current-schema-id":0,"schemas":[{"type":"struct","schema-id":0,"identifier-field-ids":[1],"fields":[{"id":1,"name":"c_custkey","required":true,"type":"long"},{"id":2,"name":"c_name","required":false,"type":"string"},{"id":3,"name":"c_address","required":false,"type":"string"},{"id":4,"name":"c_nationkey","required":false,"type":"int"},{"id":5,"name":"c_phone","required":false,"type":"string"},{"id":6,"name":"c_acctbal","required":false,"type":"decimal(15, 2)"},{"id":7,"name":"c_mktsegment","required":false,"type":"string"},{"id":8,"name":"c_comment","required":false,"type":"string"}]}],"default-spec-id":0,"partition-specs":[{"spec-id":0,"fields":[]}],"last-partition-id":999,"default-sort-order-id":0,"sort-orders":[{"order-id":0,"fields":[]}],"properties":{"write.format.default":"parquet","write.metadata.compression-codec":"none","write.parquet.compression-codec":"zstd"},"current-snapshot-id":-1,"refs":{},"snapshots":[],"statistics":[],"partition-statistics":[],"snapshot-log":[],"metadata-log":[]} |
1 change: 1 addition & 0 deletions
1
...tpch/tpch.sf01/customer/metadata/00001-76f6e7e4-b34f-492f-b6a1-cc9f8c8f4975.metadata.json
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 @@ | ||
{"format-version":2,"table-uuid":"51667c9a-d3d1-4389-8461-d18626ab0e60","location":"s3://warehouse/tpch.sf01/customer","last-sequence-number":1,"last-updated-ms":1757415286199,"last-column-id":8,"current-schema-id":0,"schemas":[{"type":"struct","schema-id":0,"identifier-field-ids":[1],"fields":[{"id":1,"name":"c_custkey","required":true,"type":"long"},{"id":2,"name":"c_name","required":false,"type":"string"},{"id":3,"name":"c_address","required":false,"type":"string"},{"id":4,"name":"c_nationkey","required":false,"type":"int"},{"id":5,"name":"c_phone","required":false,"type":"string"},{"id":6,"name":"c_acctbal","required":false,"type":"decimal(15, 2)"},{"id":7,"name":"c_mktsegment","required":false,"type":"string"},{"id":8,"name":"c_comment","required":false,"type":"string"}]}],"default-spec-id":0,"partition-specs":[{"spec-id":0,"fields":[]}],"last-partition-id":999,"default-sort-order-id":0,"sort-orders":[{"order-id":0,"fields":[]}],"properties":{"write.format.default":"parquet","write.metadata.compression-codec":"none","write.parquet.compression-codec":"zstd"},"current-snapshot-id":3441867730092225551,"refs":{"main":{"snapshot-id":3441867730092225551,"type":"branch"}},"snapshots":[{"sequence-number":1,"snapshot-id":3441867730092225551,"timestamp-ms":1757415286199,"summary":{"operation":"append","total-files-size":"0","total-position-deletes":"0","total-data-files":"0","total-delete-files":"0","total-records":"0","total-equality-deletes":"0"},"manifest-list":"s3://warehouse/tpch.sf01/customer/metadata/snap-3441867730092225551-0-01992e1d-25b3-7111-9dfc-38f55f99f91b.avro","schema-id":0}],"statistics":[],"partition-statistics":[],"snapshot-log":[{"timestamp-ms":1757415286199,"snapshot-id":3441867730092225551}],"metadata-log":[{"timestamp-ms":1757415286085,"metadata-file":"s3://warehouse/tpch.sf01/customer/metadata/00000-462e1567-8801-45a5-978c-b3beb53e7a2e.metadata.json"}]} |
Binary file added
BIN
+4.12 KB
assets/tpch/tpch.sf01/customer/metadata/01992e1d-25b3-7111-9dfc-38f55f99f91b-m0.avro
Binary file not shown.
Binary file added
BIN
+1.55 KB
...01/customer/metadata/snap-3441867730092225551-0-01992e1d-25b3-7111-9dfc-38f55f99f91b.avro
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...tpch/tpch.sf01/lineitem/metadata/00000-8fbbff5c-f0a5-4b43-97b3-fb31d7565ad7.metadata.json
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 @@ | ||
{"format-version":2,"table-uuid":"3526d88c-a26c-4cab-82f1-ac119e09266d","location":"s3://warehouse/tpch.sf01/lineitem","last-sequence-number":0,"last-updated-ms":1757415280577,"last-column-id":16,"current-schema-id":0,"schemas":[{"type":"struct","schema-id":0,"identifier-field-ids":[1],"fields":[{"id":1,"name":"l_orderkey","required":true,"type":"long"},{"id":2,"name":"l_partkey","required":false,"type":"long"},{"id":3,"name":"l_suppkey","required":false,"type":"long"},{"id":4,"name":"l_linenumber","required":false,"type":"long"},{"id":5,"name":"l_quantity","required":false,"type":"decimal(15, 2)"},{"id":6,"name":"l_extendedprice","required":false,"type":"decimal(15, 2)"},{"id":7,"name":"l_discount","required":false,"type":"decimal(15, 2)"},{"id":8,"name":"l_tax","required":false,"type":"decimal(15, 2)"},{"id":9,"name":"l_returnflag","required":false,"type":"string"},{"id":10,"name":"l_linestatus","required":false,"type":"string"},{"id":11,"name":"l_shipdate","required":false,"type":"date"},{"id":12,"name":"l_commitdate","required":false,"type":"date"},{"id":13,"name":"l_receiptdate","required":false,"type":"date"},{"id":14,"name":"l_shipinstruct","required":false,"type":"string"},{"id":15,"name":"l_shipmode","required":false,"type":"string"},{"id":16,"name":"l_comment","required":false,"type":"string"}]}],"default-spec-id":0,"partition-specs":[{"spec-id":0,"fields":[]}],"last-partition-id":999,"default-sort-order-id":0,"sort-orders":[{"order-id":0,"fields":[]}],"properties":{"write.format.default":"parquet","write.metadata.compression-codec":"none","write.parquet.compression-codec":"zstd"},"current-snapshot-id":-1,"refs":{},"snapshots":[],"statistics":[],"partition-statistics":[],"snapshot-log":[],"metadata-log":[]} |
1 change: 1 addition & 0 deletions
1
...tpch/tpch.sf01/lineitem/metadata/00001-b7bc27e6-dd3c-4452-a9cc-5f975a9752f5.metadata.json
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 @@ | ||
{"format-version":2,"table-uuid":"3526d88c-a26c-4cab-82f1-ac119e09266d","location":"s3://warehouse/tpch.sf01/lineitem","last-sequence-number":1,"last-updated-ms":1757415285459,"last-column-id":16,"current-schema-id":0,"schemas":[{"type":"struct","schema-id":0,"identifier-field-ids":[1],"fields":[{"id":1,"name":"l_orderkey","required":true,"type":"long"},{"id":2,"name":"l_partkey","required":false,"type":"long"},{"id":3,"name":"l_suppkey","required":false,"type":"long"},{"id":4,"name":"l_linenumber","required":false,"type":"long"},{"id":5,"name":"l_quantity","required":false,"type":"decimal(15, 2)"},{"id":6,"name":"l_extendedprice","required":false,"type":"decimal(15, 2)"},{"id":7,"name":"l_discount","required":false,"type":"decimal(15, 2)"},{"id":8,"name":"l_tax","required":false,"type":"decimal(15, 2)"},{"id":9,"name":"l_returnflag","required":false,"type":"string"},{"id":10,"name":"l_linestatus","required":false,"type":"string"},{"id":11,"name":"l_shipdate","required":false,"type":"date"},{"id":12,"name":"l_commitdate","required":false,"type":"date"},{"id":13,"name":"l_receiptdate","required":false,"type":"date"},{"id":14,"name":"l_shipinstruct","required":false,"type":"string"},{"id":15,"name":"l_shipmode","required":false,"type":"string"},{"id":16,"name":"l_comment","required":false,"type":"string"}]}],"default-spec-id":0,"partition-specs":[{"spec-id":0,"fields":[]}],"last-partition-id":999,"default-sort-order-id":0,"sort-orders":[{"order-id":0,"fields":[]}],"properties":{"write.format.default":"parquet","write.metadata.compression-codec":"none","write.parquet.compression-codec":"zstd"},"current-snapshot-id":5219799779815904705,"refs":{"main":{"snapshot-id":5219799779815904705,"type":"branch"}},"snapshots":[{"sequence-number":1,"snapshot-id":5219799779815904705,"timestamp-ms":1757415285459,"summary":{"operation":"append","total-data-files":"0","total-files-size":"0","total-position-deletes":"0","total-equality-deletes":"0","total-delete-files":"0","total-records":"0"},"manifest-list":"s3://warehouse/tpch.sf01/lineitem/metadata/snap-5219799779815904705-0-01992e1d-22cf-79f3-b2b0-476f11d4356f.avro","schema-id":0}],"statistics":[],"partition-statistics":[],"snapshot-log":[{"timestamp-ms":1757415285459,"snapshot-id":5219799779815904705}],"metadata-log":[{"timestamp-ms":1757415280577,"metadata-file":"s3://warehouse/tpch.sf01/lineitem/metadata/00000-8fbbff5c-f0a5-4b43-97b3-fb31d7565ad7.metadata.json"}]} |
Binary file added
BIN
+4.69 KB
assets/tpch/tpch.sf01/lineitem/metadata/01992e1d-22cf-79f3-b2b0-476f11d4356f-m0.avro
Binary file not shown.
Binary file added
BIN
+1.56 KB
...01/lineitem/metadata/snap-5219799779815904705-0-01992e1d-22cf-79f3-b2b0-476f11d4356f.avro
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...s/tpch/tpch.sf01/nation/metadata/00000-3d36be32-ac36-489e-bb18-5cb5bc83ca62.metadata.json
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 @@ | ||
{"format-version":2,"table-uuid":"10784b64-d6ed-41bd-9ecc-22031716ea4a","location":"s3://warehouse/tpch.sf01/nation","last-sequence-number":0,"last-updated-ms":1757415286623,"last-column-id":4,"current-schema-id":0,"schemas":[{"type":"struct","schema-id":0,"identifier-field-ids":[1],"fields":[{"id":1,"name":"n_nationkey","required":true,"type":"int"},{"id":2,"name":"n_name","required":false,"type":"string"},{"id":3,"name":"n_regionkey","required":false,"type":"int"},{"id":4,"name":"n_comment","required":false,"type":"string"}]}],"default-spec-id":0,"partition-specs":[{"spec-id":0,"fields":[]}],"last-partition-id":999,"default-sort-order-id":0,"sort-orders":[{"order-id":0,"fields":[]}],"properties":{"write.format.default":"parquet","write.metadata.compression-codec":"none","write.parquet.compression-codec":"zstd"},"current-snapshot-id":-1,"refs":{},"snapshots":[],"statistics":[],"partition-statistics":[],"snapshot-log":[],"metadata-log":[]} |
1 change: 1 addition & 0 deletions
1
...s/tpch/tpch.sf01/nation/metadata/00001-44f668fe-3688-49d5-851f-36e75d143321.metadata.json
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 @@ | ||
{"format-version":2,"table-uuid":"10784b64-d6ed-41bd-9ecc-22031716ea4a","location":"s3://warehouse/tpch.sf01/nation","last-sequence-number":1,"last-updated-ms":1757415286646,"last-column-id":4,"current-schema-id":0,"schemas":[{"type":"struct","schema-id":0,"identifier-field-ids":[1],"fields":[{"id":1,"name":"n_nationkey","required":true,"type":"int"},{"id":2,"name":"n_name","required":false,"type":"string"},{"id":3,"name":"n_regionkey","required":false,"type":"int"},{"id":4,"name":"n_comment","required":false,"type":"string"}]}],"default-spec-id":0,"partition-specs":[{"spec-id":0,"fields":[]}],"last-partition-id":999,"default-sort-order-id":0,"sort-orders":[{"order-id":0,"fields":[]}],"properties":{"write.format.default":"parquet","write.metadata.compression-codec":"none","write.parquet.compression-codec":"zstd"},"current-snapshot-id":7279317277629245920,"refs":{"main":{"snapshot-id":7279317277629245920,"type":"branch"}},"snapshots":[{"sequence-number":1,"snapshot-id":7279317277629245920,"timestamp-ms":1757415286646,"summary":{"operation":"append","total-records":"0","total-position-deletes":"0","total-equality-deletes":"0","total-delete-files":"0","total-files-size":"0","total-data-files":"0"},"manifest-list":"s3://warehouse/tpch.sf01/nation/metadata/snap-7279317277629245920-0-01992e1d-2772-7c42-bd53-aebdf9c39aa5.avro","schema-id":0}],"statistics":[],"partition-statistics":[],"snapshot-log":[{"timestamp-ms":1757415286646,"snapshot-id":7279317277629245920}],"metadata-log":[{"timestamp-ms":1757415286623,"metadata-file":"s3://warehouse/tpch.sf01/nation/metadata/00000-3d36be32-ac36-489e-bb18-5cb5bc83ca62.metadata.json"}]} |
Binary file added
BIN
+3.74 KB
assets/tpch/tpch.sf01/nation/metadata/01992e1d-2772-7c42-bd53-aebdf9c39aa5-m0.avro
Binary file not shown.
Binary file added
BIN
+1.55 KB
...sf01/nation/metadata/snap-7279317277629245920-0-01992e1d-2772-7c42-bd53-aebdf9c39aa5.avro
Binary file not shown.
Binary file not shown.
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.
Ideally we switch our example to a test, and make this a test dependency.