Release 306 (16 Mar 2019)#
General#
Fix planning failure for queries containing a
LIMITafter a global aggregation. (#437)Fix missing column types in
EXPLAINoutput. (#328)Fix accounting of peak revocable memory reservation. (#413)
Fix double memory accounting for aggregations when spilling is active. (#413)
Fix excessive CPU usage that can occur when spilling for window functions. (#468)
Fix incorrect view name displayed by
SHOW CREATE VIEW. (#433)Allow specifying
NOT NULLwhen creating tables or adding columns. (#418)Add a config option (
query.stage-count-warning-threshold) to specify a per-query threshold for the number of stages. When this threshold is exceeded, aTOO_MANY_STAGESwarning is raised. (#330)Support session property values with special characters (e.g., comma or equals sign). (#407)
Remove the
deprecated.legacy-unnest-array-rowsconfiguration option. The legacy behavior forUNNESTof arrays containingROWvalues is no longer supported. (#430)Remove the
deprecated.legacy-row-field-ordinal-accessconfiguration option. The legacy mechanism for accessing fields of anonymousROWtypes is no longer supported. (#428)Remove the
deprecated.group-by-uses-equalconfiguration option. The legacy equality semantics forGROUP BYare not longer supported. (#432)Remove the
deprecated.legacy-map-subscript. The legacy behavior for the map subscript operator on missing keys is no longer supported. (#429)Remove the
deprecated.legacy-char-to-varchar-coercionconfiguration option. The legacy coercion rules betweenCHARandVARCHARtypes are no longer supported. (#431)Remove deprecated
distributed_joinsystem property. Usejoin_distribution_typeinstead. (#452)
Hive connector#
MySQL connector#
Allow creating or renaming tables, and adding, renaming, or dropping columns. (#418)
PostgreSQL connector#
Redshift connector#
Allow creating or renaming tables, and adding, renaming, or dropping columns. (#418)
SQL Server connector#
Allow creating or renaming tables, and adding, renaming, or dropping columns. (#418)
Base-JDBC connector library#
Allow mapping column type to Presto type based on
Block. (#454)
SPI#
Deprecate Table Layout APIs. Connectors can opt out of the legacy behavior by implementing
ConnectorMetadata.usesLegacyTableLayouts(). (#420)Add support for limit pushdown into connectors via the
ConnectorMetadata.applyLimit()method. (#421)Add time spent waiting for resources to
QueryCompletedEvent. (#461)