Forum Discussion

gregbortolotti's avatar
gregbortolotti
Frequent Visitor
2 years ago
Solved

How does Destination > Overwrite with a partition columns work ?

Hello,  I would like to understand how does a partition column work. For the context, I have a pipeline that goes from a MySQL database to a Lakehouse, I would like to do is an upsert (with a q...
  • jwinchell40's avatar
    2 years ago

    gregbortolotti - Overwrite with a Partition specific will overwrite the entire partition, it does not perform a merge.  Likewise, the Append will add new rows the partition but will not update the old versions.   You can do a merge however in Notebooks, we do a lot of that with Partitioned and Non-Partitioned data, link to the Databricks documentation (still applies to Fabric, I just like the documentation better). 

     

     

    Partitioning for very large tables to help speed up data access activities based on the partition field.  Think of it as grouping data/transactions together.  If you have transactional data that doesn't change, sometimes you would partition that by Transaction Date; that way when looking for Transactions in that time period it only queries that Partition vs the whole dataset.