For installation and running instructions, see [Get started](https://docs.risingwave.com/docs/current/get-started/).
Main changes
SQL features
SQL features
- Query syntax:
- Supports using subqueries in `UPDATE` and `DELETE` statements. (https://github.com/risingwavelabs/risingwave/pull/12995)
- SQL commands
- Supports `COMMENT ON` clause for tables and columns. (https://github.com/risingwavelabs/risingwave/pull/12849)
- Supports persistent background materialized views. (https://github.com/risingwavelabs/risingwave/pull/12167)
- Exposes hidden columns and distribution keys when using `SHOW COLUMNS FROM` command. (https://github.com/risingwavelabs/risingwave/pull/12839)
- Exposes hidden columns when using `DESCRIBE` command. (https://github.com/risingwavelabs/risingwave/pull/12839)
- SQL functions & operators
- Supports `substring` and `substr` functions for `bytea` data type. (https://github.com/risingwavelabs/risingwave/pull/13088)
- Supports functions `jsonb_pretty`, `jsonb_object`, `jsonb_strip_nulls`, and `jsonb_extract_path`. (https://github.com/risingwavelabs/risingwave/pull/13050), (https://github.com/risingwavelabs/risingwave/pull/13036), (https://github.com/risingwavelabs/risingwave/pull/13169), (https://github.com/risingwavelabs/risingwave/pull/13143)
- Supports jsonb `>`, `<`, `?`, `?|, ?&`, `>`, `>>`, `-` and `-` operators. (https://github.com/risingwavelabs/risingwave/pull/13056), (https://github.com/risingwavelabs/risingwave/pull/13110), (https://github.com/risingwavelabs/risingwave/pull/13118)
- Supports `greatest` and `least` functions. (https://github.com/risingwavelabs/risingwave/pull/12838)
- Supports `regexp_split_to_array` function. (https://github.com/risingwavelabs/risingwave/pull/12844)
- Supports `bit_and` and `bit_or` aggregate functions in materialized views. (https://github.com/risingwavelabs/risingwave/pull/12758)
- Supports `jsonb_agg` and `jsonb_object_agg` in streaming mode. (https://github.com/risingwavelabs/risingwave/pull/12836)
- Supports general `rank` and `dense_rank` window functions. (https://github.com/risingwavelabs/risingwave/pull/13183)
- System catalog
- Adds column `parallelism` in system table `rw_fragments`. (https://github.com/risingwavelabs/risingwave/pull/12901)
- Adds columns `is_hidden`, `is_primary_key` and `is_distribution_key` in `rw_columns` system table. (https://github.com/risingwavelabs/risingwave/pull/12839)
Sources & sinks
- Adds `google.protobuf.Any` support for Protobuf sources. (https://github.com/risingwavelabs/risingwave/pull/12291)
- Adds `schemas.enable` support for Kafka sinks with upsert json. (https://github.com/risingwavelabs/risingwave/pull/12113)
- Adds support for Kafka sinks with Upsert Avro using schema registry. (https://github.com/risingwavelabs/risingwave/pull/13007)
- `server.id` option is now optional for MySQL CDC source. (https://github.com/risingwavelabs/risingwave/pull/13031)
- Enables `timestamptz.handling.mode` option to control the timestamptz output format for certain sinks. (https://github.com/risingwavelabs/risingwave/pull/13109)
- Adds the `stream` field and support for multiple inputs for the `subject` field for NATS source connector. (https://github.com/risingwavelabs/risingwave/pull/12799)
- Adds new option `properties.allow.auto.create.topics` for Kafka sink. (https://github.com/risingwavelabs/risingwave/pull/12766)
- Adds support for `s3_v2` source connector, a more efficient version of the S3 source. (https://github.com/risingwavelabs/risingwave/pull/12595)
- Adds support for Google BigQuery sink. (https://github.com/risingwavelabs/risingwave/pull/12873)
- Adds support for Redis sink. (https://github.com/risingwavelabs/risingwave/pull/11999),(https://github.com/risingwavelabs/risingwave/pull/13003)
Deployment
- Release RisingWave all-in-one binary with connector libraries. (https://github.com/risingwavelabs/risingwave/pull/13133)
**Full Changelog**: https://github.com/risingwavelabs/risingwave/compare/v1.3.0...v1.4.0