Validates the header for field order, additional and missing fields. Raises an error if the header deviates in any of these points.
Example

I Ain't Afraid of No Code!
[
[
"expectheader",
{
"subtable": null,
"expected": [
"field_1",
"field_2"
],
"_comment": null
}
]
]
param str subtable: Name a subtable in which output will be stored (will create subtable where necessary).
param list expected: Columns in expected order.
param str comment: A comment that will appear in the Transformation UI.
Comments
0 comments
Article is closed for comments.