
Ultimate access to all questions.
Discuss the advantages of using the MERGE command in a data processing pipeline, particularly in scenarios where data needs to be updated and new data needs to be inserted without causing duplicates. How does MERGE compare to other SQL commands in terms of efficiency and functionality?
A
MERGE allows for atomic operations and schema evolution, unlike INSERT OVERWRITE.
B
MERGE supports conditional updates and inserts, ensuring data integrity without full table operations.
C
MERGE is faster than CREATE OR REPLACE TABLE for large datasets.
D
MERGE can handle complex transformations directly in the database.