-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issues when trying to connect to deltalake #1
Comments
Hi @nfoerster2 So i hope that helps to move forward otherwise i can try it out and come back to you when i know more |
Hey @milicevica23, thanks for your fast feedback. I tested already reading from a deltalake on emulator and I defined parquet tables as sources on emulator, both worked. However the Jinja Code(is it Jinja Code, the stuff with {{?) seems to not use environment variables correctly, specifying the storage options does not make a difference. I tried to debug it, but if setting the abfs path, the dbt doesnt even reach the storage function you wrote. From failure message it seems that the tmp file can not be written, either because the definition of location is wrong or the blob storage can not be reached. I checked it also on real blob storage, same issue. But your azure example should work? |
Hi @nfoerster2, My example worked the week before but with the newest one i havent tried with the azure, i will also have to write some unit tests with azurite so thank you for speeding me up :D |
Hi @nfoerster2, Independent i added again to dbt-duckd branch the external_table materialization and made it work with azure and azurite (don't like the way how has to be written but it works) i pushed both examples to the repository. You can test and experiment with the plugin without burden of the old implementation. Please be aware that in the near feature i will refactor code and that from external_table should be rewritten just external Please feel free to open all the issues which you find along the way and be aware that there are still things to implement. Every feedback is valuable, makes impact and moves this work forward :) |
@milicevica23 you are totally right, switching external to external_table solves the issue for now. Understood your explanation, I will keep track on your PR, thank you very much for the fast response and solution. |
Feel free to open a new issue for some missing functionality or problems which you find along 🙏 |
Your PR is especially interested, we tried to test the deltalake write for a local azurite blob store, however we did not yet managed to work. If we use a local path for
location
everything looks fine, but as soon we are referring azurite emulated blob storage we get this message:IO Error: Cannot open file "abfs://deltalake/vw_cf_errors": No such file or directory
we added the storage_options later on, but nothing changed. We also tried:
The container is existing. Any idea what goes wrong?
The text was updated successfully, but these errors were encountered: