Forum Discussion

MG86's avatar
MG86
Advocate II
2 years ago
Solved

Trouble managing mapping: cannot edit Type

I have set up a copy activity that has REST API as source and Lakehouse table as Destination. However when doing the Mapping many fields return Type null because it is empty in the first row. Besides it not being able to infer the column type from the example data, I cannot manually set the Type either. Resulting in that I cannot copy those columns at all. In Azure Data Factory I can do this, but it seems I can't in Fabric Data Factory?

The error is:

ErrorCode=UserErrorSchemaMappingCannotInferSinkColumnType,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Data type of column 'EndDate' can't be inferred from 1st row of data, please specify its data type in mappings of copy activity or structure of DataSet.,Source=Microsoft.DataTransfer.Common,'

'please specify its data type in mappings of copy activity' is what I cannot do in this case.

  • Thanks for reporting this. It is not supported yet. We are actively working on it, will take 1-2 months to support this.  jianleishen 

4 Replies

  • Why is this marked as "solved"? A solution should enable the execution of the original intent, even if it involves a workaround. "Not supported yet" does not qualify as a solution. It is understandable that with a system of this size, not everything has been implemented yet. However, marking it as "solved" can be misleading and may result in a waste of time.

  • GraceGu's avatar
    GraceGu
    Microsoft Employee

    Thanks for reporting this. It is not supported yet. We are actively working on it, will take 1-2 months to support this.  jianleishen 

    • rezasoltani's avatar
      rezasoltani
      New Member

      Hi Grace, 

       

      I have the same issue. Are you still working on it, or has it gone to the backlog?

  • Luanee's avatar
    Luanee
    Regular Visitor

    Hello GraceGu 

     

    This problem is currently causing me a lot of trouble as well. I'm trying to set up a Copy Data activity that uses an HTTP connector to load XML data, map it, and store it in a Lakehouse.


    However, the error mentioned above is blocking this process. This worked fine in Azure Synapse and Data Factory.
    It's already December. Is there any progress on this issue?