Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fail fast on query syntax errors #5569

Closed
porscheme opened this issue May 31, 2023 · 2 comments
Closed

How to fail fast on query syntax errors #5569

porscheme opened this issue May 31, 2023 · 2 comments
Labels
type/question Type: question about the product

Comments

@porscheme
Copy link

porscheme commented May 31, 2023

Hi @wey-gu
How to fail fast on query syntax errors?
Is there a way check query before executing?

@QingZ11 QingZ11 added the type/question Type: question about the product label Jun 9, 2023
@Salieri-004
Copy link
Contributor

porscheme

Hello, if you only want to detect syntax errors without executing them, you can use explain statement. If it outputs the execution plan correctly, it means its syntax is normal. On the contrary, if it reports an error, the syntax is wrong.

@QingZ11
Copy link
Contributor

QingZ11 commented Dec 25, 2023

Hi, I have noticed that the issue you created hasn’t been updated for nearly a month, so I have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime.

Thanks a lot for your contribution anyway 😊

@QingZ11 QingZ11 closed this as completed Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

3 participants