-
Notifications
You must be signed in to change notification settings - Fork 743
Fix vector_index_build reboots test (#18900) #18953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix vector_index_build reboots test (#18900) #18953
Conversation
|
🟢 |
|
⚪ DetailsTest history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
🟢 |
|
⚪ DetailsTest history | Ya make output | Test bloat
⚪ DetailsTest history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢 |
| UNIT_ASSERT_VALUES_EQUAL(err, ""); | ||
|
|
||
| // V -- here the null key | ||
| NKqp::CompareYson(R"([[[[[["101000"];#];[["100000"];["1000"]];[["100001"];["1001"]];[["100002"];["1002"]];[["100003"];["1003"]];[["100004"];["1004"]];[["100005"];["1005"]];[["100006"];["1006"]];[["100007"];["1007"]];[["100008"];["1008"]];[["100009"];["1009"]];[["101000"];["2000"]];[["101001"];["2001"]];[["101002"];["2002"]];[["101003"];["2003"]];[["101004"];["2004"]];[["101005"];["2005"]];[["101006"];["2006"]];[["101007"];["2007"]];[["101008"];["2008"]];[["101009"];["2009"]]];%false]]])", result); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Почему это стало ненужным?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А это мне кажется и было ненужным. Это какая-то конкретная копипаста из ut_index_build_reboots.cpp, прям дословно взятый кусок кода был (кстати, как и само наполнение таблицы тоже было копипастой). Проверять null не нужно потому, что этого null-а там больше нет - до этого он в minikql writeQuery явным образом вставлялся. Для проверки векторного индекса он не нужен. Ну и в целом не понятно, зачем проверять только что вручную вставленные данные...
Co-authored-by: Ilnaz Nizametdinov <i.nizametdinov@gmail.com>
Co-authored-by: Ilnaz Nizametdinov <i.nizametdinov@gmail.com>
|
⚪ Test history | Ya make output | Test bloat
🟢 |
|
⚪ DetailsTest history | Ya make output | Test bloat
⚪ DetailsTest history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢 |
Changelog category
Description for reviewers
The test had multiple problems:
After fixing these, issues #18236 and #18278 start to be reproduced by this test if you roll back the fixes