[AIRFLOW-1695] Add RedshiftHook using boto3#2717
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2717 +/- ##
==========================================
+ Coverage 72.48% 72.56% +0.08%
==========================================
Files 154 154
Lines 11843 11843
==========================================
+ Hits 8584 8594 +10
+ Misses 3259 3249 -10
Continue to review full report at Codecov.
|
|
Is this reviewable? If so, please fix your commit message to make it readable. See commit guidelines. Furthermore please make sure the tests actually can run, include the right packages for ci. |
|
thanks @andyxhadji more power to #airflow and #aws |
|
@bolkedebruin This is now reviewable, all tests are passing. Please take a look! |
|
This is one of the follow-ups to #2532 |
bolkedebruin
left a comment
There was a problem hiding this comment.
Small nits. I don't think there is a need to touch aws_hook.py
There was a problem hiding this comment.
This is obtained from the extra connectin parameters, why have it in the signature?
|
Please also make sure your commit message adheres to the layout (descr lines are too long) |
Adds RedshiftHook class, allowing for management of AWS Redshift clusters and snapshots using boto3 library. Also adds new test file and unit tests for class methods.
|
@bolkedebruin Fixed - re-running tests because of an unrelated failure (https://travis-ci.org/apache/incubator-airflow/builds/294151528). |
|
@bolkedebruin Tests passing! |
|
Your tests are not running as they are not prepended by "test_". Please verify in the travis that your tests run. |
|
@bolkedebruin Hmm, I'm not sure if I'm looking in the right place - the tests are prepended with "test_" and the tests run (screenshot from changed files & apache TravisCI below) Am I missing something in a file? I really appreciate the help. |
|
Apologies! I did do a search but I probably misspelled. |
|
Not a problem! Thanks for the review!
…On Mon, Oct 30, 2017 at 3:36 PM, bolkedebruin ***@***.***> wrote:
Apologies! I did do a search but I probably misspelled.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2717 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADcMX-3XcYDbwjRSiW4LLMz9K8H455kGks5sxiUjgaJpZM4QCJxv>
.
|
Adds RedshiftHook class, allowing for management of AWS Redshift clusters and snapshots using boto3 library. Also adds new test file and unit tests for class methods. Closes apache#2717 from andyxhadji/1695


Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA
Description
Tests
Commits