Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: change error type for "no statement"
Amends apache#11394 (sorry, I should have reviewed that). While reporting "not implemented" for "multiple statements" seems reasonable, I think the user should get a plan error (which roughly translates to "invalid argument") if they don't provide any statement. I don't see any reasonable way to support "no statement" ever, hence "not implemented" seems like a wrong promise.
- Loading branch information