cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Delta UserMetadata attribute using Serverless Compute

RobsonNLPT
Contributor

To automate the configuration of Spark on serverless compute, Databricks has removed support for manually setting most Spark configurations. 

I've used userMetadata attribute to add context for all workloads that write to delta tables

I have the follow options:

dataframe operations: opption"userMetadata","xxxxx")

spark.databricks.delta.commitInfo.userMetadata for scope level

SET spark.databricks.delta.commitInfo.userMetadata for sql

what about merge operations using dataframes using serverless compute ?

what about merge operations using dataframes or sql using serverless compute ?

 

 
deltaTable.as("t")
  .merge(
    changesDF.as("s"),
    "s.PK=t.PK")
  .whenMatched().updateAll
  .whenNotMatched().insertAll
  .execute()

 

 

 

 

 

 

 

 

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group