Question 101 · 170 in bank
A data engineer has realized that the data files associated with a Delta table are incredibly small. They want to compact the small files to form larger files to improve performance. Which of the following keywords can be used to compact the small files?
Show answer
Answer: B
Explanation
OPTIMIZE is the correct answer. Compacting small files using the OPTIMIZE command improves table performance such as by combining multiple small files into larger ones.
Source: Adapted from community discussion — UGOTCOOKIES