This processor removes the _key
metadata value for any DataEntity or DataWindow.
Example of a job using the remove_key
processor
{
"name" : "testing",
"workers" : 1,
"slicers" : 1,
"lifecycle" : "once",
"assets" : [
"standard"
],
"operations" : [
{
"_op": "test-reader"
},
{
"_op": "remove_key"
}
]
}
Output of example job
const data = [
DataEntity.make({ name: 'chilly' }, { _key: 1 }),
]
const results = await processor.run(data);
results[0].getKey() === undefined
Configuration | Description | Type | Notes |
---|---|---|---|
_op | Name of operation, it must reflect the exact name of the file | String | required |