google / google/googlesql

RESOURCE_EXHAUSTED: Received message larger than max (4224741 vs. 4194304)

Open
#143 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.6k
Forks
260
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Research direction

Start with the Analyzer.extractTableNamesFromScript() entry point and reproduce the reported failure using a SQL script larger than the stated message limit. Investigate how the analyzer handles the RESOURCE_EXHAUSTED response and define a supported outcome for huge SQL input; the issue is done when that input can be processed without the reported error or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, grpc, sql
Domain
api, compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.