Hi All, _datahub ingest return error for CSVEnrich...
# troubleshoot
m
Hi All, _datahub ingest return error for CSVEnricherConfig should_overwrite extra fields not permitted_, why is that?
Copy code
source:
    type: "csv-enricher"
    config:
        filename: "/datahub/datahub.csv"
        should_overwrite: false
        delimiter: ","
        array_delimiter: "|"

sink:
    type: "datahub-rest"
    config:
        server: "<http://serveraddress.com>"
✅ 1
b
hey there! as you can guess from the error,
should_overwrite
isn't a valid field for the csv-enricher. if you want this to be a patch instead of an onverwrite, try useing
write_semantics: "PATCH"
as referenced here: https://datahubproject.io/docs/generated/ingestion/sources/csv/#config-details
but that is also the default just so you know
m
Thanks I will check 🙏