Release 0.227
General Changes
- Fix a bug where index joins would fail with the error
driver should never block. Queries will now fail if the index is unable to load within the time specified by theindex-loader-timeoutconfiguration property and theindex_loader_timeoutsession property. - Fix a bug that could cause
NullPointerExceptionin spatial join with geometry collections on the build side. - Improve performance for queries with
FULL OUTER JOINwhere join keys have theCOALESCEfunction applied. - Improve performance for
UNNESTqueries. - Improve performance of repartitioning data between stages. The optimization can be enabled by the
optimized_repartitioningsession property or theexperimental.optimized-repartitioningconfiguration property. - Add spatial join (broadcast and partitioned) support for
ST_Equals(),ST_Overlaps(),ST_Crosses(), andST_Touches(). - Add
task_partitioned_writer_countsession property to allow setting the number of concurrent writers for partitioned (bucketed) writes. - Add
IPPREFIXtype andip_prefix()function. - Add
differential_entropy()functions to compute differential entropy. - Remove syntax support for
SET PATHandCURRENT_PATH. The path information was never used by Presto.
Hive Changes
- Fix a bug that might lead to corruption when writing sorted table in the recoverable grouped execution mode.
- Fix ORC stripe skipping when using bloom filter.
- Improve the CPU load on coordinator by reducing the cost of serializing
HiveSplit. - Improve GC pressure from Parquet reader by constraining the maximum column read size. This can be configured by the
parquet_max_read_block_sizesession property or thehive.parquet.max-read-block-sizeconfiguration property. - Add support for sub-field pruning when reading Parquet files, so that only necessary sub-fields are extracted from struct columns.
- Add configuration property
hive.s3-file-system-type=HADOOP_DEFAULTto allow users to switch different Hadoop file system implementations fors3://addresses. The corresponding Hadoop File system implementation should be specified incore-site.xml
Raptor Changes
- Fix memory leak in file descriptor during shard compaction. The regression was introduced in 0.219.
Verifier Changes
- Add support for auto-resolving query failures with
HIVE_TOO_MANY_OPEN_PARTITIONSerror. - Add support to perform additional determinism analysis for queries with
LIMITclause. - Add detailed determinism analysis result to
VerifierOutputEvent.
SPI Changes
- Move
AggregationNodeto SPI. Connectors can now push down aggregation to table scan. - Move
ProjectNodeto SPI. Connectors can now push down projection to table scan. - Rename
Block#getObjecttoBlock#getBlockand remove unnecessaryclazzparameter.
