Question 1> ClickHouse doesn't take Nullable Float64 from RowBinary Format
===================================================
For table without Nullable column, the importer works fine.
DESCRIBE TABLE default.nullNormal
┌─name──┬─type────┬─default_type─┬─default_expression─┐
│ age │ UInt64 │ │ │
│ value │ Float64 │ │ │
└───────┴─────────┴──────────────┴────────────────────┘
clickhouse-client --host=127.0.0.1 --query="insert into default.nullNormal FORMAT RowBinary" <
nulltable.ch
:) select * from default.nullNormal;
SELECT *
FROM default.nulltable3
┌─age─┬─value─┐
│ 123 │ 1.223 │
└─────┴───────┘
===================================================
For table with Nullable column, the importer fails to work fine.
DESCRIBE TABLE default.nullTable
┌─name──┬─type──────────────┬─default_type─┬─default_expression─┐
│ age │ UInt64 │ │ │
│ value │ Nullable(Float64) │ │ │
└───────┴───────────────────┴──────────────┴────────────────────┘
clickhouse-client --host=127.0.0.1 --query="insert into default.nullTable FORMAT RowBinary" <
nulltable.chCode: 33. DB::Exception: Cannot read all data. Bytes read: 7. Bytes expected: 8.
Question 2> What is the value I should use to write a NULL value for Float64 with RowBinary format?
Thank you