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
RisingWave recently added support for VariableScaleDecimal: #10247
However, if a Debezium connector is used to write records with multiple variable scale decimal columns to Kafka with Avro encoding, RisingWave can't ingest the schema without failing. It seems like if a record references a data type created elsewhere, then RisingWave can't parse it.
Error message/log
Failed to run the query
Caused by:
unsupported type in Avro: Ref { name: Name { name: "VariableScaleDecimal", namespace: Some("io.debezium.data") } }
To Reproduce
Create an Avro schema with a record that contains fields like this, which is a copy from what Debezium 2.5.0 outputs. Then try to create a table with a connector to read from it.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
RisingWave recently added support for VariableScaleDecimal: #10247
However, if a Debezium connector is used to write records with multiple variable scale decimal columns to Kafka with Avro encoding, RisingWave can't ingest the schema without failing. It seems like if a record references a data type created elsewhere, then RisingWave can't parse it.
Error message/log
To Reproduce
Create an Avro schema with a record that contains fields like this, which is a copy from what Debezium 2.5.0 outputs. Then try to create a table with a connector to read from it.
Note that if I delete the second field that references the type defined in the first one, then RisingWave can successfully parse the schema.
Expected behavior
RisingWave should successfully read any number of VariableScaleDecimals, not just the one column.
How did you deploy RisingWave?
Docker compose, with the included basic docker compose file.
The version of RisingWave
Additional context
No response
The text was updated successfully, but these errors were encountered: