RisingWave Labs/risingwave: Release v1.1.0
Name: risingwave
Owner: RisingWave Labs
Release: v1.1.0
Released: 2023-08-08
License: Apache-2.0
Release Assets:
For installation and running instructions, see Get started.
Main changes
SQL features
SQL commands:
DROPcommands now support theCASCADEoption, which drops the specified item and all its dependencies. #11250CREATE TABLEnow supports theAPPEND ONLYclause, allowing the definition of watermark columns on the table. #11233Supports new commands
START TRANSACTION,BEGIN, andCOMMITfor read-only transactions. #10735Supports
SHOW CLUSTERto show the details of your RisingWave cluster, including the address of the cluster, its state, the parallel units it is using, and whether it's streaming data, serving data or unschedulable. #10656, #10932
SQL functions:
Supports new window functions:
lead()andlag(). #10915Supports new aggregate functions:
first_value()andlast_value(), which retrieve the first and last values within a specific ordering from a set of rows. #10740Supports the
grouping()function to determine if a column or expression in theGROUP BYclause is part of the current grouping set or not. #11006Supports the
set_config()system administration function. #11147Supports the
sign()mathematical function. #10819Supports
string_agg()withDISTINCTandORDER BY, enabling advanced string concatenation with distinct values and custom sorting. #10864Supports the co-existence of
string_agg()and other aggregations withDISTINCT. #10864Supports the
zone_stringparameter in thedate_trunc(),extract(), anddate_part()functions, ensuring compatibility with PostgreSQL. #10480- Breaking change: Previously, when the input for
date_truncwas actually a date, the function would cast it to a timestamp and record the choice in the query plan. However, after this release, new query plans will cast the input totimestamptzinstead. As a result, some old SQL queries, especially those saved as views, may fail to bind correctly and require type adjustments. It's important to note that old query plans will still continue working because the casting choice is recorded with a cast to timestamp.
Before this release:
```sql SELECT date_trunc('month', date '2023-03-04'); date_trunc --------------------------- 2023-03-01 00:00:00 (1 row) ```After this release:
```sql SELECT date_trunc('month', date '2023-03-04'); date_trunc --------------------------- 2023-03-01 00:00:00+00:00 (1 row) ```Now, the result of
date_truncincludes the timezone offset (+00:00) in the output, making it consistent with the behavior in PostgreSQL.- Breaking change: Previously, when the input for
round()now accepts a negative value and rounds it to the left of the decimal point. #10961to_timestamp()now returnstimestamptz. #11018
Query clauses
SELECTnow supports theEXCEPTclause which excludes specific columns from the result set. #10438, #10723SELECTnow supports theGROUPING SETSclause which allows users to perform aggregations on multiple levels of grouping within a single query. #10807Supports index selection for temporal joins. #11019
Supports
CUBEin group-by clauses to generate multiple grouping sets. #11262
Patterns
- Supports multiple rank function calls in TopN by group. #11149
System catalog
- Supports querying
created_atandinitialized_atfrom RisingWave relations such as sources, sinks, and tables in RisingWave catalogs. #11199
- Supports querying
Connectors
Supports specifying Kafka parameters when creating a source or sink. #11203
JDBC sinks used for upserts must specify the downstream primary key via the
primary_keyoption. #11042access_keyand its correspondingsecret_keyare now mandatory for all AWS authentication components. #11120
Full Changelog: https://github.com/risingwavelabs/risingwave/compare/v1.0.0...v1.1.0