feat: issue with relation.schema in the S3 path when a custom location is set #683
feat: issue with relation.schema in the S3 path when a custom location is set #683akmalsoliev wants to merge 5 commits into
Conversation
|
Hey @yotahk can we kick CI for this one? |
|
@akmalsoliev Added one comment, would you check before kicking CI? |
✅ Done |
|
Hey @yotahk, I noticed that the fail had nothing to do with my PR, a simple indentation error, want me to fix it? UPDATE: Just realized that |
|
Oof... appreciate the cleanup :) |
Fixed now. |
|
Looks like CI is still failing with IndentationError. Do you have pre-commit configured in your local environment? We should be able to capture linter/formatter errors before committing. |
sadly I'm unable to reproduce the error locally, so attempting couple of fixes, if this time doesn't work I will just create a temporary aws account for this. I hope the issue was caused by jinja's if else indentation, let's give it a last chance and if doesn't work will go with fresh aws account. |
|
hey @yotahk, started with a fresh account, ran all the test, nothing fails. Could you check on your end if arn and s3 location |
|
Investigation:
@akmalsoliev the changes in this PR looks good, however the CI configuration change introduced in #678 seems to be the root of unit test failure. I'll check the background and update again. |

resolves #667
Description
Please refer to #667 for more information.
This PR also includes simplification of location construction, certain sections of the code were hard coding the location, now it refers to
_build_locationI rant this on personal AWS and works like a charm.
Checklist
CHANGELOG.mdand added information about my change to the "dbt-glue next" section.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.