Loading tutorials
Intermediate · Mid: 14 chapters · 37 min read. States assumed prerequisites
Start readingmain.sales.orders.main.sales. Replace it with your own catalog and schema.CREATE TABLE rights on a Unity Catalog schema such as main.sales. It also assumes you know how Delta tables are defined in SQL. Python offers two routes to the same result. You can write a DataFrame to a table, oCREATE TABLE and CTAS), and that you know basic SQL data types. Here you will learn how to make a table reject bad data instead of storing it.main.sales.orders. Here you will learn the two basic ways to put new data into an existing table: append and overwrite.MERGE to apply a batch of changes to a table in one atomic operation.main.sales. You should also know that a Delta table stores its schema in the transaction log.main.sales.orders table from earlier chapters.UPDATE, DELETE and MERGE statements. Here you will learn how Delta lets several writers change one table at once, when it rejects a write, and how to reduce conflicts.RESTORE. Both commands here act on files, not rows. They never change what a query returns for the current version of the table.