-
Notifications
You must be signed in to change notification settings - Fork 101
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
chore: add AthenaConfig to impl.py #412
Conversation
Co-authored-by: Serhii Dimchenko <39801237+svdimchenko@users.noreply.github.com>
I believe that there is still some work to do no?
|
Hey @nicor88 you're right there is still some work to do, but I thought I would start off with a smaller change first which might help with #377. In the meantime I've raised a question on slack channel https://getdbt.slack.com/archives/CBSQTAPLG/p1694451069966319 about the best way of tackling this. I'm worried about the amount of refactoring required if I modify all the materialisations. |
@SoumayaMauthoorMOJ let's see if we get some nice suggestions, maybe you can even consider to ask in db-athena slack channel to gather mode athena experts :) |
@nicor88 Did not know there was a slack channel raising now :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code looks nice, let's add missed parameters and docstring and we are ready to go
@svdimchenko I don't have permission to add the label to run the functional tests, do think it's worthwhile running those? Also not too sure what docstring to use because explanation on dbt website isn't very clear: "database- and relation-level configs" Hence why I raised a question on slack. I'll get the attribute descriptions from the README. |
I agree with you, docstring is not obligatory. However we should have all parameters defined I guess. So this comment should be fixed: #412 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SoumayaMauthoorMOJ pls install and run pre-commit locally to avoid pre-commit checks fail in PR. Once it's fixed we are ready to go
@SoumayaMauthoorMOJ it's recommended for new contributors to follow the contributing section. |
Sorry will do this evening :-) |
Description
Add
AthenaConfig
toimpl.py
following recommendationsI have added the Table configuration as well as the connection parameters that can be passed to
cursor.execute()
This might help to resolve #377, but it doesn't fix it by itself
Models used to test - Optional
I ran the unit tests locally and they all passed
I ran some of the functional tests and they passed too, but I didn't run all of them
Checklist