From 5b1cde74a562548971fa23b7146c017764b4f961 Mon Sep 17 00:00:00 2001 From: abhinavmuk04 <69162586+abhinavmuk04@users.noreply.github.com> Date: Fri, 28 Jun 2024 15:29:29 -0700 Subject: [PATCH] Update Properties documentation with new Optimizer property --- presto-docs/src/main/sphinx/admin/properties.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/presto-docs/src/main/sphinx/admin/properties.rst b/presto-docs/src/main/sphinx/admin/properties.rst index 4d52d5fdf9f47..543c9e440b63a 100644 --- a/presto-docs/src/main/sphinx/admin/properties.rst +++ b/presto-docs/src/main/sphinx/admin/properties.rst @@ -834,6 +834,17 @@ Log the stats equivalent plan and canonicalized plans used in history based opti Enable analysis and propagation of logical properties like distinct keys or cardinality among the nodes of a query plan. The optimizer may then use these properties to perform various optimizations. +``optimizer.confidence-based-broadcast`` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +* **Type:** ``boolean`` +* **Default value:** ``false`` + +Enable broadcasting based on the confidence of the statistics that are being used, by +broadcasting the side of a joinNode which has the highest (``HIGH`` or ``FACT``) confidence statistics. +If both sides have the same confidence statistics, then the original behavior will be followed. +This can also be specified on a per-query basis using the ``confidence_based_broadcast`` session property. + Planner Properties ------------------