Skip to content

fix case removed column for stats usage #1025

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

Merged

Conversation

ivanmorozov333
Copy link
Collaborator

  • Bugfix
    dont use column for stats calculation if one is removed

@@ -18,7 +18,6 @@ namespace NKikimr::NOlap::NCompaction {

void TGeneralCompactColumnEngineChanges::BuildAppendedPortionsByFullBatches(TConstructionContext& context) noexcept {
std::vector<TPortionInfoWithBlobs> portions = TPortionInfoWithBlobs::RestorePortions(SwitchedPortions, Blobs);
Blobs.clear();
std::vector<std::shared_ptr<arrow::RecordBatch>> batchResults;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Это точно корректно? Какое это имеет отношение к проверке колонок?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

да. никакого.

Copy link

github-actions bot commented Jan 16, 2024

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 7c8565a.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59878 50639 0 3 9210 26

🔴 linux-x86_64-release-asan: some tests FAILED for commit 7c8565a.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15861 15706 0 28 118 9

@ivanmorozov333 ivanmorozov333 merged commit af939b7 into ydb-platform:main Jan 16, 2024
va-kuznecov pushed a commit to va-kuznecov/ydb that referenced this pull request Jan 16, 2024
* fix case removed column for stats usage

* additional logging
@ivanmorozov333 ivanmorozov333 deleted the fix_stats_after_remove_column branch January 17, 2024 09:36
@niksaveliev niksaveliev mentioned this pull request Jan 29, 2024
@vitstn vitstn mentioned this pull request Jan 29, 2024
@starlinskiy starlinskiy mentioned this pull request Feb 12, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants