
Answer-first summary for fast verification
Answer: Upon detecting a new column, the stream continues, schema remains unchanged, and new column info is added to the _rescued_data column.
Auto Loader supports four schema evolution modes: addNewColumns, rescue, failOnNewColumns, and none. In rescue mode, when a new column is detected, the schema does not evolve. Instead, the new column's information is added to the _rescued_data column, and the stream continues to run without interruption. More Info: Auto Loader schema evolution.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
What accurately describes the rescue schema evolution mode in Auto Loader?
A
The schema evolves immediately upon detecting a new column, causing the stream to fail.
B
New columns are ignored, and the stream proceeds without schema evolution.
C
The stream fails upon encountering new columns, with details stored in the _rescued_data column.
D
Upon detecting a new column, the stream continues, schema remains unchanged, and new column info is added to the _rescued_data column.
E
Schema evolves by adding the new column to the _rescued_data column, and the stream does not fail.
No comments yet.