Question: 1 / 215

What does the FORCE command do when using the COPY INTO statement?

It skips missing files

It forces all files to load, regardless of duplicates

The FORCE command in the COPY INTO statement is utilized to ensure that all specified files are processed during the loading operation, even if there are duplicate records present. When this command is employed, it overrides any constraints or checks that might typically prevent duplicates from being loaded into the target table. This functionality is particularly useful in scenarios where users need to guarantee that data from all files is captured, regardless of whether some of that data is already present in the destination table.

By allowing duplicates, the FORCE command facilitates more flexible data ingestion, especially in environments where completeness of data is prioritized over uniqueness. It is important to note that while this command helps in ensuring all data is loaded, it also means that users must manage the implications of having potential duplicates in their dataset.

It only loads files that haven’t been loaded before

It cancels previous file loads

Next

Report this question