- 4143 Views
- 3 replies
- 1 kudos
I have a Merge into statement that I use to update existing entries or create new entries in a dimension table based on a natural business key.When creating new entries I would like to also create a unique uuid for that entry that I can use to crossr...
- 4143 Views
- 3 replies
- 1 kudos
Latest Reply
you might wanna look into an identity column, which is possible now in delta lake.https://www.databricks.com/blog/2022/08/08/identity-columns-to-generate-surrogate-keys-are-now-available-in-a-lakehouse-near-you.html
2 More Replies
- 7145 Views
- 7 replies
- 3 kudos
Hi guys,I'm trying to use uuid in the merge but I always get an error...import uuid
(
df_events.alias("events").merge(
source = df_updates.alias("updates"),
condition = "events.cod = updates.cod and events.num = updates.num"
).whenMatch...
- 7145 Views
- 7 replies
- 3 kudos
Latest Reply
Hi @William Scardua Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. We'd love to hear from you.Th...
6 More Replies