Forum Discussion
Creating a table in Fabric Warehouse - allow NULL values
Hi there
I created a few tables in my Fabric Warehouse, and some columns were supposed to allow NULL values.
- Anonymous2 years ago
Hi webchris ,
Thanks for the information. Apologies for the issue you are facing. Currently there is no bug for this feature. We can certainly keep an eye on it for upvote.Appreciate if you could share the feedback on our feedback channel. Which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
8 Replies
- AnonymousNot applicable
Hi webchris ,
Thanks for using Fabric Community.
I tried to create a repro of your scenario and was successful in inserting NULL values into the 'CreatedDate' column. I have attached the screenshots for your reference.
1) I created a table named Allotment in my warehouse.
2) I tried to insert a row manually and was successful for inserting null values.3) I also created a stored procedure for inserting rows into the table.
4) I inserted the row with NULL values.5) I also created a stored procedure including the CreatedDate column and tried inserting NULL values.
Hence try running the Stored Procedure once again.
Hope this helps. Please let me know if you have any further queries.- webchris
Advocate III
Anonymous
Good morning, thanks for your investigation.
When you now click on the three dots next to your table and select "Create", does the DDL Code show the correct types (esp. regarding nulls)? On my end, the "create"-statement resets all columns to "Not Null".
Thanks again
Christian
- AnonymousNot applicable
Hi webchris ,
Yes you are right, the create statement resets all the columns to "NOT NULL". But I couldnt understand why to create another table?
As per your ask, you stated that NULL columns are not inserted into the table. But when I created the table, I was able to insert NULL values.
If you are trying to create another table with same columns the editor resets the columns to "NOT NULL". Then you cannot insert NULL values into such table.
Could you explain me your ask more clearly, so that I can help you better?
Thank you.