Closed seruman closed 5 months ago
Not sure if intentional but despite doc comment Return raw unquoted string when casting json extraction to varchar, json_extract_cast_as_varchar transforms all CASTs on JSON extraction to VARCHAR.
Return raw unquoted string when casting json extraction to varchar
json_extract_cast_as_varchar
VARCHAR
-- snowflake select parse_json('{"fruit":"9000"}'):fruit::number -- becomes in duckdb; SELECT JSON('{"fruit":"9000"}') ->> '$.fruit'
Not sure if intentional but despite doc comment
Return raw unquoted string when casting json extraction to varchar
,json_extract_cast_as_varchar
transforms all CASTs on JSON extraction toVARCHAR
.