ytsaurus / ytsaurus/ytsaurus

Strange error in CHYT in case of improper sorted join usage

Open
#351 1 comment 0 reactions 1 assignee Claimed by @DimasKovas View on GitHub
CHYT enhancement
Dominant language
C++
Stars
2.2k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

Suppose we have a table `//tmp/a` sorted by (x, y) and `//tmp/b` sorted by (y).

Then, the following query
```
SELECT
a.y
FROM
`//tmp/a` as a
LEFT JOIN
`//tmp/b` as b
ON a.y = b.y
```

fails with an error

```
Query 724938c1-d50bd0df-d08a8932-c69b527f failed[1]
Invalid sorted JOIN: key is empty[1]
```

This error is not very informative, is it possible to make it better?

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.