RisingWave Labs/risingwave: Release v2.0.1
Name: risingwave
Owner: RisingWave Labs
Release: v2.0.1
Released: 2024-09-26
License: Apache-2.0
Release Assets:
Please be advised that we have withdrawn version v2.0.0 due to a critical bug affecting upgrades of RW clusters from older versions. We sincerely apologize for the inconvenience.
The PRs for the bug fix are: https://github.com/risingwavelabs/risingwave/pull/18589 https://github.com/risingwavelabs/risingwave/pull/18581
For installation and running instructions, see Get started.
Main changes
SQL features
- Query syntax:
- Public preview: Supports
AS CHANGELOG
to convert any stream into an append-only changelog. https://github.com/risingwavelabs/risingwave/pull/17132 - Supports time travel query to access historical data at a specific point in time. https://github.com/risingwavelabs/risingwave/pull/17665, https://github.com/risingwavelabs/risingwave/pull/17621.
- Supports
CORRESPONDING
specification in set operations. https://github.com/risingwavelabs/risingwave/pull/17891
- Public preview: Supports
- SQL commands:
- Breaking change:
DECLARE cursor_name SUBSCRIPTION CURSOR
is the same asDECLARE cursor_name SUBSCRIPTION CURSOR since now()
, which will be consumed from the current time.DECLARE cursor_name SUBSCRIPTION CURSOR FULL w
ill start consuming data from stock. The type of operation has changed tovarchar
. It is one ofInsert
,Delete
,UpdateInset
, orUpdateDelete
. https://github.com/risingwavelabs/risingwave/pull/18217 - Public preview: Supports managing database credentials securely. https://github.com/risingwavelabs/risingwave/pull/17456
SHOW CURSORS
will return all query cursors in the current session.SHOW SUBSCRIPTION CURSORS
will return all subscription cursorS and subscriptions in the current session. https://github.com/risingwavelabs/risingwave/pull/18217- Allows
ALTER TABLE
on tables with generated columns. https://github.com/risingwavelabs/risingwave/pull/17652 - Allows dropping generated columns from tables created with a schema registry. https://github.com/risingwavelabs/risingwave/pull/17689
- Supports using scalar functions with list inputs as aggregate functions. https://github.com/risingwavelabs/risingwave/pull/17622
- Supports altering the backfill rate limit for materialized views. https://github.com/risingwavelabs/risingwave/pull/17911
- Breaking change:
- SQL functions & operators:
- Public preview: Supports
approx_percentile()
. https://github.com/risingwavelabs/risingwave/pull/17814, https://github.com/risingwavelabs/risingwave/pull/17873. - Public preview: Supports native
map
type and related functions formap
, and ingestingAVRO MAP
type into RisingWavemap
type. https://github.com/risingwavelabs/risingwave/pull/17986 - Public preview: Supports scanning a directory of parquet files. https://github.com/risingwavelabs/risingwave/pull/17811
- Supports
pg_index_column_has_property()
to query index column properties. https://github.com/risingwavelabs/risingwave/pull/17275 - Supports continuous timestamp generation in streaming mode. https://github.com/risingwavelabs/risingwave/pull/17371
- Supports
acosd()
. https://github.com/risingwavelabs/risingwave/pull/9876 - Supports function
rw_recovery_status()
andpg_is_in_recovery()
to retrieve the meta node status. https://github.com/risingwavelabs/risingwave/pull/17641
- Public preview: Supports
- System catalog:
- Adds
append_only
column in RisingWave catalogsrw_tables
andrw_materialized_views
. https://github.com/risingwavelabs/risingwave/pull/17598 - Adds RisingWave catalog
rw_catalog.rw_secrets
. https://github.com/risingwavelabs/risingwave/pull/17726
- Adds
Connectors
- Public preview: Supports ingesting Avro map type for source connectors. ****https://github.com/risingwavelabs/risingwave/pull/17980
- Public preview: Supports encoding
parquet
for file source. https://github.com/risingwavelabs/risingwave/pull/17201 - Public preview: Supports batch reading S3 Parquet files. https://github.com/risingwavelabs/risingwave/pull/17625, https://github.com/risingwavelabs/risingwave/pull/17673.
- Supports AWS Glue schema registry with
aws.glue.schema_arn
parameter. https://github.com/risingwavelabs/risingwave/pull/17605 - Supports creating tables and sources with
format upsert encode protobuf
. https://github.com/risingwavelabs/risingwave/pull/17624 - Supports ingesting Avro Union type for source connectors. https://github.com/risingwavelabs/risingwave/pull/17485
- Supports reading files compressed in gzip format. https://github.com/risingwavelabs/risingwave/pull/16538
- Adds the option to use a semicolon as the delimiter for CSV encode. https://github.com/risingwavelabs/risingwave/pull/17356
- Uses OpenDAL to connect to S3 object store state backend. https://github.com/risingwavelabs/risingwave/pull/18011
- Public preview: Supports replicating DDL for MySQL CDC source. https://github.com/risingwavelabs/risingwave/pull/17876
- Supports parameter
refresh.interval.sec
option for S3, GCS, and POSIX sources. https://github.com/risingwavelabs/risingwave/pull/18184 - Supports parameter
group.id.prefix
for Kafka sources. https://github.com/risingwavelabs/risingwave/pull/18115 - Validates slot name of PostgreSQL CDC sources. https://github.com/risingwavelabs/risingwave/pull/17949
- Supports altering
backfill_rate_limit
of CDC tables. https://github.com/risingwavelabs/risingwave/pull/17989 - Public preview: Supports sinking data to file systems in parquet format. https://github.com/risingwavelabs/risingwave/pull/17311
- Supports upsert Protobuf type sinks, which requires
KEY ENCODE TEXT
. https://github.com/risingwavelabs/risingwave/pull/18024 - Adds option
jsonb.handling.mode
underWITH
options for sinks in JSON format. https://github.com/risingwavelabs/risingwave/pull/17693 - Public preview: Supports Azure Blob sinks. https://github.com/risingwavelabs/risingwave/pull/18244
- Public preview: Supports MongoDB sinks. https://github.com/risingwavelabs/risingwave/pull/17102
- Supports Azure Blob file sources. https://github.com/risingwavelabs/risingwave/pull/18295
- Supports glue catalog for iceberg sink and source. https://github.com/risingwavelabs/risingwave/pull/17477
- Adds
jdbc.query.timeout
for JDBC sinks to set the timeout for queries. https://github.com/risingwavelabs/risingwave/pull/18430 - Changes default Kafka sink message timeout from five seconds to five minutes. https://github.com/risingwavelabs/risingwave/pull/18304
- Adds new parameters
retry_on_conflict
,batch_size_kb
,batch_num_messages
, andconcurrent_requests
for ElasticSearch sink.https://github.com/risingwavelabs/risingwave/pull/17867 - Supports parameter
bigquery.retry_times
for BigQuery sink. https://github.com/risingwavelabs/risingwave/pull/17237 - Supports parameter
bigquery.auto_create_table
for BigQuery sink. https://github.com/risingwavelabs/risingwave/pull/17393 - Supports parameter
doris.partial_columns
for Doris sink. https://github.com/risingwavelabs/risingwave/pull/16821 - Supports ClickHouse sink checkpoint decouple. https://github.com/risingwavelabs/risingwave/pull/17491
- Sets sink decouple as default for all sinks. https://github.com/risingwavelabs/risingwave/pull/18182
- Uses S3's SQS notification to complete the import of data from Snowflake instead of the Snowflake HTTP client. https://github.com/risingwavelabs/risingwave/pull/17627
- Ensures at-least-once delivery semantic and eventual consistency for Kinesis sink. https://github.com/risingwavelabs/risingwave/pull/17983
- Supports backfilling by consuming a fixed snapshot of upstream table and then the upstream data epoch by epoch. https://github.com/risingwavelabs/risingwave/pull/17735
Installation and deployment
- Supports configuring the SQL metastore using username, password, and database separately. https://github.com/risingwavelabs/risingwave/pull/17530
- Supports more seamless scaling-in in Kubernetes deployments. https://github.com/risingwavelabs/risingwave/pull/17802
Cluster configuration changes
- Breaking change: Refactors
streaming_rate_limit
intosource_rate_limit
andbackfill_rate_limit
. https://github.com/risingwavelabs/risingwave/pull/17796 - Breaking change: Adds a default soft and hard limit on actor count per worker parallelism. When the hard limit is reached, streaming workloads will fail. https://github.com/risingwavelabs/risingwave/pull/18383
- Introduces
batch.developer.exchange_connection_pool_size
andstreaming.developer.exchange_connection_pool_size
to configure streaming and batch remote exchange between two nodes https://github.com/risingwavelabs/risingwave/pull/17768 - Introduces system parameter
license_key
used to enable enterprise features. https://github.com/risingwavelabs/risingwave/pull/17396
Fixes
- Deletes related cursors when deleting a subscription. https://github.com/risingwavelabs/risingwave/pull/17232