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

[test] Improve partition transform test #1591

Open
kevinjqliu opened this issue Jan 30, 2025 · 0 comments · May be fixed by #1592
Open

[test] Improve partition transform test #1591

kevinjqliu opened this issue Jan 30, 2025 · 0 comments · May be fixed by #1592

Comments

@kevinjqliu
Copy link
Contributor

Feature Request / Improvement

Remove this try/catch once iceberg-rust/#920 is merged and new pyiceberg_core is ported over

try:
assert t.transform(source_type)(value) == t.pyarrow_transform(source_type)(pa.array([value])).to_pylist()[0]
except ValueError as e:
# Skipping unsupported feature
if "FeatureUnsupported => Unsupported data type for truncate transform" in str(e):
continue
raise

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 a pull request may close this issue.

1 participant