Skip to content

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