You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use QueryContext to query a super long sql (13700 bytes). When there are args parameters, the error http2ErrCodeEnhanceYourCalm (11) will be reported. Has anyone encountered this?
#123
Closed
KarelRoy opened this issue
Sep 4, 2024
· 3 comments
· Fixed by #128
I use QueryContext to query a super long sql (13700 bytes). When there are args parameters, the error http2ErrCodeEnhanceYourCalm (11) will be reported. Has anyone encountered this?
The text was updated successfully, but these errors were encountered:
I may have found the reason,
we will put prepare sql in the header with prepared statement method. If the sql is too long, there will be problems. Is it possible to consider a better way to achieve this, such as using "EXECUTE IMMEDIATE"
Map<String, String> statements = session.getPreparedStatements(); for (Entry<String, String> entry : statements.entrySet()) { builder.addHeader(TRINO_HEADERS.requestPreparedStatement(), urlEncode(entry.getKey()) + "=" + urlEncode(entry.getValue())); }
that seems to be placed in the header. Maybe there is no other way except to modify own ngnix configuration.
I use QueryContext to query a super long sql (13700 bytes). When there are args parameters, the error http2ErrCodeEnhanceYourCalm (11) will be reported. Has anyone encountered this?
The text was updated successfully, but these errors were encountered: