fn check_error(e: Error) -> Result<()>
Expand description

The SQL_STATEMENT_NOT_YET_COMPLETE error will surface if we query a view in Materialize before data exists for that view. It is common to hit this error just after creating a view, particularly in testing or demo code.

Since this error is likely transient, we should retry reading from the view instead of failing.