You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The frontend node will panic if user's going to create a CDC table with partial columns specified.
Error message/log
dev=> create table tttt (k int primary key) from pg_source table 'public.tttt';
ERROR: Panicked when handling the request: assertion `left == right` failed
left: 1
right: 2
This is a bug. We would appreciate a bug report at:
https://github.com/risingwavelabs/risingwave/issues/new?labels=type%2Fbug&template=bug_report.yml
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.
To Reproduce
In upstream Postgres:
create table tttt (k int primary key, v int);
In RisingWave:
dev=> create source pg_source with (
connector = 'postgres-cdc',
hostname = 'localhost',
port = '5432',
username = 'bugenzhao',
password = '',
database.name = 'postgres',
slot.name = 'pg_slot'
);
CREATE_SOURCE
dev=> create table tttt (k int primary key) from pg_source table 'public.tttt';
ERROR: Panicked when handling the request: assertion `left == right` failed
left: 1
right: 2
This is a bug. We would appreciate a bug report at:
https://github.com/risingwavelabs/risingwave/issues/new?labels=type%2Fbug&template=bug_report.yml
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.
Expected behavior
Not panic but accept with verification on the validity of user specified partial schema.
Describe the bug
The frontend node will panic if user's going to create a CDC table with partial columns specified.
Error message/log
To Reproduce
In upstream Postgres:
In RisingWave:
Expected behavior
Not panic but accept with verification on the validity of user specified partial schema.
How did you deploy RisingWave?
No response
The version of RisingWave
main
Additional context
Panicked at:
risingwave/src/frontend/src/handler/create_table.rs
Lines 1194 to 1199 in f0db87b
Seems to be introduced by #19354. Unreleased as for now. Released versions work correctly.
The text was updated successfully, but these errors were encountered: