You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve 15-16 transformer AST mismatch for create_view-281.sql
- Add SYSTEM_USER transformation handling in ColumnRef, FuncCall, and RangeVar methods
- Fix empty object handling in List transformation to use {} as any instead of { A_Const: {} }
- Remove skip entry for latest/postgres/create_view-281.sql test case
The transformer now correctly handles:
- PG15 ColumnRef with system_user -> PG16 FuncCall with pg_catalog.system_user
- PG15 FuncCall with pg_catalog.system_user -> PG16 ColumnRef with system_user
- PG15 RangeVar with system_user -> PG16 RangeFunction with nested FuncCall
- Empty objects in List items to match native PG16 AST output
Co-Authored-By: Dan Lynch <[email protected]>
[13,14,"latest/postgres/create_function_sql-91.sql","AST transformer bug - converts FUNC_PARAM_DEFAULT to FUNC_PARAM_IN in CREATE FUNCTION statements with default parameter values"],
94
95
[13,14,"latest/postgres/create_function_sql-90.sql","AST transformer bug - converts FUNC_PARAM_DEFAULT to FUNC_PARAM_IN in CREATE FUNCTION statements with default parameter values"],
95
96
[13,14,"latest/postgres/create_function_sql-115.sql","AST transformer bug - incorrectly adds parameter names to objfuncargs in DROP FUNCTION statements"],
0 commit comments