
Ultimate access to all questions.
A data engineering team is optimizing performance and notices a query on the orders Delta table, which contains a large amount of data, is running too slowly due to many small files. They aim to trigger compaction for the year 2022 data only using the OPTIMIZE command. Which command should they use?
A
OPTIMIZE TABLE orders WHEN order_date >= ‘2022-01-01‘_
B
OPTIMIZE orders WHERE order_date >= ‘2022-01-01‘_
C
OPTIMIZE TABLE orders WHERE order_date >= ‘2022-01-01‘_
D
OPTIMIZE orders FILTER BY order_date >= ‘2022-01-01‘_
E
OPTIMIZE TABLE orders USING order_date >= ‘2022-01-01‘_