ytsaurus-ui icon indicating copy to clipboard operation
ytsaurus-ui copied to clipboard

It is unclear that queries progress tab shows no more than 10 inputs

Open faucct opened this issue 9 months ago • 2 comments

The YtMap operation has 32 inputs, but the UI only show 10 and it is unclear that there are more. Maybe it would be clearer that there are 32 total, if this number was somewhere in the Preparation header.

Image Image

Here is the backend code causing this limit: https://github.com/ytsaurus/ytsaurus/blob/4abca14/yt/yql/providers/yt/provider/yql_yt_provider.h#L129 https://github.com/ytsaurus/ytsaurus/blob/4abca14/yt/yql/providers/yt/provider/yql_yt_datasource.cpp#L463-L467

faucct avatar Apr 14 '25 12:04 faucct

YT SIG UI Meeting:

Backend return only 10 items, but we can say that there are more inputs somehow.

We doesn't want to show all inputs, but it would be nice to somehow show that there are more then 10 inputs.

Maybe we can show an additional block which will explain that there are more items.

We need to research how to solve this - maybe we can do something without backend changes or maybe not.

vrozaev avatar May 16 '25 10:05 vrozaev

YQL returns data about total input count, e.g:

"Operations": [
                {
                    "Id": "15",
                    "InputColumns": [
                        "a",
                        "b",
                        "c",
                    ],
                    "Inputs": [
                        [
                            1,
                            1
                        ], ...
                    ],
                    "InputsCount": 32,
                    "Name": "YtMap!",
                    "Outputs": [
                        [
                            1,
                            11
                        ]
                    ],
                    "OutputsCount": 1,
                    "Streams": {
                        "Mapper": [
                            {
                                "Name": "FlatMap"
                            },
                            {
                                "Name": "abc"
                            }
                        ]
                    }
                },

See InputsCount and make it easier to recognize that actual number of inputs is 32, not 10

Krock21 avatar May 16 '25 10:05 Krock21