python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
What should happen to a SCD 2 table record if the record becomes inactive?
Let's say we have a table that has these values:
id| name| country| start_dt| end_dt| is_current| current_dt
1001| John| CA| 2001-01-10| 2012-06-01| TRUE| 2012-06-01
Next day, the same record comes f...
Parijat Bose
Votes: 0
Answers: 1
Python nan and None
I am trying to apply the SCD2 with Python.
The source files are .xlsx files and will be loaded into PostgreSQL.
I have applied the condition where I identify the changed rows in the merged dataframe b...
magji
Votes: 0
Answers: 1
Logic to find out deltas/CDC records for capturing Just Inserts or Updates in Bigquery
I have some raw data sitting in Big-query tables which are truncate load and my daily ETL feed which runs on these raw BQ tables is a daily snapshot of agents which are the daily extracts below .
To g...
cheapcoder
Votes: 0
Answers: 1
SQL Server: Slowly Changing Dimension Type 2 on historical records
I am trying to set up a SCD of Type 2 for historical records within my Customer table. Attached is how the Customer table is set up alongside the expected outcome. Note that the Customer table in prac...
Aiden Aslam
Votes: 0
Answers: 1