abhishek_ajmera
05/22/2023, 7:30 AMself as the documentation seemed like it takes care of value present or not, but got error that self is not defined in the first place.
Can somebody please help me transform the field to string if it exists, and do nothing if it doesn’t?pat_nadolny
05/22/2023, 1:27 PMself issue but similar to this example https://docs.meltano.com/guide/mappers#example you should be able to use a default value with the python get() method like:
transactionId: str(record.get('transactionId', ''))pat_nadolny
05/22/2023, 1:28 PMipv4prefix or ipv6prefix and never both, so I parse out each and default to an empty string if it doenst exist https://github.com/meltano/squared/blob/f0048719743862a4f4601b152e6606e3280e6f83/data/extract/mappers.meltano.yml#L13abhishek_ajmera
05/22/2023, 2:03 PM