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
ManasiL
Frequent Visitor

how to handle varchar datatype having special character in dataflow

We are trying to load data from SAP DB to Datawarehouse in fabric. If we keep the default schema mapping then there is not issue of datatypes. But if we create tables giving size for varchar types then some columns fail to load data because it contains special characters.

 

How to handle this?

Need urgent help!!

1 ACCEPTED SOLUTION
Srisakthi
Resolver II
Resolver II

Hi @ManasiL ,

 

Are you getting error saying table values truncation error? If so increase the size of varchar.

Is any of your column name has space in it? Fabric doesnt allow space in column names. Please check that as well.

 

View solution in original post

3 REPLIES 3
ManasiL
Frequent Visitor

Hello,

Thank you for your response. To answer your questions:

There is not space in column names.

Yes i was getting the truncation error.

To resolve this, for such text descriptive columns we set the column size to 200 whereas the source column size was around 50 and it solved our issue.

Srisakthi
Resolver II
Resolver II

Hi @ManasiL ,

 

Are you getting error saying table values truncation error? If so increase the size of varchar.

Is any of your column name has space in it? Fabric doesnt allow space in column names. Please check that as well.

 

mikeburek
Advocate II
Advocate II

What error are you getting?

Is the default mapping auto-creating varchar columns of size 8000?

 

And when you manually create the table, you give a specific varchar size? Something like varchar(30)?

 

Are you getting an error about data size truncating on the table you manually create?

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!