Skip to content

Conversation

coady
Copy link
Contributor

@coady coady commented Jul 4, 2025

Description of changes

DuckDB and Snowflake are backends that have both Pandas and PyArrow converters. Catching their import errors allows each to be used without the other dependency. The behavior will remain same - whether installed or not - because the upstream imports of PandasData and PyArrowData are already lazy.

Issues closed

fixes #11430, refs #10166

@github-actions github-actions bot added duckdb The DuckDB backend snowflake The Snowflake backend labels Jul 4, 2025
DuckDB and Snowflake are backends that have both Pandas and PyArrow converters. Catching their import errors allows each to be used without the other dependency. The behavior will remain same - whether installed or not - because the upstream imports of PandasData and PyArrowData are already lazy.

fixes ibis-project#11430, refs ibis-project#10166
@cpcloud
Copy link
Member

cpcloud commented Jul 4, 2025

Trino is broken right now due to a change I merged a bit too hastily, so no need to worry about that.

Otherwise, LGTM! Thanks!

Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

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

Thanks!

@cpcloud cpcloud merged commit 0f7f7c1 into ibis-project:main Jul 5, 2025
109 of 111 checks passed
@coady coady deleted the dev branch July 6, 2025 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duckdb The DuckDB backend snowflake The Snowflake backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: DuckDB backend requires both PyArrow and Pandas when using either.
2 participants