bug: Serialization of decimal.Decimal
values in JSON fields is failing for SQL targets
#1897
Closed
1 task done
Labels
Singer SDK Version
0.30.0
Is this a regression?
Python Version
NA
Bug scope
Taps (catalog, state, etc.)
Operating System
NA
Description
SQL targets are failing to serialize values of type
decimal.Decimal
in JSON fields after we started deserializing JSON numeric values to that type in #1809.This can be easily fixed by using a custom
json_serializer
(andjson_deserializer
, for good measure) on the engine created for the SQL connector instance.Code
No response
The text was updated successfully, but these errors were encountered: