RisingWave Labs/risingwave: Release v1.0.0
Name: risingwave
Owner: RisingWave Labs
Release: v1.0.0
Released: 2023-07-12
License: Apache-2.0
Release Assets:
For installation and running instructions, see Get started.
Main changes
SQL features
SQL command:
SQL function:
Adds the
current_setting()function to get the current value of a configuration parameter. #10051Adds new array functions:
array_position(),array_replace(),array_ndims(),array_lower(),array_upper(),array_length(), andarray_dims(). #10166, #10197Adds new aggregate functions:
percentile_cont(),percentile_disc(), andmode(). #10252Adds new system functions:
user(),current_user(), andcurrent_role(). #10366Adds new string functions:
left()andright(). #10765Adds new bytea functions:
octet_length()andbit_length(). #10462array_length()andcardinality()return integer instead of bigint. #10267Supports the
row_numberwindow function that doesn't match the TopN pattern. #10869
User-defined function:
System catalog:
Supports
GROUP BYoutput alias or index. #10305Supports using scalar functions in the
FROMclause. #10317Supports tagging the created VPC endpoints when creating a PrivateLink connection. #10582
Connectors
Breaking change: When creating a source or table with a connector whose schema is auto-resolved from an external format file, the syntax for defining primary keys within column definitions is replaced with the table constraint syntax. #10195
CREATE TABLE debezium_non_compact (order_id int PRIMARY KEY) WITH ( connector = 'kafka', kafka.topic = 'debezium_non_compact_avro_json', kafka.brokers = 'message_queue:29092', kafka.scan.startup.mode = 'earliest' ) ROW FORMAT DEBEZIUM_AVRO ROW SCHEMA LOCATION CONFLUENT SCHEMA REGISTRY 'http://message_queue:8081';CREATE TABLE debezium_non_compact (PRIMARY KEY(order_id)) WITH ( ...Breaking change: Modifies the syntax for specifying data and encoding formats for a source in
CREATE SOURCEandCREATE TABLEcommands. For v1.0.0, the old syntax is still accepted but will be deprecated in the next release. #10768Old syntax - part 1:
ROW FORMAT data_format [ MESSAGE 'message' ] [ ROW SCHEMA LOCATION ['location' | CONFLUENT SCHEMA REGISTRY 'schema_registry_url' ] ];New syntax - part 1:
FORMAT data_format ENCODE data_encode ( message = 'message', schema_location = 'location' | confluent_schema_registry = 'schema_registry_url' );Old syntax - part 2:
ROW FORMAT csv WITHOUT HEADER DELIMITED BY ',';New syntax - part 2:
FORMAT PLAIN ENCODE CSV ( without_header = 'true', delimiter = ',' );Supports sinking data to AWS Kinesis. #10437
Supports
BYTESas a row format. #10592Supports specifying schema for the PostgreSQL sink. #10576
Supports using the user-provided publication to create a PostgreSQL CDC table. #10804
Full Changelog: https://github.com/risingwavelabs/risingwave/compare/v0.19.0...v1.0.0