Closed meilin-shi closed 3 years ago
If I want to insert a timestamp format is DataTime64(3, "xx") to a table and use this method
ch.query(`INSERT INTO dt FORMAT TSV`, {format: "TSV"},
writableStream.write(["1546300800012", 4]);
What should I do? Thank You.
I got it. I use
writableStream.write(["1546300800.012", 4]);
and it works fine.
Need your help. Thank you. I create a table with sql:
But when I insert data to the table with
it returns an error:
But if I modify the query statement to
It will be OK. But in fact, the format of timestamp in my table is DataTime64(3, "xxx"), It could get a timestamp length of 13.
Anybody occured the problem?