Closed raghavsethi closed 7 years ago
CAST(JSON '{"foo": 42}' AS ROW(foo BIGINT, bar VARCHAR))
returns {foo=42, bar=null}
LIMIT
queries when optimizer.force-single-node-output
is disabled.bing_tile_at
and bing_tile_polygon
functions that may produce incorrect results for points that are close to tile edges.DECIMAL(p,s)
data type. Previously such columns were mapped to Presto's DOUBLE
type and now to corresponding DECIMAL
type.SPI
SliceArrayBlock
Hive
General Changes
---------------
* Execute :doc:`/sql/use` on the server rather than in the CLI, allowing it
to be supported by any client. This requires clients to add support for
the protocol changes (otherwise the statement will be silently ignored).
Security Changes
----------------
* Support configuring multiple authentication types, which allows supporting
clients that have different authentication requirements or gracefully
migrating between authentication types without needing to update all clients
at once. Specify multiple values for ``http-server.authentication.type``,
separated with commas.
* Add support for TLS client certificates as an authentication mechanism by
specifying ``CERTIFICATE`` for ``http-server.authentication.type``.
The distinguished name from the validated certificate will be provided as a
``javax.security.auth.x500.X500Principal``. The certificate authority (CA)
used to sign client certificates will be need to be added to the HTTP server
KeyStore (should technically be a TrustStore but separating them out is not
yet supported).
* Skip sending final leg of SPNEGO authentication when using Kerberos.
JDBC Driver Changes
-------------------
* Per the JDBC specification, close the ``ResultSet`` when ``Statement`` is closed.
* Add support for TLS client certificate authentication by configuring the
``SSLKeyStorePath`` and ``SSLKeyStorePassword`` parameters.
* Add support for transactions using SQL statements or the standard JDBC mechanism.
* Allow executing the ``USE`` statement. Note that this is primarily useful when
running arbitrary SQL on behalf of users. For programmatic use, continuing
to use ``setCatalog()`` and ``setSchema()`` on ``Connection`` is recommended.
* Allow executing ``SET SESSION`` and ``RESET SESSION``.
Hive Changes
------------
* Do not require setting ``hive.metastore.uri`` when using the file metastore.
Add support for index joins to Thrift connector.
Add SessionPropertyConfigurationManager plugin to enable overriding default session properties dynamically.
Aleksei Statkevich
Dain Sundstrom
David Phillips
Grzegorz Kokosiński
Haozhun Jin
James Sun
Karol Sobczak
Nezih Yigitbasi
Raghav Sethi
Rongrong Zhong
Wenlei Xie
Łukasz Osipiuk