Release 328 (10 Jan 2020)#

General#

Security#

  • Fix a security issue allowing users to gain unauthorized access to Presto cluster when using password authenticator with LDAP. (#2356)

  • Add support for LDAP referrals in LDAP password authenticator. (#2354)

JDBC driver#

  • Fix behavior of java.sql.Connection#commit() and java.sql.Connection#rollback() methods when no statements performed in a transaction. Previously, these methods would fail. (#2339)

  • Fix failure when restoring autocommit mode with java.sql.Connection#setAutocommit() (#2338)

Hive connector#

  • Reduce query latency and Hive metastore load when using the AUTOMATIC join reordering strategy. (#2184)

  • Allow configuring hive.max-outstanding-splits-size to values larger than 2GB. (#2395)

  • Avoid redundant file system stat call when writing Parquet files. (#1746)

  • Avoid retrying permanent errors for S3-related services such as STS. (#2331)

Kafka connector#

  • Remove internal columns: _segment_start, _segment_end and _segment_count. (#2303)

  • Add new configuration property kafka.messages-per-split to control how many Kafka messages will be processed by a single Presto split. (#2303)

Elasticsearch connector#

  • Fix query failure when an object in an Elasticsearch document does not have any fields. (#2217)

  • Add support for querying index aliases. (#2324)

Phoenix connector#

  • Add support for mapping unsupported data types to VARCHAR. This can be enabled by setting the unsupported-type-handling configuration property or the unsupported_type_handling session property to CONVERT_TO_VARCHAR. (#2427)

Other connectors#

These changes apply to the MySQL, PostgreSQL, Redshift and SQL Server connectors:

  • Add support for creating schemas. (#1874)

  • Add support for caching metadata. The configuration property metadata.cache-ttl controls how long to cache data (it defaults to 0ms which disables caching), and metadata.cache-missing controls whether or not missing tables are cached. (#2290)

This change applies to the MySQL and PostgreSQL connectors:

  • Add support for mapping DECIMAL types with precision larger than 38 to Presto DECIMAL. (#2088)