ytsaurus / ytsaurus/ytsaurus

Allow attaching bigger files to Query Tracker queries

Open
#1,014 0 comments 1 reaction 1 assignee Claimed by @Krisha11 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.