ytsaurus / ytsaurus/ytsaurus

Too strict constraints for aggregate columns of dynamic tables

Open
#1,003 2 comments 0 reactions 1 assignee Claimed by @ponasenko-rs View on GitHub
dynamic tables
Dominant language
C++
Stars
2.2k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce:

Attempt to create dynamic table containing column with data type uuid and Aggregate first

### Expected result

Table is created successfully

### Current result:

```
Error
Oops! something went wrong. If the problem persists please report it via Bug Reporter.
New table schema is not valid[314]
Aggregated column "pk" is forbidden to have logical type "uuid"[1]
```

### Possible solution:

Restrict possible types based on aggregate function: for example, `min` and `max` require type to be comparable, while `first` requires nothing extra

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.