/
Macros and the Wrangler Transformation
Macros and the Wrangler Transformation
Macros can be freely specified. One caveat while specifying macros is that the #pragma load-directives
cannot be part of the macro. They should be specified in the plugin configuration itself. The reason is that we have to register the user defined directives prior to initializing and executing the transform. Macros are dereferenced only at the initialization and execution state. A configuration could look something like this:
#pragma load-directives my-udd-1, my-udd2;
${macroed_recipe}
#pragma load-directives my-udd3
${another_recipe}
Related content
Editing a recipe for a transformation created in the Wrangler
Editing a recipe for a transformation created in the Wrangler
More like this
Wrangler concepts
Wrangler concepts
More like this
Wrangler overview
Wrangler overview
More like this
Wrangler User Defined Directives
Wrangler User Defined Directives
More like this
Wrangler User Guide
Wrangler User Guide
More like this
Wrangler UI components
Wrangler UI components
More like this
Created in 2020 by Google Inc.