Allow attaching bigger files to Query Tracker queries
Open
query tracker
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 219
- PR merge metrics
- No merged PRs in 30d
Description
Currently, we have a limit of 8192 files with size up to 2048 bytes and filename length up to 1024 bytes
https://github.com/ytsaurus/ytsaurus/blob/b8d14cb8a07b063fa36d5028e22e10cb8d67a389/yt/yt/server/query_tracker/config.cpp#L85-L90
Attaching bigger files leads to the error:
`Too large file cloud_consumption.sql content: limit is 2048, actual size is 2345`
I think it is too restrictive and comes from 16MB limit on a string value in dynamic tables
Let's allow any number of files of any sizes, as long as value in dynamic table fits in 16MB limit (sum of all filenames + contents, I believe)
Contributor guide
Assessment
This issue has not been assessed yet.