Skip to content

[CBO] Make optimizer get only columns stats that are used in request #7550

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
merged 20 commits into from
Aug 16, 2024

Conversation

pashandor789
Copy link
Collaborator

@pashandor789 pashandor789 commented Aug 7, 2024

Changelog entry

...

Changelog category

  • New feature

Additional information

...

Copy link

github-actions bot commented Aug 7, 2024

2024-08-07 18:04:34 UTC Pre-commit check for 0aacfa7 has started.
2024-08-07 18:07:25 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-07 18:19:54 UTC Build successful.

Copy link

github-actions bot commented Aug 7, 2024

2024-08-07 18:05:06 UTC Pre-commit check for 0aacfa7 has started.
2024-08-07 18:10:37 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-07 20:11:41 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
9666 9624 0 5 23 14

🟢 2024-08-07 20:12:48 UTC Build successful.
🟡 2024-08-07 20:13:17 UTC ydbd size 5.4 GiB changed* by +509.6 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 514df1a merge: 0aacfa7 diff diff %
ydbd size 5 834 237 592 Bytes 5 834 759 424 Bytes +509.6 KiB +0.009%
ydbd stripped size 1 465 502 768 Bytes 1 465 589 456 Bytes +84.7 KiB +0.006%

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

Copy link

github-actions bot commented Aug 7, 2024

2024-08-07 18:05:31 UTC Pre-commit check for 0aacfa7 has started.
2024-08-07 18:09:12 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-07 19:33:25 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13833 12468 0 16 1336 13

2024-08-07 19:35:01 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-07 19:42:41 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
31 (only retried tests) 10 0 13 0 8

2024-08-07 19:43:54 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-08-07 19:51:27 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
22 (only retried tests) 1 0 13 0 8

🟢 2024-08-07 19:52:36 UTC Build successful.
🔴 2024-08-07 19:53:10 UTC ydbd size 8.1 GiB changed* by +2.5 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: 1593a2d merge: 0aacfa7 diff diff %
ydbd size 8 673 868 296 Bytes 8 676 458 480 Bytes +2.5 MiB +0.030%
ydbd stripped size 472 044 872 Bytes 472 174 664 Bytes +126.8 KiB +0.027%

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

Copy link

github-actions bot commented Aug 8, 2024

2024-08-08 10:34:58 UTC Pre-commit check for 94b8402 has started.
2024-08-08 10:38:22 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-08 12:30:29 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
9667 9617 0 12 25 13

🟢 2024-08-08 12:31:41 UTC Build successful.
🟡 2024-08-08 12:32:07 UTC ydbd size 5.4 GiB changed* by +447.2 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 7ed98e4 merge: 94b8402 diff diff %
ydbd size 5 834 422 008 Bytes 5 834 879 896 Bytes +447.2 KiB +0.008%
ydbd stripped size 1 465 537 392 Bytes 1 465 623 760 Bytes +84.3 KiB +0.006%

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

Copy link

github-actions bot commented Aug 8, 2024

2024-08-08 10:35:42 UTC Pre-commit check for 94b8402 has started.
2024-08-08 10:38:32 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-08 10:43:33 UTC Build successful.

Copy link

github-actions bot commented Aug 8, 2024

2024-08-08 10:35:49 UTC Pre-commit check for 94b8402 has started.
2024-08-08 10:39:55 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-08 12:11:42 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13836 12471 0 16 1335 14

2024-08-08 12:13:42 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-08 12:23:08 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
34 (only retried tests) 11 0 13 1 9

2024-08-08 12:24:15 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-08-08 12:32:57 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
23 (only retried tests) 1 0 13 0 9

🟢 2024-08-08 12:34:05 UTC Build successful.
🟡 2024-08-08 12:34:43 UTC ydbd size 8.1 GiB changed* by +707.0 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 9dbab08 merge: 94b8402 diff diff %
ydbd size 8 675 879 760 Bytes 8 676 603 728 Bytes +707.0 KiB +0.008%
ydbd stripped size 472 174 024 Bytes 472 193 864 Bytes +19.4 KiB +0.004%

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

Copy link

github-actions bot commented Aug 9, 2024

2024-08-09 11:30:35 UTC Pre-commit check for fef9221 has started.
2024-08-09 11:33:14 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-09 11:38:46 UTC Build successful.

Copy link

github-actions bot commented Aug 9, 2024

2024-08-09 11:30:54 UTC Pre-commit check for fef9221 has started.
2024-08-09 11:33:35 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-09 13:37:01 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
9743 9647 0 44 36 16

🟢 2024-08-09 13:38:07 UTC Build successful.
🟡 2024-08-09 13:38:35 UTC ydbd size 5.4 GiB changed* by +1.0 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 403d37f merge: fef9221 diff diff %
ydbd size 5 843 569 184 Bytes 5 844 662 184 Bytes +1.0 MiB +0.019%
ydbd stripped size 1 468 062 000 Bytes 1 468 253 520 Bytes +187.0 KiB +0.013%

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

Copy link

github-actions bot commented Aug 9, 2024

2024-08-09 11:31:16 UTC Pre-commit check for fef9221 has started.
2024-08-09 11:33:59 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-09 13:09:14 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14070 12664 0 43 1351 12

2024-08-09 13:10:54 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-09 13:22:06 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
71 (only retried tests) 10 0 40 13 8

2024-08-09 13:22:14 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-08-09 13:33:24 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
60 (only retried tests) 1 0 40 11 8

🟢 2024-08-09 13:33:32 UTC Build successful.
🟡 2024-08-09 13:34:07 UTC ydbd size 8.1 GiB changed* by +1.8 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 403d37f merge: fef9221 diff diff %
ydbd size 8 688 414 328 Bytes 8 690 258 272 Bytes +1.8 MiB +0.021%
ydbd stripped size 472 744 808 Bytes 472 791 272 Bytes +45.4 KiB +0.010%

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

@pashandor789 pashandor789 requested review from a team as code owners August 12, 2024 18:26
Copy link

github-actions bot commented Aug 12, 2024

2024-08-12 18:27:37 UTC Pre-commit check for 37d80e8 has started.
2024-08-12 18:30:22 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-12 20:48:43 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10320 10216 0 47 42 15

🟢 2024-08-12 20:49:52 UTC Build successful.
🟡 2024-08-12 20:50:18 UTC ydbd size 5.5 GiB changed* by +1.1 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: a536da4 merge: 37d80e8 diff diff %
ydbd size 5 851 258 696 Bytes 5 852 437 336 Bytes +1.1 MiB +0.020%
ydbd stripped size 1 469 332 048 Bytes 1 469 538 192 Bytes +201.3 KiB +0.014%

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

Copy link

github-actions bot commented Aug 12, 2024

2024-08-12 18:28:30 UTC Pre-commit check for 37d80e8 has started.
2024-08-12 18:31:08 UTC Check linux-x86_64-release-clang14 is running...
🔴 2024-08-12 18:35:11 UTC Build failed. see the logs.

Copy link

github-actions bot commented Aug 12, 2024

2024-08-12 18:29:41 UTC Pre-commit check for 37d80e8 has started.
2024-08-12 18:33:07 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-12 20:31:46 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
71900 58235 0 42 13610 13

2024-08-12 20:40:51 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-12 20:52:06 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
70 (only retried tests) 11 0 40 11 8

2024-08-12 20:52:14 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-08-12 21:03:28 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
64 (only retried tests) 5 0 40 11 8

🟢 2024-08-12 21:03:35 UTC Build successful.
🟡 2024-08-12 21:04:13 UTC ydbd size 8.1 GiB changed* by +1.9 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: c66a55e merge: 37d80e8 diff diff %
ydbd size 8 700 374 976 Bytes 8 702 391 976 Bytes +1.9 MiB +0.023%
ydbd stripped size 473 081 160 Bytes 473 136 520 Bytes +54.1 KiB +0.012%

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

Copy link

github-actions bot commented Aug 13, 2024

2024-08-13 14:32:03 UTC Pre-commit check for 7aaad44 has started.
2024-08-13 14:35:21 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-13 17:30:35 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
74990 61369 0 6 13598 17

2024-08-13 17:40:16 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-13 17:47:49 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
24 (only retried tests) 15 0 0 0 9

🟢 2024-08-13 17:47:56 UTC Build successful.
🔴 2024-08-13 17:48:33 UTC ydbd size 8.1 GiB changed* by +2.2 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: 4bce249 merge: 7aaad44 diff diff %
ydbd size 8 700 672 744 Bytes 8 702 992 128 Bytes +2.2 MiB +0.027%
ydbd stripped size 473 100 232 Bytes 473 160 200 Bytes +58.6 KiB +0.013%

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

Copy link

github-actions bot commented Aug 13, 2024

2024-08-13 14:34:22 UTC Pre-commit check for 7aaad44 has started.
2024-08-13 14:37:22 UTC Check linux-x86_64-release-clang14 is running...
🔴 2024-08-13 14:44:13 UTC Build failed. see the logs.

Copy link

github-actions bot commented Aug 13, 2024

2024-08-13 23:28:08 UTC Pre-commit check for d895996 has started.
2024-08-13 23:31:12 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-14 01:14:55 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
75018 61392 0 5 13603 18

2024-08-14 01:24:05 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-14 01:34:33 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
30 (only retried tests) 21 0 0 0 9

🟢 2024-08-14 01:34:40 UTC Build successful.
🔴 2024-08-14 01:35:14 UTC ydbd size 8.1 GiB changed* by +2.2 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: bbad9a4 merge: d895996 diff diff %
ydbd size 8 707 194 160 Bytes 8 709 517 440 Bytes +2.2 MiB +0.027%
ydbd stripped size 473 264 776 Bytes 473 328 840 Bytes +62.6 KiB +0.014%

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

Copy link

github-actions bot commented Aug 13, 2024

2024-08-13 23:28:37 UTC Pre-commit check for d895996 has started.
2024-08-13 23:31:33 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-14 02:01:30 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13403 13325 0 32 32 14

🟢 2024-08-14 02:02:59 UTC Build successful.
🟡 2024-08-14 02:03:30 UTC ydbd size 5.5 GiB changed* by +1.4 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: bbad9a4 merge: d895996 diff diff %
ydbd size 5 855 125 352 Bytes 5 856 582 032 Bytes +1.4 MiB +0.025%
ydbd stripped size 1 470 036 208 Bytes 1 470 280 688 Bytes +238.8 KiB +0.017%

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

Copy link

github-actions bot commented Aug 14, 2024

2024-08-14 20:05:15 UTC Pre-commit check for 5897331 has started.
2024-08-14 20:08:34 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-14 20:28:55 UTC Build successful.

Copy link

github-actions bot commented Aug 14, 2024

2024-08-14 20:07:33 UTC Pre-commit check for 5897331 has started.
2024-08-14 20:10:23 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-14 21:48:25 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
75060 61427 0 1 13601 31

2024-08-14 21:55:35 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-14 22:03:30 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
46 (only retried tests) 17 0 0 0 29

🟢 2024-08-14 22:03:38 UTC Build successful.
🔴 2024-08-14 22:04:14 UTC ydbd size 8.1 GiB changed* by +2.2 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: 3fc1bbf merge: 5897331 diff diff %
ydbd size 8 728 105 728 Bytes 8 730 427 264 Bytes +2.2 MiB +0.027%
ydbd stripped size 474 469 896 Bytes 474 529 992 Bytes +58.7 KiB +0.013%

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

Copy link

github-actions bot commented Aug 14, 2024

2024-08-14 20:07:35 UTC Pre-commit check for 5897331 has started.
2024-08-14 20:10:31 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-14 22:26:01 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13412 13319 0 27 33 33

🟢 2024-08-14 22:27:09 UTC Build successful.
🟡 2024-08-14 22:27:37 UTC ydbd size 5.5 GiB changed* by +1.4 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 3fc1bbf merge: 5897331 diff diff %
ydbd size 5 879 741 568 Bytes 5 881 190 792 Bytes +1.4 MiB +0.025%
ydbd stripped size 1 477 037 360 Bytes 1 477 273 744 Bytes +230.8 KiB +0.016%

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

resetius
resetius previously approved these changes Aug 15, 2024
Copy link
Collaborator

@pavelvelikhov pavelvelikhov left a comment

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 Aug 16, 2024

2024-08-16 12:36:58 UTC Pre-commit check for c2236ac has started.
2024-08-16 12:40:37 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-16 13:02:18 UTC Build successful.

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 12:40:14 UTC Pre-commit check for c2236ac has started.
2024-08-16 12:43:13 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-16 14:21:29 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
75389 61753 0 3 13599 34

2024-08-16 14:29:05 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-16 14:39:06 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
48 (only retried tests) 21 0 0 0 27

🟢 2024-08-16 14:39:14 UTC Build successful.
🔴 2024-08-16 14:39:49 UTC ydbd size 8.1 GiB changed* by +2.2 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: 37cf6b0 merge: c2236ac diff diff %
ydbd size 8 732 320 544 Bytes 8 734 640 096 Bytes +2.2 MiB +0.027%
ydbd stripped size 475 278 152 Bytes 475 334 152 Bytes +54.7 KiB +0.012%

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

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 12:44:26 UTC Pre-commit check for c2236ac has started.
2024-08-16 12:47:19 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-16 15:08:01 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13729 13639 0 22 34 34

🟢 2024-08-16 15:09:10 UTC Build successful.
🟡 2024-08-16 15:09:39 UTC ydbd size 5.5 GiB changed* by +1.4 MiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 37cf6b0 merge: c2236ac diff diff %
ydbd size 5 877 001 008 Bytes 5 878 454 984 Bytes +1.4 MiB +0.025%
ydbd stripped size 1 476 574 608 Bytes 1 476 815 152 Bytes +234.9 KiB +0.016%

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

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.

3 participants