File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
presto-docs/src/main/sphinx Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1029,9 +1029,9 @@ The corresponding session property is :ref:`admin/properties-session:\`\`optimiz
10291029* **Default Value: ** ``false ``
10301030
10311031Enables the optimizer to use histograms when available to perform cost estimate calculations
1032- during query optimization. When set to ``false ``, this parameter does not prevent histograms
1033- from being collected by ``ANALYZE ``, but prevents them from being used during query
1034- optimization. This behavior can be controlled on a per-query basis using the
1032+ during query optimization. When set to ``false ``, this parameter prevents histograms from
1033+ being collected by ``ANALYZE ``, and also prevents the existing histograms from being used
1034+ during query optimization. This behavior can be controlled on a per-query basis using the
10351035``optimizer_use_histograms `` session property.
10361036
10371037Planner Properties
Original file line number Diff line number Diff line change @@ -46,8 +46,9 @@ The following statistics are available in Presto:
4646
4747The set of statistics available for a particular query depends on the connector
4848being used and can also vary by table or even by table layout. For example, the
49- Hive connector does not currently provide statistics on data size.
49+ Hive connector does not currently provide statistics on data size or histograms,
50+ while the Iceberg connector provides both.
5051
51- Table statistics can be can be fetched using the :doc: `/sql/show-stats ` query.
52+ Table statistics can be fetched using the :doc: `/sql/show-stats ` query.
5253For the Hive connector, refer to the :ref: `Hive connector <hive_analyze >`
5354documentation to learn how to update table statistics.
You can’t perform that action at this time.
0 commit comments