Forum Discussion

olivs's avatar
olivs
Icon for Most Valuable Professional rankMost Valuable Professional
23 days ago
Solved

Copy Data Activity failed on Upsert

Hi I'm currently building a pipeline to copy data from a Fabric warehouse to a Fabric lakehouse. Everything from source to destination is configured in a config table. Including the column mapping. ...
  • olivs's avatar
    olivs
    4 days ago

    This is a valid solution, and will solve my issue, in the meanwhile I figured out what was wrong.

    I was also providing a full column mapping in the mapping section. When doing that dynamically, you need to add the type conversion section in the dynamic mapping explicitly:

    "translator": {
      "type": "TabularTranslator",
      "mappings": [ ... from your config table ... ],
      "typeConversion": true,
      "typeConversionSettings": {
        "allowDataTruncation": false,
        "treatBooleanAsNumber": false
      }
    }