How and When to Use Databricks Identity Column

  Рет қаралды 2,784

Bryan Cafferky

Bryan Cafferky

Күн бұрын

Пікірлер: 12
@artus198
@artus198 Жыл бұрын
yep, I come from SQL , we used identity all the time on PKs ... ! Thanks for the video.
@AccountingatCHDS
@AccountingatCHDS Жыл бұрын
Partitioning by identity coliumn would be indeed a bad idea but if we had the partition by range feature, it could be interesting so that you partition by million or rows as an example...
@felipeporto4396
@felipeporto4396 8 ай бұрын
This is pure gold
@mateen161
@mateen161 Жыл бұрын
Useful video. Thank you.
@lunatyck05
@lunatyck05 Жыл бұрын
Should also mention if you try to insert a id value you will get an error when using GENERATED ALWAYS AS IDENTITY but you are able to use GENERATED BY DEFAULT and override identity or insert nulls into the column
@BryanCafferky
@BryanCafferky Жыл бұрын
Hmmm.. I thought I did mention that but guess I was not clear. Thanks
@NoahPitts713
@NoahPitts713 4 ай бұрын
Great and timeless info as always! qq - how has your experience been using the IDENTITY Column since making this video?
@BryanCafferky
@BryanCafferky 4 ай бұрын
I have not dared to try it again. lol I don't think it is the best idea for a scaled out service to be honest. Ok if updates are limited but I would still try to find an alternative.
@Ali-q4d4c
@Ali-q4d4c Ай бұрын
Why delta table GENERATED AS ALWAYS IDENTITY column doesn’t generate sequential continuous number? It starts from 1,2,3,6,8,9 ,11 etc..
@BryanCafferky
@BryanCafferky Ай бұрын
Interesting. Not sure but if you insert and later delete, the previously used identity value will never be used again so gaps can occur over time.
@MinPro-ws7ib
@MinPro-ws7ib Жыл бұрын
Is the table managed or external?
@BryanCafferky
@BryanCafferky Жыл бұрын
It's actually not relevant for this.
Should You Use Databricks Delta Live Tables?
9:57
Bryan Cafferky
Рет қаралды 7 М.
Understanding Delta Lake - The Heart of the Data Lakehouse
19:26
Bryan Cafferky
Рет қаралды 8 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Getting Started on Databricks SQL for Users
17:46
Databricks
Рет қаралды 5 М.
Advancing Spark - Identity Columns in Delta
20:00
Advancing Analytics
Рет қаралды 10 М.
4. Strategies to create Surrogate keys in Spark-Databricks
26:59
CloudFitness
Рет қаралды 8 М.
Databricks Five Ways To Create Tables | pySpark and Spark SQL
10:54
Grab N Go Info
Рет қаралды 10 М.
Azure Databricks Secret Scopes Tutorial  | Secure your notebook secrets
17:23
Adam Marczak - Azure for Everyone
Рет қаралды 48 М.
Why Databricks Delta Live Tables?
16:43
Bryan Cafferky
Рет қаралды 18 М.
What is Azure Data Lake and When to Use It
11:54
CBT Nuggets
Рет қаралды 78 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН