Create a program with a non-materialized table:
and try to query it:
curl -I -X GET http://localhost:8080/v0/pipelines/adhoc/query?sql=select*from%20t
Instead of returning an HTTP error code, it returns 200 with the error message in the body:
ERROR: Error during query processing: Execution error: Tried to SELECT from a non-materialized source. Make sure `t` is configured as materialized: use `with ('materialized' = 'true')` for tables, or `create materialized view` for views.
Create a program with a non-materialized table:
and try to query it:
Instead of returning an HTTP error code, it returns 200 with the error message in the body: