Skip to content

Conversation

@brdbry
Copy link
Contributor

@brdbry brdbry commented Jan 2, 2026

Extend the MySQL generator so that UPDATE … FROM … statements (not supported by MySQL) are emitted as UPDATE … JOIN …, synthesizing ON TRUE predicates when no join condition is specified, and handling nested/comma joins.

Add test_update_from_to_join to cover the new rendering and adjust a Teradata cross-dialect test expectation to match the JOIN-based MySQL output.

@brdbry brdbry changed the title Translate UPDATE … FROM … syntax to UPDATE … JOIN … when generating MySQL feat(mysql): translate UPDATE … FROM … syntax to UPDATE … JOIN … when generating MySQL Jan 2, 2026
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.

1 participant