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
An alternate workaround to add/edit metas can be to case on the specific PartiqlAst.Expr type and call its corresponding withMeta function.
It would be nice to have a .copy function that ExprNode currently has. Alternatively, there could be a withMeta function that PartiqlAst.Expr can call.
A more ideal solution would likely involve editing the PIG PartiqlAst type domain for PartiqlAst.Expr.
The text was updated successfully, but these errors were encountered:
When trying to transform
PartiqlAst.Expr
's metas, there currently isn't an easy way to change or add metas (for the genericPartiqlAst.Expr
).A current workaround is to create an inner class that overrides the PIG
transformMetas
function. i.e.An alternate workaround to add/edit metas can be to case on the specific
PartiqlAst.Expr
type and call its correspondingwithMeta
function.It would be nice to have a
.copy
function that ExprNode currently has. Alternatively, there could be awithMeta
function thatPartiqlAst.Expr
can call.A more ideal solution would likely involve editing the PIG PartiqlAst type domain for
PartiqlAst.Expr
.The text was updated successfully, but these errors were encountered: