-
Notifications
You must be signed in to change notification settings - Fork 220
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
Analyzing statements with Procedures failed #95
Comments
It's hard to tell what's happening there, without a stack trace at least.
It looks like an error constructing the FunctionSignature, before you get
to constructing the Procedure.
Running opt builds (rather than debug build) should skip the DCHECKs, but
this check probably indicates some expected contract is being violated, so
something else might go wrong later if you skip it. So I would look at
what your code is doing that violates this, and see if it makes sense or
can be changed to not violate it. (It is possible the check is overly
strict and doesn't make sense.)
… Message ID: ***@***.***>
|
Thank you :) We use analyzer like below. Input SQL example and error log is in #95 (comment), though it is without a stack trace. |
@jshute111 |
Found that |
We instantiate
Procedure
likeand analyze statements with
AnalyzeStatementFromParserAST
.AnalyzeStatementFromParserAST
fails with something likeOur workaround is patching like
for now.
Is there any better way to handle this issue?
For example, is ignoring runtime errors of
*DCHECK*
possible?The text was updated successfully, but these errors were encountered: