Skip to content

Fix arrow list type to duckdb logical type conversion #574

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
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wangrunji0408
Copy link

@wangrunji0408 wangrunji0408 commented Aug 8, 2025

When registering a scalar function which returns a list value, duckdb returns an error:

thread '<unnamed>' panicked at src/lib.rs:31:10:
Failed to register split_words function: DuckDBFailure(Error { code: Unknown, extended_code: 1 }, None)

This PR fixes this issue by replacing LogicalTypeId::try_from(..).into() by to_duckdb_logical_type.

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.

1 participant