-
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
RESOURCE_EXHAUSTED: Received message larger than max (4224741 vs. 4194304) #143
Comments
Getting this error on extractTableNamesFromScript is very unexpected, since it doesn't actually serialize the AST. I would expect this on almost any other API call, are you sure it's that call that is failing? I assume the raw sql itself doesn't acceed this size? |
Hi @matthewcbrown, thanks for your reply. I am pretty sure it is this API. Since our sql has over 400k parameters lol. So it is possible it actually exceeds the size. Do you have any comment or suggestions? |
I experienced this error as well. However, the circumstances which it arises is different. We are only running a simple If we build the catalog with a project with a lot of tables (415 tables) (: catalog.addAllTablesInProject("projectId") (note that this is ZetaSQL Toolkit API and what it does is to populate the We will encounter similar error:
If the catalog has small number of tables (45 in our case), this error will not occur. |
Hi, we are using zetasql 2023.04.1 and we are facing the following error:
com.google.zetasql.io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: Received message larger than max (4224741 vs. 4194304)
when processing a huge sql with
Analyzer.extractTableNamesFromScript()
.I am wondering if anyone could advise how can we make it work? Thanks!
The text was updated successfully, but these errors were encountered: