-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.21.0
-
Fix Version/s: 1.23.0
-
Component/s: jdbc-adapter
-
Labels:None
Rendering a VALUES relnode to e.g. PostgreSQL will produce FROM (VALUES((1))) AS t(col_alias) where "t" is a static alias. When e.g. joining with such a VALUES, the RelToSqlConverter tries to re-alias this with a unique alias, but fails because it produces FROM (VALUES((1))) AS t(col_alias) AS newAlias.
The fix is to replace the static table alias instead.
- links to