What is the purpose of Redshift's STG (staging) table pattern in ETL workflows?
-
A
To store query results temporarily in memory
-
B
To load incoming data before merging it into production tables using UPSERT logic
-
C
To cache materialized view results
-
D
To store rejected rows from COPY operations