Skip to content

Conversation

@cvng
Copy link
Contributor

@cvng cvng commented Dec 13, 2023

What kind of change does this PR introduce?

feat: support CreateCastStmt

What is the current behavior?

Parser panics

What is the new behavior?

[2023-12-13T14:38:21Z DEBUG parser::codegen::tests] pg_query_root: Some( CreateCastStmt( CreateCastStmt { sourcetype: Some( TypeName { names: [ Node { node: Some( String( String { sval: "pg_catalog", }, ), ), }, Node { node: Some( String( String { sval: "int8", }, ), ), }, ], type_oid: 0, setof: false, pct_type: false, typmods: [], typemod: -1, array_bounds: [], location: 13, }, ), targettype: Some( TypeName { names: [ Node { node: Some( String( String { sval: "int4", }, ), ), }, ], type_oid: 0, setof: false, pct_type: false, typmods: [], typemod: -1, array_bounds: [], location: 23, }, ), func: None, context: CoercionAssignment, inout: true, }, ), )

Additional context

Add any other context or screenshots.

@psteinroe psteinroe merged commit e3c9c72 into supabase-community:main Dec 13, 2023
@cvng cvng deleted the create-cast branch December 13, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants