:white_check_mark: Solved! adding this piece of c...
# getting-started
j
Solved! adding this piece of code with check of property
wrap_location_lat: str( _['document__wrapLocation__lat'] if 'document__wrapLocation__lat' in record else '')
Hi all! I have this mapper who define explicit path o field who cames from mongodb, it fails when found documents wihout property "document___wrapLocation___lat", there's a way to solved it? tap-mongodb (meltanolabs) - meltano-map-transformer - target-postgres (pipelinewise-target-postgres)
Copy code
mappers:
  - name: meltano-map-transformer
    variant: meltano
    pip_url: git+<https://github.com/MeltanoLabs/meltano-map-transform.git>
    mappings:
    - name: set_fields_jd
      config:
        stream_maps:
          organizations:
            nome: document__name
            tipo: document__type
          hid_cotton:
            wrap_location_lat: document__wrapLocation__lat
            wrap_location_lon: document__wrapLocation__lon
            wrap_date_time: document__wrapDateTime
            machine_pin: document__machinePin
            operator: document__operator
            field_id: document__fieldId
            operation_type: operation_type
2
🙌 1