Protryon / klickhouse

Rust crate for accessing Clickhouse
Apache License 2.0
93 stars 21 forks source link

Error when requesting for a lot of Array data on a single query. #2

Closed jfontanet closed 1 year ago

jfontanet commented 3 years ago

When performing a select query on a database with big arrays, the channel created to receive the query results get a capacity overflow. This is so because it eventually fails to read correctly the size of the array. It looks like the pointer is not correctly placed when reading arrays. (Fixing the size for a quick test returns the array values with 0's at the beginning, so all the values are shifted). @Protryon

Protryon commented 2 years ago

Could you give more details on how to reproduce? I.e. how many rows, how many arrays, what query?

Protryon commented 1 year ago

This has been fixed.