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
JSONB_POPULATE_RECORD & JSONB_POPULATE_RECORDSET cannot convert jsonb strings to any SQL number type
Besides, parsing orders of magnitudes slower when schema set at source level versus reading in the raw jsonb and using a function like JSONB_POPULATE_RECORD in an MV (slack archive)
Error message/log
No response
To Reproduce
No response
Expected behavior
Better to try_parse the string instead of reporting error and leaving a null.
PostgresQL:
test=# CREATE TYPE test_table_type AS (id BIGINT);
CREATE TYPE
test=# select JSONB_POPULATE_RECORD(NULL::test_table_type, '{"id": "12345"}'::jsonb);
jsonb_populate_record
-----------------------
(12345)
(1 row)
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
JSONB_POPULATE_RECORD
&JSONB_POPULATE_RECORDSET
cannot convert jsonb strings to any SQL number typeBesides, parsing orders of magnitudes slower when schema set at source level versus reading in the raw jsonb and using a function like
JSONB_POPULATE_RECORD
in an MV (slack archive)Error message/log
No response
To Reproduce
No response
Expected behavior
Better to
try_parse
the string instead of reporting error and leaving anull
.PostgresQL:
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: