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

Don't check duckdb and ray import if not used #33

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

yuzelin
Copy link
Contributor

@yuzelin yuzelin commented Dec 3, 2024

Purpose

Currently, it will import ray and duckdb even if user doesn't call to_duckdb and to_ray.
If user doesn't install ray/duckdb, an import error will be raised.

This PR fix it.

This new behavior is the same as PyIceberg.

Tests

API and Format

Documentation

@yuzelin yuzelin changed the title Don't import duckdb and ray if not used Don't check duckdb and ray import if not used Dec 3, 2024
@JingsongLi
Copy link

+1

@JingsongLi JingsongLi merged commit 7f6a1d4 into apache:main Dec 3, 2024
2 checks passed
yuzelin added a commit that referenced this pull request Dec 4, 2024
@yuzelin yuzelin deleted the less-import branch December 4, 2024 03:36
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