ian_lewis
07/04/2023, 9:40 AMmeltano-map-transform
is it possible to do this, or something like it?
I'm not 100% clear from the examples how flexible the mapper is and whether it is possible to use inline functions or arbitrary Python (eg. decimal.Decimal() )
I'm trying to circumvent the MultipleOf
validation error that occurs with float values.
mappings:
- name: fix_float
config:
stream_maps:
finance_option:
interest_rate_percentage: "decimal.Decimal(interest_rate_percentage)"
taylor
07/04/2023, 1:49 PMuser
07/05/2023, 3:26 PMian_lewis
07/07/2023, 9:55 AMMultipleOf
issue (I have tried it now), might be useful to add to the cast functions in mapper. eg. decimal()
đŸ™‚
Hoping to see this PR https://github.com/meltano/sdk/pull/1809 by @edgar_ramirez_mondragon go through tooedgar_ramirez_mondragon
07/07/2023, 4:34 PMuser
07/07/2023, 4:38 PM