Skip to content

Switch to column keyword arguments#161

Merged
jklukas merged 9 commits into
sqlalchemy-redshift:masterfrom
ms32035:column_keyword_arguments
Mar 19, 2019
Merged

Switch to column keyword arguments#161
jklukas merged 9 commits into
sqlalchemy-redshift:masterfrom
ms32035:column_keyword_arguments

Conversation

@ms32035

@ms32035 ms32035 commented Mar 14, 2019

Copy link
Copy Markdown
Contributor

Todos

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

@jklukas jklukas left a comment

Copy link
Copy Markdown
Member

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.

Comment thread sqlalchemy_redshift/dialect.py Outdated
pass
else:
from alembic.ddl.base import RenameTable

Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread sqlalchemy_redshift/dialect.py
Comment thread sqlalchemy_redshift/dialect.py Outdated
... sa.Column('id', sa.Integer, primary_key=True),
... sa.Column(
... 'name', sa.String, info={'distkey': True, 'sortkey': True}
... 'name', sa.String,

Copy link
Copy Markdown
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?

Comment thread sqlalchemy_redshift/dialect.py
@jklukas

jklukas commented Mar 19, 2019

Copy link
Copy Markdown
Member

@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.

Comment thread CHANGES.rst
Comment thread sqlalchemy_redshift/dialect.py Outdated
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

zzzeek commented Mar 21, 2019

Copy link
Copy Markdown

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.

4 participants