Release 351 (3 Jan 2021)#
General#
Rename client protocol headers to start with
X-Trino-
. Legacy clients can be supported by setting the configuration propertyprotocol.v1.alternate-header-name
toPresto
. This configuration property is deprecated and will be removed in a future release.
JMX MBean naming#
Rename base domain name for server MBeans to
trino
. The name can be changed using the configuration propertyjmx.base-name
.Rename base domain name for the Elasticsearch, Hive, Iceberg, Raptor, and Thrift connectors to
trino.plugin
. The name can be changed using the catalog configuration propertyjmx.base-name
.
Server RPM#
Rename installation directories from
presto
totrino
.
Docker image#
Publish image as
trinodb/trino
.Change base image to
azul/zulu-openjdk-centos
.Change configuration directory to
/etc/trino
.Rename CLI in image to
trino
.
CLI#
Use new client protocol header names. The CLI is not compatible with older servers.
JDBC driver#
Use new client protocol header names. The driver is not compatible with older servers.
Change driver URL prefix to
jdbc:trino:
. The old prefix is deprecated and will be removed in a future release.Change driver class to
io.trino.jdbc.TrinoDriver
. The old class name is deprecated and will be removed in a future release.Rename Java package for all driver classes to
io.trino.jdbc
and rename various driver classes such asTrinoConnection
to start withTrino
.
Hive connector#
Rename JMX name for
PrestoS3FileSystem
toTrinoS3FileSystem
.Change configuration properties
hive.hdfs.presto.principal
tohive.hdfs.trino.principal
andhive.hdfs.presto.keytab
tohive.hdfs.trino.keytab
. The old names are deprecated and will be removed in a future release.
Local file connector#
Change configuration properties
presto-logs.http-request-log.location
totrino-logs.http-request-log.location
andpresto-logs.http-request-log.pattern
totrino-logs.http-request-log.pattern
. The old names are deprecated and will be removed in a future release.
Thrift connector#
Rename Thrift service method names starting with
presto
totrino
.Rename all classes in the Thrift IDL starting with
Presto
toTrino
.Rename configuration properties starting with
presto
totrino
.
SPI#
Rename Java package to
io.trino.spi
.Rename
PrestoException
toTrinoException
.Rename
PrestoPrincipal
toTrinoPrincipal
.Rename
PrestoWarning
toTrinoWarning
.