Skip to content
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

Switch to column keyword arguments #161

Merged
merged 9 commits into from Mar 19, 2019

Conversation

ms32035
Copy link
Contributor

@ms32035 ms32035 commented Mar 14, 2019

Todos

  • MIT compatible
  • Tests
  • Documentation
  • Updated CHANGES.rst

Copy link
Member

@jklukas jklukas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't deeply absorbed the 1.3.0 changes yet, so may have more comments, but this looks reasonable at first read-through.

@@ -26,6 +26,7 @@
pass
else:
from alembic.ddl.base import RenameTable

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert whitespace changes or refactor them to a separate PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can, but for some reason this particular whitespace was causing travis build to fail

sqlalchemy_redshift/dialect.py Show resolved Hide resolved
@@ -254,7 +255,9 @@ class RedshiftDDLCompiler(PGDDLCompiler):
... metadata,
... sa.Column('id', sa.Integer, primary_key=True),
... sa.Column(
... 'name', sa.String, info={'distkey': True, 'sortkey': True}
... 'name', sa.String,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we either split these to separate lines, or roll the last two options onto this same line for better consistency?

sqlalchemy_redshift/dialect.py Show resolved Hide resolved
@jklukas
Copy link
Member

jklukas commented Mar 19, 2019

@ms32035 - If you make the whitespace and docs changes here as commented, I'll kick off CI that hits Redshift and we should be good to merge if it's all passing.

CHANGES.rst Show resolved Hide resolved
sqlalchemy_redshift/dialect.py Outdated Show resolved Hide resolved
jklukas and others added 2 commits March 19, 2019 19:01
Co-Authored-By: ms32035 <ms32035@gmail.com>
Co-Authored-By: ms32035 <ms32035@gmail.com>
@jklukas jklukas merged commit 5213fbf into sqlalchemy-redshift:master Mar 19, 2019
@ms32035 ms32035 deleted the column_keyword_arguments branch March 19, 2019 21:43
@zzzeek
Copy link

zzzeek commented Mar 21, 2019

looks great, feel free to add me as reviewers if you have another one of these in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants