singer-io / singer-python

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

Add support for custom decimal string formatter #125

Closed dmosorast closed 3 years ago

dmosorast commented 4 years ago

Description of change

This PR introduces a new concept: A Singer custom string format type that specifies a decimal value.

The reasoning behind this is to maintain decimal precision throughout ELT pipelines by converting to and from JSON strings and parsing with decimal.Decimal (in Python).

Manual QA steps

Risks

Rollback steps