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

Reserved keywords test and fix #35

Merged
merged 7 commits into from
Nov 20, 2022
Merged

Reserved keywords test and fix #35

merged 7 commits into from
Nov 20, 2022

Conversation

visch
Copy link
Member

@visch visch commented Nov 19, 2022

Fixes #30

@visch visch marked this pull request as draft November 19, 2022 19:33
@visch
Copy link
Member Author

visch commented Nov 19, 2022

Still broken due to keyproperties sending column A to a lowercase. Going to figure this out

@@ -41,7 +41,7 @@ def drop_table(self, name):
def create_temp_table_from_table(self, from_table_name, temp_table_name):
"""Temp table from another table."""
ddl = sqlalchemy.DDL(
"CREATE TEMP TABLE %(temp_table_name)s AS "
"CREATE TABLE %(temp_table_name)s AS "
Copy link
Member Author

Choose a reason for hiding this comment

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

revert this change

@visch visch marked this pull request as ready for review November 20, 2022 03:25
@visch visch merged commit 8a2b849 into main Nov 20, 2022
@visch visch deleted the 30-syntax-error-near-end branch November 20, 2022 03:25
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.

sqlalchemy.exc.ProgrammingError: (psycopg2.errors.SyntaxError) syntax error at or near "end"
1 participant