BigQuery - Delta Tracking using DML MERGE

  Рет қаралды 3,790

PracticalGCP

PracticalGCP

Күн бұрын

Пікірлер: 10
@RuxinZhang-jv1oy
@RuxinZhang-jv1oy Жыл бұрын
Thank you for the amazing video. Very helpful info.
@dileepreddy7469
@dileepreddy7469 2 жыл бұрын
It's really informative and the way you explained is awesome. Keep up the good work.
@vinci_irl
@vinci_irl 11 ай бұрын
it doesn't work properly, i think the delta_hash column has to be unique or something
@Philipe_William
@Philipe_William Жыл бұрын
thx for help
@mayuraggarwal8858
@mayuraggarwal8858 2 жыл бұрын
Hi , Thank you for the awesome video but I think I didn't understand the use case properly. If we have last updated column, then all I need to do is to get records changed after last timestamp like you explained in the end. Right??
@practicalgcp2780
@practicalgcp2780 2 жыл бұрын
Timestamps are often not reliable, the hash comparisons are checking the real data differences. However if you can rely on the last changed time stamp (so they are not timestamp for ingestion but real change from the source data) then it’s fine not to use hash comparisons
@mayuraggarwal8858
@mayuraggarwal8858 2 жыл бұрын
@@practicalgcp2780 Thank you. It makes sense now. Again thanks a lot for the tutorials.
@practicalgcp2780
@practicalgcp2780 2 жыл бұрын
@@mayuraggarwal8858 no worries, glad you found it useful ;)
@TheVamos777
@TheVamos777 2 жыл бұрын
Nice. I wonder where you got that idea 🤔 Glad to see it's going to get seen by a wider audience 😄 Keep the videos coming 👏
@practicalgcp2780
@practicalgcp2780 2 жыл бұрын
Thanks Phil! I can’t remember exactly where the idea of using MERGE for delta tracking came from (I think it was a colleague mentioned something similar in another system and I noticed MERGE can do the same thing in BQ). But the TO_JSON_STRING() idea to avoid null issues were from you😁 don’t you remember?
Practical GCP - Introduction
2:01
PracticalGCP
Рет қаралды 997
Centralised Data Sharing using Analytics Hub
31:33
PracticalGCP
Рет қаралды 3,3 М.
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,7 МЛН
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
GCP - BigQuery CDC delta load logic (Change Data Capture) - DIY#8
23:49
BharatiDWConsultancy
Рет қаралды 13 М.
Serverless distributed processing with BigFrames
27:53
PracticalGCP
Рет қаралды 2,3 М.
Automated data profiling and quality scan via Dataplex
26:48
PracticalGCP
Рет қаралды 8 М.
SQL - Merge
10:35
James Oliver
Рет қаралды 35 М.
BigQuery to Datastore via Remote Functions
22:20
PracticalGCP
Рет қаралды 1,6 М.
Cross-cloud analytics workloads with BigQuery Omni and Looker
28:39
Google Cloud Tech
Рет қаралды 613
GCP Composer | Airflow GCS to BigQuery and BigQuery Operators
19:24
Anjan GCP Data Engineering
Рет қаралды 15 М.
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,7 МЛН