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

Fixed SQL rendering of special DDL table options in CrateDDLCompiler. #141

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

amotl
Copy link
Member

@amotl amotl commented Jun 24, 2024

Problem

Configuring special table options like crate_"translog.durability" was not possible, because they got rendered into SQL DDL in uppercase letters. That fails like:

SQLParseException[Invalid property "TRANSLOG.DURABILITY" passed to
[ALTER | CREATE] TABLE statement]

@amotl amotl force-pushed the amo/fix-table-dialect-options branch from 9378b89 to 5b9f9e6 Compare June 24, 2024 23:45
Configuring special table options like `crate_"translog.durability"` was
not possible, because they got rendered into SQL DDL in uppercase
letters. That fails like:

    SQLParseException[Invalid property "TRANSLOG.DURABILITY" passed to
    [ALTER | CREATE] TABLE statement]
@amotl amotl force-pushed the amo/fix-table-dialect-options branch from 5b9f9e6 to 1357ae0 Compare June 24, 2024 23:47
tests/create_table_test.py Dismissed Show dismissed Hide dismissed
@amotl amotl requested review from seut and matriv June 24, 2024 23:54
@amotl amotl marked this pull request as ready for review June 24, 2024 23:56
@amotl amotl merged commit a5e749c into main Jun 25, 2024
27 checks passed
@amotl amotl deleted the amo/fix-table-dialect-options branch June 25, 2024 09:20
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.

2 participants