Skip to content

Support Teradata UPDATE FROM before SET with shared clause rendering - #2587

Merged
manticore-projects merged 4 commits into
JSQLParser:masterfrom
minleejae:feat/teradata-update-from
Sep 11, 2026
Merged

Support Teradata UPDATE FROM before SET with shared clause rendering#2587
manticore-projects merged 4 commits into
JSQLParser:masterfrom
minleejae:feat/teradata-update-from

Conversation

@minleejae

Copy link
Copy Markdown
Contributor

UPDATE a FROM db1.table1 a, db2.tabl2 b SET ... now parses with Dialect.TERADATA. Reuse the existing UPDATE source/join model and add a clause-position flag, with shared FROM parsing and rendering for the AST and deparser. Table discovery and metadata validation recognize target aliases declared in the early FROM clause.

Existing dialects retain FROM-after-SET behavior. Tests cover the issue reproducer, aliases and quoted names, round-trips, custom expression deparsing, AST edits, statement boundaries, malformed input and dialect isolation. Full Gradle check and Maven verify passed; the local formatter ratchet uses upstream base eddb1fb5 because the fork's master is behind.

Fixes #891.

Syntax: Teradata UPDATE, joined tables form.

@manticore-projects
manticore-projects merged commit a206b86 into JSQLParser:master Sep 11, 2026
9 checks passed
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.

JSqlParser failed to parse Teradata "UPDATE" statement with "FROM" clause

2 participants