Skip to content
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

Add support for DuckDB arrays when using Arrow's FixedSizeList #323

Merged
merged 13 commits into from
Jun 4, 2024

Conversation

Jeadie
Copy link
Contributor

@Jeadie Jeadie commented Jun 3, 2024

  • c5c104c commit is main change.
  • For Arrow's FixedSizeList, it should translate to a fixed size array in DuckDB.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 65.19%. Comparing base (b82db39) to head (666a649).
Report is 14 commits behind head on main.

Files Patch % Lines
src/vtab/arrow.rs 0.00% 4 Missing ⚠️
src/vtab/logical_type.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
+ Coverage   61.50%   65.19%   +3.68%     
==========================================
  Files          36       36              
  Lines        2146     2333     +187     
==========================================
+ Hits         1320     1521     +201     
+ Misses        826      812      -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Maxxen Maxxen merged commit f628e5a into duckdb:main Jun 4, 2024
4 checks passed
robert3005 added a commit to spiraldb/vortex that referenced this pull request Jul 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [duckdb](https://togithub.com/wangfenjin/duckdb-rs) |
workspace.dependencies | major | `0.10.2` -> `1.0.0` |

---

### Release Notes

<details>
<summary>wangfenjin/duckdb-rs (duckdb)</summary>

###
[`v1.0.0`](https://togithub.com/duckdb/duckdb-rs/releases/tag/v1.0.0)

[Compare
Source](https://togithub.com/wangfenjin/duckdb-rs/compare/v0.10.2...v1.0.0)

This release upgrades the shipped DuckDB to v1.0.0, in addition to a
number of bug fixes.

**Note**: The `httpfs` module that ships the `httpfs` extension is
removed in this release. The `httpfs` extension can instead be used
through DuckDB's native extension installation/loading mechanism.

#### What's Changed

- feat: support "large" arrow data types by
[@&#8203;Mause](https://togithub.com/Mause) in
[duckdb/duckdb-rs#307
- Fixes the issue ignoring nulls when copy from arrow array to flat
vector by [@&#8203;y-f-u](https://togithub.com/y-f-u) in
[duckdb/duckdb-rs#316
- change SQLite to DuckDB by
[@&#8203;era127](https://togithub.com/era127) in
[duckdb/duckdb-rs#308
- Organise workspace crates and consolidate Cargo.toml manifest
properties/dependencies by
[@&#8203;Swoorup](https://togithub.com/Swoorup) in
[duckdb/duckdb-rs#285
- Update README.md by [@&#8203;yoonghm](https://togithub.com/yoonghm) in
[duckdb/duckdb-rs#242
- Add support for DuckDB arrays when using Arrow's FixedSizeList by
[@&#8203;Jeadie](https://togithub.com/Jeadie) in
[duckdb/duckdb-rs#323
- Add support for BinaryArray in arrow-vtab by
[@&#8203;phillipleblanc](https://togithub.com/phillipleblanc) in
[duckdb/duckdb-rs#324
- use openssl from runner by
[@&#8203;Maxxen](https://togithub.com/Maxxen) in
[duckdb/duckdb-rs#327
- Add ability to pass vendored feature to openssl in libduckdb-sys by
[@&#8203;muralisoundararajan](https://togithub.com/muralisoundararajan)
in
[duckdb/duckdb-rs#321
- Implement appender for date/time types by
[@&#8203;rijkvp](https://togithub.com/rijkvp) in
[duckdb/duckdb-rs#313
- Support decimal128 without casting to double by
[@&#8203;Maxxen](https://togithub.com/Maxxen) in
[duckdb/duckdb-rs#328
- feat: experimental support for further nested types by
[@&#8203;Mause](https://togithub.com/Mause) in
[duckdb/duckdb-rs#318
- upgrade arrow-rs to 52 by [@&#8203;Mause](https://togithub.com/Mause)
in
[duckdb/duckdb-rs#332
- Expose the underlying schema of executed statement by
[@&#8203;abhiaagarwal](https://togithub.com/abhiaagarwal) in
[duckdb/duckdb-rs#333
- Remove mut from raw_query by
[@&#8203;rijkvp](https://togithub.com/rijkvp) in
[duckdb/duckdb-rs#339
- Support Arrow type `LargeUtf8`. by
[@&#8203;Jeadie](https://togithub.com/Jeadie) in
[duckdb/duckdb-rs#341
- Update duckdb-rs to DuckDB v1.0.0 by
[@&#8203;Mytherin](https://togithub.com/Mytherin) in
[duckdb/duckdb-rs#336
- fix: don't write files outside of `OUT_DIR` by
[@&#8203;frectonz](https://togithub.com/frectonz) in
[duckdb/duckdb-rs#347
- Remove built-in HTTPFS extension and fix Windows CI by
[@&#8203;Mytherin](https://togithub.com/Mytherin) in
[duckdb/duckdb-rs#353
- Upgrade duckdb-loadable-macros to 0.1.2 by
[@&#8203;Mytherin](https://togithub.com/Mytherin) in
[duckdb/duckdb-rs#354

#### New Contributors

- [@&#8203;y-f-u](https://togithub.com/y-f-u) made their first
contribution in
[duckdb/duckdb-rs#316
- [@&#8203;era127](https://togithub.com/era127) made their first
contribution in
[duckdb/duckdb-rs#308
-
[@&#8203;muralisoundararajan](https://togithub.com/muralisoundararajan)
made their first contribution in
[duckdb/duckdb-rs#321
- [@&#8203;rijkvp](https://togithub.com/rijkvp) made their first
contribution in
[duckdb/duckdb-rs#313
- [@&#8203;abhiaagarwal](https://togithub.com/abhiaagarwal) made their
first contribution in
[duckdb/duckdb-rs#333
- [@&#8203;frectonz](https://togithub.com/frectonz) made their first
contribution in
[duckdb/duckdb-rs#347

**Full Changelog**:
duckdb/duckdb-rs@v0.10.2...v1.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/spiraldb/vortex).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kruszewski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants