Release notes
This page summarizes changes in each version of RisingWave, including new features and important bug fixes.
v0.1.14
This version was released on December 1, 2022.
Main changes
SQL features
PRIMARY KEY
constraint checks can be performed on materialized sources and tables but not on non-materialized sources. For tables or materialized sources that enabledPRIMARY KEY
constraints, if you insert data to an existing key, the new data will overwrite the old data. #6320 #6435- Adds support for timestamp with time zone data type. You can use this data type in time window functions, and convert between it and timestamp (without time zone). #5855 #5910 #5968
- Adds support for
UNION
andUNION ALL
operators. #6363 #6397 - Implements the
rank()
function to support a different mode of Top-N queries. #6383 - Adds support for logical views (
CREATE VIEW
). #6023 - Adds the
data_trunc()
function. #6365 - Adds the system catalog schema. #6227
- Displays error messages when users enter conflicting or redundant command options. #5933
Connectors
- Adds support for the Maxwell Change Data Capture (CDC) format. #6057
- Protobuf schema files can be loaded from Web locations in
s3://
,http://
, orhttps://
formats. #6114 #5964 - Adds support for Confluent Schema Registry for Kafka data in Avro and Protobuf formats. #6289
- Adds two options to the Kinesis connector. Users can specify the startup mode and optionally the sequence number to start with. #6317
v0.1.13
This version was released on October 17, 2022.
Main changes
SQL features
SQL commands:
- Improves the formatting of response messages of
EXPLAIN
statements. #5541
- Improves the formatting of response messages of
SQL functions:
to_char()
now supports specifying output format in lowercase. #5032
to_char(timestamp '2006-01-02 15:04:05', 'yyyy-mm-dd hh24:mi:ss')
→2006-01-02 15:04:05
generate_series
now supports negative steps. #5231SELECT * FROM generate_series(5,1,-2);
generate_series
-----------------
5
3
1
(3 rows)- Adds support for sum/min/max functions over interval-type data. #5105, #5549
- Adds support for array concatenation. #5060, #5345
- Adds support for specifying empty arrays. #5402
- Casting from array to varchar is now supported. #5081
array[1,2]::varchar
→{1,2}
- Casting from varchar to integer allows leading and trailing spaces. #5452
' 1 '::int
→1
Adds new system catalog and psql meta-commands. #5127, #5742
\d
: Lists all relations in the current database. (Materialized) sources are not supported yet.\dt
: Lists all tables in the current database.\dm
: Lists all materialized views in the current database.\di
: Lists all indexes in the current database.pg_catalog.pg_index
: Contains information about indexes.
Connectors
- Nested columns are now supported for the datagen connector. #5550
Assets
- Run this version from Docker:
docker run -it --pull=always -p 4566:4566 -p 5691:5691 ghcr.io/risingwavelabs/risingwave:v0.1.13 playground
- Prebuilt library for Linux
- Source code (zip)
- Source code (tar.gz)
v0.1.12
This version was released on September 7, 2022.
Main changes
SQL features
- SQL commands:
EXPLAIN
now supports specifying options. Supported options:trace
,verbose
, andtype
. Unlike PostgreSQL, each option should be separated by a comma and wrapped by parentheses as a whole. #4730- Adds support for
ALTER USER
. #4261 CREATE/ALTER USER
now has new optionsCREATEUSER
andNOCREATEUSER
, which specifiy whether or not the user has the privilege to create, alter, or drop other users. #4447- Adds support for EXPLAIN CREATE SINK. #4430
- SQL functions:
- Adds support for new system information functions:
current_schema
,current_schema()
, andsession_user
. #4358
- Adds support for new system information functions:
- The
pg_namespace
catalog now has a new namespace columnnspacl
for storing access privileges. #4326
Connectors
Some connector parameters were renamed. The old parameter names are still functional but may be deprecated in the future. #4503
Kafka & Redpanda
kafka.brokers
->properties.bootstrap.server
kafka.topic
->topic
kafka.scan.startup.mode
->scan.starup.mode
kafka.time.offset
->scan.startup.timestamp_millis
kafka.consumer.group
->consumer.group.id
Kinesis
kinesis.stream.name
->stream
kinesis.stream.region
->aws.region
kinesis.endpoint
->endpoint
kinesis.credentials.access
->aws.credentials.access_key_id
kinesis.credentials.secret
->aws.credentials.secret_access_key
kinesis.credentials.session_token
->aws.credentials.session_token
kinesis.assumerole.arn
->aws.credentials.role.arn
kinesis.assumerole.external_id
->aws.credentials.role.external_id
Pulsar
pulsar.topic
->topic
pulsar.admin.url
->admin.url
pulsar.service.url
->service.url
pulsar.scan.startup.mode
->scan.startup.mode
pulsar.time.offset
->scan.startup.timestamp_millis
The row format name,
debezium json
, for CDC stream sources, has been renamed todebezium_json
. #4494
Configuration changes
- The default batch query execution mode was changed from distributed to local. #4789
Assets
- Run this version from Docker:
docker run -it --pull=always -p 4566:4566 -p 5691:5691 ghcr.io/risingwavelabs/risingwave:v0.1.12 playground
- Prebuilt library for Linux is not available in this release.
- Source code (zip)
- Source code (tar.gz)
v0.1.11
This version was released on July 29, 2022.
Main changes
SQL features
- New SQL functions:
overlay()
: Replaces a substring. #3671generate_series()
: Generates a series of values from the starting point to the ending point. #4030regexp_match()
,regexp_matches()
: Compares a string against a regular expression pattern and returns matched substrings. #3702 #4062string_agg ()
: Concatenates the values into a string. #3952 #4183current_database()
: Returns the current database. #3650
- New SQL commands:
- Support for lookup joins. Currently, lookup joins can only be performed in local query mode. To use lookup joins, users need to set the configuration parameter
rw_batch_enable_lookup_join
to true. #3859 #3763 - An
ORDER BY
clause in theCREATE MATERIALIZED VIEW
statement is allowed but not considered as part of the definition of the materialized view. It is only used in the initial creation of the materialized view. It is not used during refreshes. This is a behavior change due to the introduction of parallel table scans. #3670 - Support for filter clauses on aggregate functions. #4114
Connectors
- RisingWave can now sink data to Kafka topics in append-only mode and Debezium mode. #3923 #3682 #3674
- Syntax change for
CREATE SOURCE
: A parameter name is no longer wrapped by single quotation marks. #3997. See the example:- Old:
CREATE SOURCE s1 WITH ( 'connector' = 'kafka', 'kafka.topic' = 'kafka_1_partition_topic', 'kafka.brokers' = '127.0.0.1:29092' ) ROW FORMAT json;
- New:
CREATE SOURCE s WITH ( connector = 'kafka', kafka.topic = 'kafka_1_partition_topic', kafka.brokers = '127.0.0.1:29092' ) ROW FORMAT json;
- Old:
Assets
- Run this version from Docker:
run -it --pull=always -p 4566:4566 -p 5691:5691 ghcr.io/risingwavelabs/risingwave:v0.1.11 playground
- Prebuilt library for Linux
- Source code (zip)
- Source code (tar.gz)
v0.1.10
This version was released on July 5, 2022.
Main changes
SQL features
SQL operators and functions
- Support string concatenation operator
||
. #3147 - Support interval comparison. #3222
- Support dividing intervals by integers, floats, or decimals. #3441
- Intervals multiplying intervals by floats. #3641
- Support more temporal operations. #3472
- Support Common Table Expressions (CTEs) as input of time window functions. #3188
- Add these new functions:
concat()
for concatenating strings #3091repeat()
for repeating string #3148octet_length()
and bit_length() for getting string length #3526Row()
for constructing rows #2914 #3152pg_typeof()
for getting data types of values #3494current_database()
for getting the name of the current database in the session #3650approx_count_distinct()
for distinct counting #3121unnest()
for expanding nested tables to rows #3017
- Support
count()
,min()
, andmax()
functions on these data types: interval, timestamp, varchar, and date. #3069
SQL commands
- Support
EXPLAIN CREATE INDEX
. #3229 - Add cascade and restrict options in
REVOKE
commands. #3363 - Expand the
CREATE TABLE
syntax to support creating append-only tables. #3058 - Support the
CREATE USER
command and user authentication. #3074
Data types
- Support implicit casts from single-quoted literals. #3487
- Add string as an alias for data type varchar. #3094
- Support string intervals. #3037
Database management
- Add the default super user “postgres”. #3127
- The default schema name is changed to “public” from “dev”. #3166
Connectors
- Add random seed for the Datagen Source Connector. #3124