-
Notifications
You must be signed in to change notification settings - Fork 88
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
reading from encrypted parquet file #419
Comments
It's not obvious to me why that wouldn't work with an |
Thanks for your reply! It fails with:
on running a model using the source. This is with The compiled output of the model looks correct but it does not seem to have access to the key. Am I doing something wrong with the hook? |
Ah-- I bet the key is only cached on the specific connection that uses it-- try it with the |
Yes, that works. Gives a good option for ingesting more sensitive data. Thank you so much for your help. |
In fact, following your pointer, I now seem to have this working without |
DuckDB allows use of encrypted Parquet files.
The key is set via a PRAGMA statement like
PRAGMA add_parquet_key('key128', '0123456789112345');
On reading the syntax is
read_parquet('file.parquet', encryption_config = {footer_key: 'key128'});
Is it possible to set the parquet key within dbt on using an encrypted parquet file as source, so that it can be accessed as follows?
I have tried config and dbt hooks without success.
The text was updated successfully, but these errors were encountered: