Dale McDiarmid
Dale McDiarmid
Curious how you achieved these results. Even ch-go, the low-level lib on which this is based (its simpler and avoids reflection), takes longer than JDBC i.e. ``` package main import...
ok ignore 90s - arm issues ``` === RUN TestRead 2022/09/30 18:40:32 Read took 38.102172657s --- PASS: TestRead (38.10s) === RUN TestChRead numbers: 500000000 2022/09/30 18:40:33 Read took 1.285767595s ---...
Makes me wonder if clickhouse-go would be faster using RowBinary...offloading the work to the server. @mshustov @ernado
Adding (1) to the driver would be welcome. An `AppendAvro` would be interesting in that it would be faster than struct - no reflection and reusable to others. HTTP client...
@yusufozturk https://github.com/ClickHouse/clickhouse-go/pull/776/files double speed of read potentially.
@yusufozturk np at all. thanks for all the feedback and testing! so to summarize, we want to support an `AppendAvro` method on batch. Will this: 1. Use `Format=Avro` when sending...
adding to v3 backlog, i think this has merit under "expanding format support"
converting int to int8 is possible precision loss - which we don't want to conceal. #742 would address though i think and allow you to deal with the explicit conversion
We could allow any `sql.Scanner` type to be passed.
hmm, sql.Scanner is good for read time. For Append, we could: 1. probably achieve this with reflection. I'd prefer to avoid since it would avoid potentially be expensive - probably...