
Answer-first summary for fast verification
Answer: Any one from rescue or none can be used
Let's analyze each option: - **dropNewColumns**: Incorrect. This is not a valid schema evolution mode. - **none**: Incorrect. Selecting this mode means the stream won't fail if a new column is detected, but the column will be ignored without evolving the schema. However, since the question only requires the stream not to fail, either `rescue` or `none` can be used. - **rescue**: Incorrect. Similar to `none`, this mode ensures the stream doesn't fail upon detecting a new column, adding it to the rescued data column without evolving the schema. Again, either `rescue` or `none` can be used based on the question's requirements. - **Any one from rescue or none can be used**: Correct. As the question specifies that the stream should not fail when a new column is encountered, either `rescue` or `none` is suitable. - **Any one from rescue or dropNewColumns can be used**: Incorrect. `dropNewColumns` is not a valid schema evolution mode. For more details, refer to Schema evolution modes in Auto Loader.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A data engineer is exploring schema evolution modes in Databricks Auto Loader. Which mode should they select to ensure the stream continues without failure upon encountering a new column?
A
dropNewColumns
B
none
C
rescue
D
Any one from rescue or none can be used
E
Any one from rescue or dropNewColumns can be used
No comments yet.