v.1.1.54378Improvement
Usage of FINAL in SELECT and OPTIMIZE with Single Data Part
SELECT ... FINALandOPTIMIZE ... FINALcan be used even when the table has a single data part.
Why it matters
This feature removes previous restrictions that required multiple data parts for usingFINAL modifiers. It allows users to perform deduplication and final merges on tables regardless of the number of data parts, providing greater flexibility and consistency in query and optimization behavior.How to use it
Simply run queries with theSELECT ... FINAL syntax or execute OPTIMIZE ... FINAL commands on tables without needing to ensure multiple data parts exist. For example:SELECT * FROM table_name FINAL;
OPTIMIZE TABLE table_name FINAL;