diff options
author | Aleksandr Gaev <aleksandr.gaev@tracto.ai> | 2024-11-15 02:25:03 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-11-15 02:34:00 +0300 |
commit | 843f647e19921fa040115f9a7b5c73b84dfd8804 (patch) | |
tree | 9dc27a6345db4b6ac09898bea7774edf6f6dfefc /yql/essentials/parser/pg_wrapper | |
parent | 9e48ca008c68efe73a9d6cbce7390208726f1153 (diff) | |
download | ydb-843f647e19921fa040115f9a7b5c73b84dfd8804.tar.gz |
Make wire protocol reader validation limits configurable
Currently, WireProtocol**Writer** can write string values of arbitrary size (It does not do validation), but WireProtocol**Reader** validates string lengths while reading, and it uses constant values for dynamic tables for it.
WireProtocol is used to pass results between QueryTracker and engines (YQL, for example), and they do not have to obey dynamic tables limits. I think it is used in RpcProxies too, while working with static tables.
This PR adds ability to configure validation limits for wire protocol reader, so we can configure it in QueryTracker and RpcProxies to work with big values
You can see how it will be used in QueryTracker in this PR: https://github.com/ytsaurus/ytsaurus/pull/944
---
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/943
commit_hash:a03322fcfae53f57c71ba19b12acec307896bb2d
Diffstat (limited to 'yql/essentials/parser/pg_wrapper')
0 files changed, 0 insertions, 0 deletions