I'm getting the error ERROR: QueryError: internal error: unsupported type in Avro: Ref { name: Name { name: "VariableScaleDecimal", namespace: Some("io.debezium.data") } }
when trying to create table on RisingWave due to numeric columns. How can I resolve this issue?
Dat Nguyen
Asked on Jun 12, 2023
numeric
) in the Avro schema.numeric
to numeric(x, y)
where x
and y
are the precision and scale of the numeric column.Example:
-- Before
CREATE TABLE my_table (
my_numeric_column NUMERIC
);
-- After
CREATE TABLE my_table (
my_numeric_column NUMERIC(x, y)
);