Skip to content

Conversation

@dorooleg
Copy link
Collaborator

Changelog entry

...

Changelog category

  • Not for changelog (changelog entry is not required)

Description for reviewers

...

Copilot AI review requested due to automatic review settings November 26, 2025 17:42
@dorooleg dorooleg requested a review from a team as a code owner November 26, 2025 17:42
@github-actions
Copy link

github-actions bot commented Nov 26, 2025

2025-11-26 17:43:39 UTC Pre-commit check linux-x86_64-relwithdebinfo for 94a99ec has started.
2025-11-26 17:44:16 UTC Artifacts will be uploaded here
2025-11-26 17:46:31 UTC ya make is running...
🟡 2025-11-26 19:23:32 UTC Some tests failed, follow the links below. Going to retry failed tests...

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
39606 36734 0 14 2836 22

2025-11-26 19:23:44 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-11-26 19:35:00 UTC Tests successful.

Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
58 (only retried tests) 46 0 0 0 12

🟢 2025-11-26 19:35:06 UTC Build successful.
🟢 2025-11-26 19:35:29 UTC ydbd size 2.3 GiB changed* by +1008 Bytes, which is < 100.0 KiB vs main: OK

ydbd size dash main: 37ffbd0 merge: 94a99ec diff diff %
ydbd size 2 456 394 840 Bytes 2 456 395 848 Bytes +1008 Bytes +0.000%
ydbd stripped size 523 434 112 Bytes 523 434 368 Bytes +256 Bytes +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copilot finished reviewing on behalf of dorooleg November 26, 2025 17:45
@github-actions
Copy link

🟢 2025-11-26 17:45:19 UTC The validation of the Pull Request description is successful.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds validation to ensure the index column in sparse array chunks is monotonically non-decreasing. The validation prevents data corruption by catching invalid index orderings during sparse array construction.

  • Adds an AFL_VERIFY check to validate that index column values don't decrease
  • Includes diagnostic information (next expected index, current loop index, and actual value) for debugging

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Nov 26, 2025

2025-11-26 17:46:13 UTC Pre-commit check linux-x86_64-release-asan for 94a99ec has started.
2025-11-26 17:46:31 UTC Artifacts will be uploaded here
2025-11-26 17:48:37 UTC ya make is running...
🟡 2025-11-26 18:59:12 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11998 11882 0 102 7 7

🟢 2025-11-26 18:59:20 UTC Build successful.
🟢 2025-11-26 18:59:44 UTC ydbd size 3.8 GiB changed* by +2.8 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: f11c39b merge: 94a99ec diff diff %
ydbd size 4 111 666 568 Bytes 4 111 669 392 Bytes +2.8 KiB +0.000%
ydbd stripped size 1 528 107 376 Bytes 1 528 108 400 Bytes +1.0 KiB +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

if (idx - startIndexInt) {
RemapExternalToInternal.emplace_back(startIndexExt, startIndexInt, idx - startIndexInt, false);
}
AFL_VERIFY(UI32ColIndex->Value(idx) >= nextIndex)("next", nextIndex)("idx", idx)("val", UI32ColIndex->Value(idx));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тут три раза вызывается UI32ColIndex->Value(idx). нельзя ли в переменную положить?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

на равенство уже проверили выше в if

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants