Updated October 14th, 2022 by anshuman.sahu

Set nullability when using SaveAsTable with Delta tables

When creating a Delta table with saveAsTable, the nullability of columns defaults to true (columns can contain null values). This is expected behavior. In some cases, you may want to create a Delta table with the nullability of columns set to false (columns cannot contain null values). Instructions Use the CREATE TABLE command to create the table an...

1 min reading time
Load More