Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release notes for 0.193 #9802

Closed
nezihyigitbasi opened this issue Jan 23, 2018 · 13 comments
Closed

Release notes for 0.193 #9802

nezihyigitbasi opened this issue Jan 23, 2018 · 13 comments

Comments

@nezihyigitbasi
Copy link
Contributor

nezihyigitbasi commented Jan 23, 2018

David Phillips

  • 01-17 12:32:23 5e2e9c4 Remove redundant throws clause from main code
  • 01-17 17:02:50 59d7e03 Make default JDBC read mappings reusable
  • 01-19 08:54:32 3a3fcbe Delete bytecode library
  • 01-19 08:54:32 c26fa88 Extract bytecode library to separate project

Grzegorz Kokosiński

  • 01-13 11:14:32 c541bd8 Remove unused variables in TestHiveMetadata
  • 01-13 11:20:39 41b077a Fix typo in MongoDB Connector's document
  • 01-13 11:20:39 e190768 Add missed finishInsert method in presto-mongodb
  • 01-13 11:21:11 8047eaa Remove display-only stats tests
  • 01-13 11:22:33 3920838 Quote source argument
  • 01-13 11:22:33 5d233a8 Fix formatting compose.sh scripts
  • 01-13 11:22:33 969576b Fix formatting - remove extra space chars
  • 01-13 11:22:33 97f60f1 Use more robust error catching in bash scripts
  • 01-13 11:22:33 e070397 Extract container related functions to library script
  • 01-13 11:27:14 5aadc75 Rename variable
  • 01-13 11:27:14 a603399 Check if plan changed in PickTableLayout
  • 01-13 11:27:14 c5ef84a Use currentConstraint instead of originalConstraint
  • 01-13 11:27:14 d8e1f59 Fix formatting
  • 01-13 11:27:14 e341496 Remove extra DUMMY_TABLE_LAYOUT_HANDLE variable
  • 01-13 11:29:11 4e4bc97 Remove unused method
  • 01-13 11:29:11 714d1a9 Make layoutHasAllNeededOutputs to return boolean
  • 01-13 11:29:11 75b1f0e Simplify usage of Optional in layoutHasAllNeededOutputs
  • 01-13 11:29:11 d8d5ef7 Prefer stream usage over Lists.transform in AddExchanges
  • 01-13 11:35:47 8c86444 Rename strip*DeterministicConjuncts
  • 01-13 11:35:47 dcb07d3 Refactor filter*DeterministicConjuncts
  • 01-13 11:43:46 4a480da Reuse execute method in BenchmarkQueryRunner
  • 01-13 11:43:46 8b0d6a3 Close StatementClient
  • 01-15 03:31:05 2d550a5 Support CREATE SCHEMA in blackhole connector
  • 01-15 03:31:05 aabc6c0 Check schema exist presto-memory's create objects
  • 01-15 03:31:05 fa64fa2 Check schema exist presto-blackhole's create table
  • 01-17 04:53:40 2babbe3 Fix formatting - remove blank line before {
  • 01-18 02:32:37 24082b1 Use specified schema in presto-memory's rename table
  • 01-18 23:52:09 510fe68 Remove unused EmptyDeleteOptimizer
  • 01-19 00:07:04 6c88b83 Make MetricComparator to be utility class
  • 01-19 00:07:04 ab6889e Improve readability of MetricComparison.result()
  • 01-19 00:07:04 eb9f762 Test for cost/stats calculation done by CoefficientBasedStatsCalculator
  • 01-19 04:29:34 86a262b Introduce benchmark for planner
  • 01-21 01:54:29 2a1556b Make order of Authenticators to be determined
  • 01-22 12:18:25 237f087 Move hasAllNeededOutputs to TableLayoutResult
  • 01-22 12:18:25 a469da2 Make DomainTranslator#toPredicate deterministic
  • 01-22 12:18:25 b50f2b3 Add correctness logic from AddExchanges to TableLayoutRewriter
  • 01-22 12:18:25 b9e27c6 Refactor TableLayoutResult#hasAllOutputs
  • 01-22 12:18:25 c90cde1 Pass predicatePushdown flag to Tpch connector in RuleTester
  • 01-22 12:18:25 ce6744c Enforce PickTableLayout is run before AddExchanges
  • 01-22 12:18:25 e6d963b Execute PickTableLayout before AddExchanges
  • 01-22 12:18:25 f2b7f88 Make SHOW PARTITIONS work when table scan is filtered out
  • 01-22 12:18:25 f4d0f9d Refactor SHOW PARTITIONS implementation - extract methods
  • 01-23 01:02:43 18ea799 Inline TableLayoutRewriter

Haozhun Jin

  • 01-17 17:44:06 a024eba Fix query failure when lambda is in UNNEST/VALUES
  • 01-17 17:51:27 1536ce5 Make CLI and JDBC driver respect cookies
  • 01-19 16:44:43 9107bd9 Improve readability in AbstractResourceConfigurationManager
  • 01-22 15:44:48 e799922 Fix CLI to abort query when pager exits

James Sun

  • 01-12 17:47:22 fa17537 Use page builder for array_remove
  • 01-12 18:43:19 360b845 Support int.class in StateCompiler
  • 01-12 18:46:01 4ca66c4 Introduce ObjectBlockPositionState and SliceBlockPositionState
  • 01-12 18:46:02 6b147f7 Optimize arbitrary() with Object/SliceBlockPositionState
  • 01-17 15:51:46 885d231 Fix stack overflow when toFailure is invoked with a cyclic throwable

Martin Traverso

  • 01-18 10:37:32 b08ec02 Implement normal CDF to function
  • 01-18 10:56:23 0fb527a Add SetDigest type and related functions
  • 01-22 09:42:26 1816553 Remove deprecated optimizers

Nezih Yigitbasi

  • 01-12 16:01:22 0f3377b Update Raptor to use the new memory tracking framework
  • 01-12 16:01:22 1d53674 Add the new memory tracking framework
  • 01-12 16:01:22 4c379f5 Update the ORC module to use the new memory tracking framework
  • 01-12 16:01:22 69b2129 Migrate operators to the new memory tracking framework
  • 01-12 16:01:22 80fa95b Release spill buffer system memory on operator close
  • 01-12 16:01:22 bdcb89a Update the Hive module to use the new memory tracking framework
  • 01-12 16:25:48 7c57010 Fix version in the memory context module pom
  • 01-15 11:57:05 b5300ae Enforce CPU time limits in SqlQueryManager
  • 01-15 11:57:05 dea2f0e Start scheduling query management thread in a separate method
  • 01-15 11:57:20 a72c6d3 Update MemoryPool to return futures that are not cancellable
  • 01-16 09:50:20 bc9b4ac Simplify array and map unnesters
  • 01-16 09:51:00 61ff7d0 Fix checkNotHoldsLock in HttpPageBufferClient
  • 01-16 10:18:59 4f8b97a Remove unnecessary BoundedExecutor
  • 01-16 11:31:35 e4aae2c Fix deserialization of maps of bing tiles in the client
  • 01-17 16:40:34 be46929 Remove left over throws clause
  • 01-18 10:41:10 c81c6ad Fix MemoryPoolInfo queryMemoryRevocableReservations initialization
  • 01-18 14:16:12 bb8ea1f Remove unused variable in CursorProcessorCompiler
  • 01-18 15:42:57 98a00d2 Fix testNormalCdf unit test
  • 01-23 13:23:28 4e21671 Add the peak of total memory reservation to query stats

Piotr Findeisen

  • 01-13 01:10:46 22d046c Allow SHOW PARTITIONS .. WHERE for table above partition limit
  • 01-13 01:10:46 67680d8 Reject multiple TableScans in ShowStatsRewrite
  • 01-13 01:10:46 86e5bd5 Remove internal_partitions information_schema table
  • 01-13 01:10:46 87803b3 Remove redundant throws declarations
  • 01-13 01:10:46 944ec90 Make PlanNodeSearcher.findSingle throw on multiple matches
  • 01-15 07:05:10 470dc5c Improve exception handling in BasePlanTest
  • 01-15 07:14:59 d59fcb0 Change argument type in TpchMetadata.getPrestoType to TpchColumn
  • 01-17 05:32:09 6764994 Fix ConcurrentModificationException when dropping Hive column
  • 01-17 07:02:48 146e43d Rename cost concept to stats
  • 01-17 07:03:45 0adbef6 Compare pools by reference
  • 01-17 07:03:45 7821281 Complete move of memory without delay
  • 01-17 07:03:45 aba2cf8 Fix freeing revocable memory after query moved to reserved pool
  • 01-17 07:04:04 c9cd385 Prefer broadcast for LEFT join without equi criteria
  • 01-17 07:04:04 e373c53 Split DetermineJoinDistributionType optimizer into two
  • 01-17 07:04:04 e6dad0d Migrate DetermineJoinDistributionType to iterative optimizer
  • 01-17 08:22:39 dd60cdc Make read transformations extensible in base-jdbc
  • 01-17 08:51:31 3d5ac77 Update exception message when no page sink provided
  • 01-17 13:46:44 399f787 Report meaningful exception when no spill paths configured
  • 01-17 13:46:44 b401a20 Validate spiller-threads configuration
  • 01-17 13:46:44 cf9541e Validate spiller-spill-path and spill-enabled configuration
  • 01-18 03:04:16 1ea375e Remove use of deprecated VarcharType.getLength
  • 01-18 03:04:16 4f1c499 Construct "proper literal" for CHAR in LiteralInterpreter.toExpression
  • 01-18 03:04:16 c37c0f5 Remove redundant instanceof in LiteralInterpreter.toExpression
  • 01-19 09:32:18 e46088f Update documentation for spiller-max-used-space-threshold
  • 01-20 09:25:20 c276238 Enfore TableScanNode's currentConstraint is set only when layout chosen
  • 01-20 09:25:20 ffa8577 Fix formatting
  • 01-23 06:29:10 1e55ca2 Use SerdeProperties when adding Hive partition

Wenlei Xie

  • 01-12 21:34:35 bedf144 Make getRegion always return a new Block for structural block
  • 01-22 18:07:12 57e8a1c Enforce instance factory MethodHandle not to have parameter
  • 01-22 18:07:12 86ce0fc Use PageBuilder as state class for zip_with
  • 01-22 18:07:12 d1a42b7 Add map_zip_with function

Ying Su

  • 01-12 19:53:21 3faaad9 SetBuildOperator to support yielding when memory limit is exceeded
@wenleix
Copy link
Contributor

wenleix commented Jan 23, 2018

General

  • Add map_zip_with lambda function.

@findepi
Copy link
Contributor

findepi commented Jan 24, 2018

General

  • Fix Tried to free more revocable memory than is reserved error for queries that use spill and are moved to reserved memory pool.
  • Remove information_schema.__internal_partitions__ table. The table was useful for Hive connector only and became obsolete when SHOW PARTITIONS got improved.

Hive

  • Enable SHOW PARTITIONS FROM <table> WHERE <condition> to work for tables having more than hive.max-partitions-per-scan partitions as long as given condition reduces number of considered partitions below that limit.
  • Fix a bug causing ConcurrentModificationException when dropping any other column than the last one.
  • Fix a bug causing new partition to have incorrect on-disk data format in case of a partitioned table with non-default text format

@findepi
Copy link
Contributor

findepi commented Jan 24, 2018

dd60cdc Make read transformations extensible in base-jdbc

This is not user-facing nor a SPI change. @electrum should I write about this?

@electrum
Copy link
Contributor

@findepi nope, no need to document this

JDBC Driver Changes
-------------------

* Use SSL by default for port 443.

@nezihyigitbasi
Copy link
Contributor Author

General:

  • Add the peak of total non-revocable memory reservation (user + system memory) to query stats.

CLI Changes

  • Fix rendering maps of Bing tiles in the CLI.

@kokosing
Copy link
Contributor

General:

  • Fix bug in iterative optimizer which could make planning to be endless. That was affecting queries with several predicates which were not eligible to be pushed down to connector.
  • Optimize query of partitioned table with a predicate that does not match to any partition to an empty relation.

comment to above:
Above is provide by e6d963b. f2b7f88 might look like a bug fix, but without e6d963b there was no such situation that partitioned table was pruned.

Security changes:

  • When using multiple authentication types, authentication methods are applied in order as they were specified in http-server.authentication.type.

Blackhole:

  • Add support for CREATE SCHEMA.
  • Fix bug which allowed to CREATE TABLE in schema which does not exist.

MongoDB:

  • Fix INSERT INTO.

Memory:

  • Fix bug which allowed to CREATE TABLE in schema which does not exist.
  • Fix bug in ALTER TABLE ... RENAME TO ... so now it is proper schema where renaming a table.

@mbasmanova
Copy link
Contributor

mbasmanova commented Jan 26, 2018

Geospatial Functions:

  • Improve the performance of :func:ST_Contains.

@nezihyigitbasi
Copy link
Contributor Author

Hive Changes

  • Fix a bug in PrestoS3FileSystem that causes queries to fail if they read data from regions other than us-east-1. Previously, such queries would fail with "The authorization header is malformed; the region 'us-east-1' is wrong; expecting '<region_name>'" , where <region_name> is the S3 region hosting the bucket that is queried.

@nezihyigitbasi
Copy link
Contributor Author

@kokosing

Regarding general changes:

  • Fix bug in iterative optimizer which could make planning to be endless. -> Just to confirm, was the planner going into an infinite loop?
  • Optimize query of partitioned table with a predicate that does not match to any partition to an empty relation. -> I didn't understand this, can you please give more details?

Regarding memory connector, Fix bug in ALTER TABLE ... RENAME TO ... so now it is proper schema where renaming a table., can you please elaborate? I didn't understand the part about the schema.

Regarding mongodb Fix INSERT INTO., can you please elaborate? This is too generic.

@martint
Copy link
Contributor

martint commented Jan 26, 2018

* Add :func:`normal_cdf`.
* Add ``SetDigest`` type and related functions.

@yingsu00
Copy link
Contributor

General:

  • Fix a wrong result issue on planner for row_number() with negative or zero filter values.
  • Support yielding for SetBuildOperator when memory limit is exceeded.

@haozhun
Copy link
Contributor

haozhun commented Jan 27, 2018

General
-------
* Fix query analysis failure when lambda is used in ``UNNEST`` or ``VALUES``.

CLI Changes
-----------
* Fix CLI to abort the query when pager exists.

@kokosing
Copy link
Contributor

@nezihyigitbasi

Fix bug in iterative optimizer which could make planning to be endless. -> Just to confirm, was the planner going into an infinite loop?

Yes.

Optimize query of partitioned table with a predicate that does not match to any partition to an empty relation. -> I didn't understand this, can you please give more details?

I think that example will be the most informative. Please take a look.
On 192 on hive with table partitioned on order_status:

presto:tpch> explain select * from test_insert_partitioned_table_existing_partition where order_status = 'x';
                                                                                                 Query Plan
--------------------------------------------------------------------------------------------------------------------------------------------------------------
 - Output[order_key, comment, order_status] => [order_key:bigint, comment:varchar, order_status:varchar]
     - RemoteExchange[GATHER] => order_key:bigint, comment:varchar, order_status:varchar
         - TableScan[hive:tpch:test_insert_partitioned_table_existing_partition, originalConstraint = ("order_status" = CAST('x' AS varchar))] => [order_key:b
                 LAYOUT: tpch.test_insert_partitioned_table_existing_partition
                 :: NONE

Notice NONE which suggests that no partition is going be read.

While in current master:

presto:tpch> explain select * from test_insert_partitioned_table_existing_partition where order_status = 'x';
                                               Query Plan
---------------------------------------------------------------------------------------------------------
 - Output[order_key, comment, order_status] => [order_key:bigint, comment:varchar, order_status:varchar]
         Cost: {rows: 0, bytes: ?}
     - Values => [order_key:bigint, comment:varchar, order_status:varchar]
             Cost: {rows: 0, bytes: ?}

Regarding memory connector, Fix bug in ALTER TABLE ... RENAME TO ... so now it is proper schema where renaming a table., can you please elaborate? I didn't understand the part about the schema.

Please see: #9688, previously when:

alter table memory.default.t1 rename to memory.default2.t2;

Previously with above, table default.t1 was renamed wrongly to default.t2, now it is renamed to default2.t2.

Regarding mongodb Fix INSERT INTO., can you please elaborate? This is too generic.

I am sorry, INSERT INTO did not work for mongodb at all, as there was no insert related method in connector, see #9736.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants