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

Duckdb conversion traits and simple arrow impl #2620

Merged
merged 16 commits into from
Mar 10, 2025
Merged

Conversation

joseph-isaacs
Copy link
Member

@joseph-isaacs joseph-isaacs commented Mar 7, 2025

Added a simple converter via arrow

Copy link

codspeed-hq bot commented Mar 7, 2025

CodSpeed Performance Report

Merging #2620 will not alter performance

Comparing ji/to_duckdb (f674655) with develop (8ae0877)

Summary

✅ 775 untouched benchmarks

@joseph-isaacs joseph-isaacs changed the title wip duckdb conversion Duckdb conversion traits and simple arrow impl Mar 10, 2025
@joseph-isaacs joseph-isaacs requested a review from 0ax1 March 10, 2025 13:41
@joseph-isaacs joseph-isaacs marked this pull request as ready for review March 10, 2025 13:41
Copy link
Member

@0ax1 0ax1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice start! Couple of questions / remarks.

Copy link

cloudflare-workers-and-pages bot commented Mar 10, 2025

Deploying vortex-bench with  Cloudflare Pages  Cloudflare Pages

Latest commit: d809073
Status:🚫  Build failed.

View logs

}
}

fn from_duckdb_list(list: LogicalTypeHandle) -> DType {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, could consider making this more rustic:
impl From<LogicalTypeHandle>..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure we can, since we I need a nullability above and I would need a dummy struct to control the from impl here

Copy link
Member

@0ax1 0ax1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple more nits but this is good to go for now I think to make further progress.

@joseph-isaacs joseph-isaacs requested review from 0ax1 March 10, 2025 15:32
Copy link
Member

@0ax1 0ax1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wasm setup looks fine. 2 questions inline.

@joseph-isaacs joseph-isaacs enabled auto-merge (squash) March 10, 2025 16:50
@joseph-isaacs joseph-isaacs merged commit 16122d8 into develop Mar 10, 2025
27 checks passed
@joseph-isaacs joseph-isaacs deleted the ji/to_duckdb branch March 10, 2025 16:52
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.

2 participants