Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jochenj
Advocate II
Advocate II

Data Pipeline Error (Parquet File > FabricDWH) TypeConversion is not supported by the external cmd

Situation:

i struggle to load a parquet file to DWH.

The Parquet File has a column "Info" which is nvarchar(max)

FabricDWH does only support a max of varchar(8000)

I would be fine if the column-data gets truncated on import to DWH so that only first 8000 characters are stored in DWH

Problem:

If i create a Fabric Pipeline with Copy Activity with/without Column Mapping i get:

ErrorCode=UserErrorSqlDWCopyCommandError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=SQL DW Copy Command operation failed with error 'String or binary data would be truncated while reading column of type 'VARCHAR(8000)

 

There are no options in PipelineUI Sink or Mapping Tab to define a convert or "allow truncate" o explicit type casts

 

so i tried to define "dynamic content" with a TabularTanslator in Mapping Tab of Copy Activity:

  {"type": "TabularTranslator"
  ,"typeConversion": true
  ,"typeConversionSettings": {"allowDataTruncation": true
  ,"treatBooleanAsNumber": false}
  }

This worked in AzureADF  without issues, but when using in Fabric Pipeline i get error:

ErrorCode=UnsupportCopyFeatureInExternalCommand,The copy feature: TypeConversion is not supported by the external command SynapseImportCommand

 

Now the questions:

  • Does anyone know if defining a custom tabular translator is even supported in current Fabric Pipeline vesion?
  • Does anyone have a workaround how to do BASIC type conversion as needed in my scenario? Yes i think i could do the same with a Dataflow Gen2 instead but Dataflows then would have other issues like the lack of parametrization of dataflow...
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @jochenj,
Thanks for using the Fabric community,

 

Data truncate is not a supported feature in DWH. Thus Data pipeline cannot support truncate for Parquet -> DWH. However Data pipeline can support skip incompatibly rows and output incompatibly rows by 'Settings'->'Fault Tolerance'.

 

Hope this is helpful. Incase of any further queries do let us know.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi  @jochenj,
Thanks for using the Fabric community,

 

Data truncate is not a supported feature in DWH. Thus Data pipeline cannot support truncate for Parquet -> DWH. However Data pipeline can support skip incompatibly rows and output incompatibly rows by 'Settings'->'Fault Tolerance'.

 

Hope this is helpful. Incase of any further queries do let us know.

thanks for the insights. Can you confirm that even "renaming" of columns with a dynamic TabularTranslator expression should work? Or is this also not implemented yet?

Anonymous
Not applicable

Hi @jochenj ,

Dynamic TabularTranslator should be supported.

Anonymous
Not applicable

Hello @jochenj ,

We haven’t heard from you on the last response and was just checking back to see if your query got resolved? Otherwise, will respond back with the more details and we will try to help.

Anonymous
Not applicable

Hi @jochenj ,

Glad to know your query got resolved. Please continue using Fabric Community incase of any queries.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!