How to insert into table even if data has empty columns?
echo "ATY,2018-02-01,64.76,66.25,64.63,,65.8,685750.0,\n"|clickhouse-client --query="INSERT INTO data FORMAT CSV"
so the column after 64.63 is empty as but the parser is not parsing it as empty, rather it's parsing the value as comma.
Code: 72. DB::Exception: Cannot read floating point value: (at row 1)
Row 1:
Column 0, name: symbol, type: String, parsed text: "ATY"
Column 1, name: date, type: Date, parsed text: "2018-02-01"
Column 2, name: open, type: Float64, parsed text: "64.76"
Column 3, name: high, type: Float64, parsed text: "66.25"
Column 4, name: low, type: Float64, parsed text: "64.63"
Column 5, name: settlement, type: Float64, ERROR: text ",65.8,6857" is not like Float64
How to insert even if it has empty column?