ytsaurus / ytsaurus/ytsaurus

Type validation for table ranges/pivot keys in operations

Open
#614 1 comment 1 reaction 1 assignee Claimed by @dim-an View on GitHub
backlog mapreduce
Dominant language
C++
Stars
2.2k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

Recently, we have encountered a few situations in which users used integers of the wrong type when specifying table ranges and pivot keys in operations. This led to unexpected results, since in YT integers of different types are compared according to their order in the C++ value type enum (e.g. any int64 value is smaller than any uint64 value).

Let's think about validating the specified values against the table/chunk schema, or maybe even cast them automatically, if possible.

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.