From 0cfc220e20a846a21ad6a965a08c4e15b6ed1b9f Mon Sep 17 00:00:00 2001 From: Asjad Syed Date: Thu, 31 Mar 2022 20:51:23 -0400 Subject: [PATCH] Add release notes for 0.272 (cherry picked from commit f07faffff5a5c0f26bdec375070a4b37710f350f) --- presto-docs/src/main/sphinx/release.rst | 1 + .../src/main/sphinx/release/release-0.272.rst | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 presto-docs/src/main/sphinx/release/release-0.272.rst diff --git a/presto-docs/src/main/sphinx/release.rst b/presto-docs/src/main/sphinx/release.rst index f6d73bdedc6a9..692eca119d65c 100644 --- a/presto-docs/src/main/sphinx/release.rst +++ b/presto-docs/src/main/sphinx/release.rst @@ -5,6 +5,7 @@ Release Notes .. toctree:: :maxdepth: 1 + release/release-0.272 release/release-0.271 release/release-0.270 release/release-0.269 diff --git a/presto-docs/src/main/sphinx/release/release-0.272.rst b/presto-docs/src/main/sphinx/release/release-0.272.rst new file mode 100644 index 0000000000000..8e66956c3cfb9 --- /dev/null +++ b/presto-docs/src/main/sphinx/release/release-0.272.rst @@ -0,0 +1,54 @@ +============= +Release 0.272 +============= + +**Details** +=========== + +General Changes +_______________ +* Fix parameter ordering for prepared statement queries using a WITH clause. +* Improve performance by enabling :doc:`/optimizer/cost-based-optimizations` by default. +* Add ability to stream data for partial aggregation instead of building hash tables. + This improves the performance of aggregation when the data is already ordered by the group-by keys. + Streaming aggregation can be enabled with the ``streaming_for_partial_aggregation_enabled`` session property or the ``streaming-for-partial-aggregation-enabled`` configuration property. +* Add an adaptive stage scheduling policy that switches to phased execution mode once a query's stage count exceeds a configurable upper bound. + This can be enabled by setting the session property ``execution_policy`` to ``phased`` and the stage count limit can be configured by the session property ``max_stage_count_for_eager_scheduling``. +* Add :func:`secure_random()` function to return a cryptographically secure random number. + +Hive Changes +____________ +* Fix integer overflow exception in Parquet writer when writing files larger than ~2 GB. +* Add ability to do streaming aggregation for Hive table scans to improve query performance with aggregation when group-by keys are the same as order-by keys. + Cases where group-by keys are a subset of order-by keys can't enable streaming aggregation for now. + This can be enabled with the ``streaming_aggregation_enabled`` session property or the ``hive.streaming-aggregation-enabled`` configuration property. +* Add ability to disable splitting file in Hive connector. + This can be disabled with the ``file_splittable`` session property or the ``hive.file-splittable`` configuration property. +* Add support for using Parquet page-level statistics to skip pages. + This feature can be enabled by setting the ``hive.parquet-column-index-filter-enabled`` configuration property. +* Add support for metadata-based listing and bootstrap for Hudi tables. + +JDBC Changes +____________ +* Add a new parameter ``timeZoneID`` which will set the time zone used for the timestamp columns. (See :doc:`/installation/jdbc` :issue:`16680`). + +MongoDB Connector Changes +_________________________ +* Fix the spelling of the write concern option ``JOURNAL_SAFE`` for the property ``mongodb.write-concern``. + +Iceberg Changes +_______________ +* Add support for concurrent insertion from the same Presto cluster or multiple Presto clusters which share the same Metastore. + +Pinot Changes +_____________ +* Add support for querying Pinot ``JSON`` type. + +Lark Sheets Connector Changes +_____________________ +* Add Lark Sheets connector. + +**Credits** +=========== + +Alan Xu, Amit Dutta, Ariel Weisberg, Arjun Gupta, Arunachalam Thirupathi, Beinan Wang, Chen, Chunxu Tang, Darren Fu, David N Perkins, George Wang, Guy Moore, Harsha Rastogi, James Petty, James Sun, James Sun, Josh Soref, Ke Wang, Maksim Dmitriyevich Podkorytov, Masha Basmanova, Mayank Garg, Neerad Somanchi, Nikhil Collooru, Pranjal Shankhdhar, Rebecca Schlussel, Rongrong Zhong, Ruslan Mardugalliamov, Sagar Sumit, Sergey Smirnov, Sergii Druzkin, Swapnil Tailor, Tim Meehan, Todd Gao, Varun Gajjala, Xiang Fu, Xinli shang, Ying, Zhenxiao Luo, ahouzheng, guojianhua, mengdilin, panyliu, v-jizhang, zhangyanbing