Provide a way to pass metadata to functions and between expressions #846
Labels
enhancement
New feature or request
subject: code generation
This issue is about code generation
subject: syntax
This issue is about the syntax of Rosetta
If you consider the following function:
In the above example the scheme of the input is not preserved on the way into the function so this will result in an error in the generated code.
Additionally the following example:
In this example you currently get a syntax error as the metadata is lost prior to using the
extract
operator.This issue proposes that we support the concept of passing metadata to function and between expression operators and in doing so support the above two examples.
An additional aspect of this change will be to support checking of the meta types when passing between functions and expressions. So if you consider the following:
This above
set
operation will now be invalid asMyFunc
requires astring
with ametadata reference
but instead got just a string.The text was updated successfully, but these errors were encountered: