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 CHANGELOGto 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
CORRESPONDINGspecification in set operations. https://github.com/risingwavelabs/risingwave/pull/17891
- Public preview: Supports
- SQL commands:
- Breaking change:
DECLARE cursor_name SUBSCRIPTION CURSORis the same asDECLARE cursor_name SUBSCRIPTION CURSOR since now(), which will be consumed from the current time.DECLARE cursor_name SUBSCRIPTION CURSOR FULL will 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 CURSORSwill return all query cursors in the current session.SHOW SUBSCRIPTION CURSORSwill return all subscription cursorS and subscriptions in the current session. https://github.com/risingwavelabs/risingwave/pull/18217- Allows
ALTER TABLEon 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
maptype and related functions formap, and ingestingAVRO MAPtype into RisingWavemaptype. 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_onlycolumn in RisingWave catalogsrw_tablesandrw_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
parquetfor 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_arnparameter. 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.secoption for S3, GCS, and POSIX sources. https://github.com/risingwavelabs/risingwave/pull/18184 - Supports parameter
group.id.prefixfor 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_limitof 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.modeunderWITHoptions 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.timeoutfor 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_requestsfor ElasticSearch sink.https://github.com/risingwavelabs/risingwave/pull/17867 - Supports parameter
bigquery.retry_timesfor BigQuery sink. https://github.com/risingwavelabs/risingwave/pull/17237 - Supports parameter
bigquery.auto_create_tablefor BigQuery sink. https://github.com/risingwavelabs/risingwave/pull/17393 - Supports parameter
doris.partial_columnsfor 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_limitintosource_rate_limitandbackfill_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_sizeandstreaming.developer.exchange_connection_pool_sizeto configure streaming and batch remote exchange between two nodes https://github.com/risingwavelabs/risingwave/pull/17768 - Introduces system parameter
license_keyused 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