aljazerzen / connector_arrow

Apache Arrow database client for many databases.
https://docs.rs/connector_arrow
MIT License
37 stars 2 forks source link

SQLite will panic on results that contain values of different types #2

Open aljazerzen opened 7 months ago

aljazerzen commented 7 months ago

This will panic (I think, didn't test):

a     | b
------|-----
'val' | 1.0
'str' | 2

Make sure to catch this case too:

a     | b
------|-----
NULL  | 1.0
'str' | 2
aljazerzen commented 7 months ago

Such results should be rejected - they don't fit into arrow.