問題文
A nightly script writes an aggregate table to a path that already holds the output of the previous night. The team wants the new rows to replace the old ones. Which save mode matches and what does it do to the old files?
選択肢
- The overwrite mode fits and it deletes the data that sits at the path before it writes the new rows out to disk.
- The default mode fits and it deletes the data that sits at the path once the write of the rows starts.
- The ignore mode fits and it deletes the data that sits at the path after the new rows land without error.
- The append mode fits and it deletes the data that sits at the different path whenever the schema of the new rows has changed.