Release 0.167
General Changes
- Fix planning failure when a window function depends on the output of another window function.
- Fix planning failure for certain aggregation with both
DISTINCTandGROUP BY. - Fix incorrect aggregation of operator summary statistics.
- Fix a join issue that could cause joins that produce and filter many rows to monopolize worker threads, even after the query has finished.
- Expand plan predicate pushdown capabilities involving implicitly coerced types.
- Short-circuit inner and right join when right side is empty.
- Optimize constant patterns for
LIKEpredicates that use an escape character. - Validate escape sequences in
LIKEpredicates per the SQL standard. - Reduce memory usage of
min_by()andmax_by(). - Add
transform_keys(),transform_values()andzip_with()lambda functions. - Add
levenshtein_distance()function. - Add JMX stat for the elapsed time of the longest currently active split.
- Add JMX stats for compiler caches.
- Raise required Java version to 8u92.
Security Changes
- The
http.server.authentication.enabledconfig option that previously enabled Kerberos has been replaced withhttp-server.authentication.type=KERBEROS. - Add support for LDAP Authentication using username and password.
- Add a read-only System Access Control named
read-only. - Allow access controls to filter the results of listing catalogs, schemas and tables.
- Add access control checks for SHOW SCHEMAS and SHOW TABLES.
Web UI Changes
- Add operator-level performance analysis.
- Improve visibility of blocked and reserved query states.
- Lots of minor improvements.
JDBC Driver Changes
- Allow escaping in
DatabaseMetaDatapatterns.
Hive Changes
- Fix write operations for
ViewFileSystemby using a relative location. - Remove support for the
hive-cdh4andhive-hadoop1connectors which support CDH 4 and Hadoop 1.x, respectively. - Remove the
hive-cdh5connector as an alias forhive-hadoop2. - Remove support for the legacy S3 block-based file system.
- Add support for KMS-managed keys for S3 server-side encryption.
Cassandra Changes
- Add support for Cassandra 3.x by removing the deprecated Thrift interface used to connect to Cassandra. The following config options are now defunct and must be removed:
cassandra.thrift-port,cassandra.thrift-connection-factory-class,cassandra.transport-factory-optionsandcassandra.partitioner.
SPI Changes
- Add methods to
SystemAccessControlandConnectorAccessControlto filter the list of catalogs, schemas and tables. - Add access control checks for SHOW SCHEMAS and SHOW TABLES.
- Add
beginQueryandcleanupQuerynotifications toConnectorMetadata.
