QuestionQ100

VerifiedData Processing & Transformations

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 keyword can be used to compact the small files?

Explanation

The OPTIMIZE command performs bin-packing compaction, combining many small files in a Delta table into fewer, larger files to improve read performance. VACUUM only removes stale files that are no longer referenced, and REPARTITION and COMPACTION are not Delta Lake SQL commands.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!