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

Fix(teradata): improve post index property parsing #1675

Merged
merged 1 commit into from
May 22, 2023

Conversation

@georgesittas georgesittas requested review from treysp and tobymao and removed request for treysp May 22, 2023 21:03
INDEX(x, y)
""",
write={
"teradata": "CREATE SET TABLE test, NO FALLBACK, NO BEFORE JOURNAL, NO AFTER JOURNAL, CHECKSUM=DEFAULT (x INT, y INT, z CHAR(30), a INT, b DATE, e INT) PRIMARY INDEX (a) INDEX (x, y)",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note: synced with @treysp on the (missing) comma here, it seems to be optional.

@georgesittas georgesittas merged commit be5217d into main May 22, 2023
@georgesittas georgesittas deleted the jo/teradata_fix branch May 22, 2023 21:46
adrianisk pushed a commit to adrianisk/sqlglot that referenced this pull request Jun 21, 2023
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.

Problem with Teradata create volatile table statement
3 participants