amanda.folson
09/01/2021, 3:08 PMvisch
09/01/2021, 5:35 PMedgar_ramirez_mondragon
09/01/2021, 5:41 PMWhere are the type hints going to be placed? Having access to the catalog if you're a target can be pretty useful, but at least having some way of mapping types between DBs is useful in some DB -> DB data moves.The singer spec supports a
sql-datatype metadata field (https://github.com/singer-io/getting-started/blob/master/docs/DISCOVERY_MODE.md#metadata). Do you think something like would help in keeping data types more faithful when doing db->db EL?amanda.folson
09/01/2021, 5:42 PMvisch
09/02/2021, 3:56 PMvisch
09/02/2021, 3:58 PMDo you think something like would help in keeping data types more faithful when doing db->db EL?
Yeah I had to do some nasty stuff (Maybe there's a better way I'm very open to chucking out these ideas) to get VARBINARY and date vs datetime passed properly from oracle to mssql
https://gitlab.com/autoidm/autoidm-target-mssql/-/blob/main/target_mssql/streams.py#L196-197visch
09/02/2021, 3:59 PM