Open wyhaya opened 1 month ago
There's a similar problem in ClickHouse, but it returns a weird ᴺᵁᴸᴸ
as long as your string isn't "ᴺᵁᴸᴸ"
then it is properly distinguished in most cases.
"data":[
["ᴺᵁᴸᴸ"]
],
we will fix it by representing null just as json null.
inside, StringBlock should be [[Option<String>]]
instead of [[String]]
pub session: Option<SessionState>,
pub schema: Vec<SchemaField>,
- pub data: Vec<Vec<String>>,
+ pub data: Vec<Vec<Option<String>>>,
Previously all values were String
, but now the value may be String | Null
. How to ensure client compatibility?
Summary
Output
There is no way to tell which of these two values is
NULL
and which is"NULL"
.If we use the
Rust driver
, we get twoNULL
, which is wrong.The expected result is: