aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/pymath.c
diff options
context:
space:
mode:
authorvityaman <vityaman.dev@yandex.ru>2025-04-28 17:50:31 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2025-04-28 18:13:27 +0300
commitf35bf94dbc72f06a35459f8d854866b83b9a49ea (patch)
treeb5afdcc946f4399860928e6a627fca041a69d91d /contrib/tools/python3/Python/pymath.c
parent3dfd8d9b20fe8902588dc35edb24423fbf165917 (diff)
downloadydb-f35bf94dbc72f06a35459f8d854866b83b9a49ea.tar.gz
YQL-19747 Enable custom NameSet and FrequencyData
Clients might want to use custom `NameSet` and `FrequencyData` in their environment, for example, to get their private UDFs and to have more relevant ranking that includes their private UDF and respect their usage pattern. To achieve this goal I decided to load pure `NameSet` and `FrequencyData` and provide functions for pruning. Also I checked defaults and decided that it is more common for a client to create a `StaticNameService` from pure `NameSet` and `FrequencyData` to keep their pruning consistent. I also extracted a separate module `ranking`. It will be needed when I will implement `UnionNameService` to union `StaticNameService` and `SchemaNameService`. `UnionNameService` will load `Limit` names from each child and then crop them to sorted prefix of length `Limit` using `IRanking`. --- - Related to `YQL-19747` - Related to https://github.com/ydb-platform/ydb/issues/9056 - Related to https://github.com/vityaman/ydb/issues/14 --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1246 Co-authored-by: vvvv <vvvv@yandex-team.com> Co-authored-by: vvvv <vvvv@yandex-team.com> commit_hash:cdca301a58a34e56d537a447b4ff779cd70faea6
Diffstat (limited to 'contrib/tools/python3/Python/pymath.c')
0 files changed, 0 insertions, 0 deletions