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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
JayJay11
Resolver II
Resolver II

Which types of columns are considered non-nullable? (Mashup Error 104100)

Hi all,

 

for a Gen2 Dataflow I am getting the almighty error 104100 regarding non-nullable columns. I tried now many things, in particular replacing null values in custom columns. So far I did not manage to run the flow successfully (destination Lakehouse table).

 

Can someone tell me, which types of columns are considered non-nullable in general?

1 ACCEPTED SOLUTION

it depends on how the table was created. If you are using Dataflow Gen2 to create it, then by default it sets all columns to be non-nullable meaning that all your columns require to comply to this. If you create the table using other tools and you just use Dataflow Gen2 to put the data in that table, then it'll rely on what you defined as nullable and non-nullable fields during the creation of that table.

 

We're actively working on making the default option to be nullable, but will also pass this feedback to the owner of this feature.

 

You'd need to make sure that all your fields comply with the non-nullable aspect. Not just the custom columns.

 

You can also take a look at the new features that were released today as well as a section that talks about the non-nullable aspect:

Dataflows gen 2 data destinations and managed settings | Microsoft Fabric Blog | Microsoft Fabric

View solution in original post

6 REPLIES 6
miguel
Community Admin
Community Admin

non-nullable columns are columns that can't contain a null value. You could replace "null" with a value of your choice to make sure that your columns don't contain null values

Thank you @miguel this I understand. But which types of columns can't contain null values? So far I figured that custom columns cannot contain null values.

 

Second question: Is there a way to make a column nullable in the Lakehouse table?

 

And last but not least: Is there a way to make the error message telling us users which columns are affected? Otherwise it is try&error really.

it depends on how the table was created. If you are using Dataflow Gen2 to create it, then by default it sets all columns to be non-nullable meaning that all your columns require to comply to this. If you create the table using other tools and you just use Dataflow Gen2 to put the data in that table, then it'll rely on what you defined as nullable and non-nullable fields during the creation of that table.

 

We're actively working on making the default option to be nullable, but will also pass this feedback to the owner of this feature.

 

You'd need to make sure that all your fields comply with the non-nullable aspect. Not just the custom columns.

 

You can also take a look at the new features that were released today as well as a section that talks about the non-nullable aspect:

Dataflows gen 2 data destinations and managed settings | Microsoft Fabric Blog | Microsoft Fabric

It is actually not true, that all columns cannot have null values. I can without any problems load a table, only consisting of string columns that have sometimes null values to a lakehouse table.

 

Why did you mark your answer as the accepted solution? It is not the solution, I still do not know, which type of column is non-nullable. I would please like to have this simple question answered.

 

In the meantime I created a new ticket.

The information the blog post shared has a way to address this and I see from your latest response that you've found it. While this is quite a manual way to address it, we don't have other ways to show you what columns accept nulls or non-nulls as its information from the destination. You can request this as a new feature using the following link:

https://aka.ms/FabricIdeas

Okay to anyone wondering how to solve this issue effectively in a query:

 

Everywhere, where either a new custom column is created or an existing column is manipulated, you have to add "nullable" for the data type determination.

 

Even when you are just trimming a text column:

 

Table.TransformColumns(#"Changed Type",{{"DocumentItemText", Text.Trim, type nullable text}, {"InfoGegenkonto", Text.Trim, type nullable text}})

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugFabric_Carousel

Fabric Monthly Update - August 2024

Check out the August 2024 Fabric update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.