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

delta crash when reading delta produced by deltalake python 0.17.4 #85

Closed
djouallah opened this issue Sep 10, 2024 · 0 comments · Fixed by #89
Closed

delta crash when reading delta produced by deltalake python 0.17.4 #85

djouallah opened this issue Sep 10, 2024 · 0 comments · Fixed by #89

Comments

@djouallah
Copy link

it took me a while to figure out the culprit, it is only when using deltalake 0.17.4

!pip install duckdb --upgrade
!pip install deltalake==0.17.4
import duckdb
from deltalake import convert_to_deltalake
duckdb.sql(f"CALL dbgen(sf=0.1) ")
duckdb.sql(f""" COPY (SELECT * FROM nation) TO './nation' (FORMAT PARQUET,PER_THREAD_OUTPUT TRUE) """)
convert_to_deltalake('./nation')
duckdb.sql(f''' SELECT count(*) FROM delta_scan('./nation') ''')
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