Forum Discussion
Gen2 Dataflow Started Failing - Nullable Issue
Hi Mrizzo21,
Welcome to the Fabric Community! It’s great to hear that you’ve found it helpful.🙂
The issue you're encountering with your Gen2 Dataflows sounds frustrating, especially since it seems to have arisen suddenly. The error message indicating that a source column is nullable while the destination column is not can often be linked to changes in the data itself or in the schema of the tables you're writing to.
Here are a few suggestions to troubleshoot and resolve the issue:
- Check Source Data: Even if you believe there are no nullable values in the source data, it’s worth double-checking for any new rows or changes in the Excel files that could introduce null values.
- Review Schema: Verify that the schema of your destination Fabric Warehouse tables has not changed. Ensure that the ID column and any other relevant columns are set correctly to handle the incoming data.
- Modify Query Steps: If there are any transformations or query steps that might inadvertently introduce null values, consider adding checks or filters to handle those cases explicitly before writing to the destination.
- Temporary Changes: As a test, you might try allowing nulls in the destination table for a specific run to see if that resolves the issue. This could help identify whether the problem is indeed related to nullability.
- Check for Recent Updates: Since the issue started recently, check if there have been any updates or changes to the Fabric platform or dataflow functionalities that could have introduced this behavior.
If the problem persists, it might be worth reaching out to the support team for additional insights, especially since it seems to have changed unexpectedly.
Good luck, and I hope you get this resolved soon!
Best regards,
Sai
Data Engineer | 3x Microsoft Certified
If this helps, kindly mark this as the accepted solution! 👍
This is happening to me as well on a pull from a google sheet. Not a database, yes it can be null. Two different fields one was last name, the other was and order number for web orders. So if it isn't a web order it would not have an order number. I have tried changing the data type, trimming, cleaning replacing blanks...no luck. Why would a varchar not allow nulls? or blanks. This has never been an issue before. Any help would be apprecated.
error: The 'Web Order Number ' column in 'Purchases' table is invalid. Column names must contain at least one alphanumeric character, and cannot begin or end with blank characters.
Suzanne
- mcwires1 year agoFrequent Visitor
Hello Suzanne. Bit of a guess here, but I'm wondering if your error is different. The error states, "end with blank characters". And you have quoted "Web Order Number " with a trailling space. Might it be worth checking that and removing if it is there?
Mike.
- Suzanne_Shuford1 year agoFrequent Visitor
I did not remove the field, but I did trim and clean it. Since it was several fields and one being a name, I am still unclear, why you could not have a blank or null in a varchar field. These are not key field, from a google worksheet.