QuestionQ233

VerifiedCost & Performance Optimisation

A data engineer runs a daily batch-ingestion pipeline on a cluster using the latest DBR version to store banking transaction data. The data is persisted in a MANAGED DELTA table named prod.gold.all_banking_transactions_daily.

Business units frequently query this table ad hoc through a SOL Serverless Warehouse and continually report poor query performance. Analysis shows that these units use high-cardinality columns as filters for their analysis. The data engineer is evaluating a data-layout optimization technique for the table that is incremental, easy to maintain, and can readily evolve over time.

Which command should the data engineer implement?

Explanation

Liquid clustering is designed for Delta tables queried with filters on high-cardinality columns. It is incremental because OPTIMIZE rewrites only the data that needs reclustering, and its clustering keys can be changed as query patterns evolve. It replaces static Hive-style partitioning and Z-ORDER, which are not compatible with liquid clustering.

Learn more

Community Discussion

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