singer-io / singer-python

Writes the Singer format from Python
https://singer.io
Apache License 2.0
537 stars 129 forks source link

Feature/transform filters using metadata #73

Closed dmosorast closed 6 years ago

dmosorast commented 6 years ago

This branch is to add metadata awareness to singer-python's transform functionality. That way, it will be able to detect unselected or unsupported fields and drop them from the data without the tap having to do anything other than pass in the metadata dictionary that it already has.

Additionally, this adds the filtered fields that are dropped in this way to the logs to provide a mechanism for log analysis, much like the removed fields that currently exist.