ytsaurus / ytsaurus/ytsaurus

yt set --recursive does not work for attributes when parent attribute or node is missing

Open
#1,729 0 comments 0 reactions 0 assignees View on GitHub
API Bug good first issue master UX
Dominant language
C++
Stars
2.2k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

All combinations are broken. One report false-positive success.

```
yt set -r "//home/$USER/a/b/@c/d" 1

Expected "literal" in YPath but found "at" token "@"
```

```
yt set -r "//home/$USER/@c/d" 1

Custom attribute "c" is not found
```

```
yt set-attribute //home/$USER/a/b c/d 1

Attribute commands forbid to use '/' in attribute names
```

```
yt set-attribute -r //home/$USER/a/b c/d 1

Node //home/khlebnikov has no child with key "a"
```

```
yt set-attribute -r //home/$USER c/d 1
(success!)

yt get //home/$USER/@c/d

Attribute "c" is not found
```

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.