influxdb/influxdb_iox/tests
Marco Neumann c7197a289e
fix: gRPC error code for invalid InfluQL (#7519)
This was "internal". The mapping works like this: we take the
`DataFusionError` and call `find_root` which should traverse the
`External(...)` chain (even through Arrow) to find the last error that
is not within the Arrow/DataFusion land. This is then mapped by us.

`DataFusionError::External(...)` is no further inspected and mapped
straight to "internal". I think this if fine because in the end we're
mostly dealing w/ DataFusion stuff anyways.

I've slightly changed the error mapping in the planner to emit
`DataFusionError::Plan(...)` instead which we map to "invalid argument".
I think this is way better for the user.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-12 16:00:38 +00:00
..
end_to_end_cases fix: gRPC error code for invalid InfluQL (#7519) 2023-04-12 16:00:38 +00:00
jdbc_client
query_tests2 feat: `SHOW FIELD KEYS` InfluxQL plan+exec (#7405) 2023-04-12 09:09:29 +00:00
end_to_end.rs