Skip to content

YQ fixed parquet error description #19779

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GrigoriyPA
Copy link
Collaborator

Changelog entry

Fixed parquet error description

Changelog category

  • Not for changelog (changelog entry is not required)

Description for reviewers

@GrigoriyPA GrigoriyPA requested a review from a team as a code owner June 17, 2025 18:14
@GrigoriyPA GrigoriyPA requested a review from uzhastik June 17, 2025 18:14
@GrigoriyPA GrigoriyPA requested a review from Copilot June 17, 2025 18:14
Copy link
Contributor

@Copilot 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 updates test configuration flags related to spilling behavior and improves the Parquet error message to include schema context for missing fields.

  • Removed a deprecated write-portion flag and added three new spilling feature flags in the test config.
  • Enhanced the ParquetException for missing fields by listing the actual schema fields.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ydb/tests/tools/kqprun/configuration/app_config.conf Removed EnableWritePortionsOnInsert and added new spilling feature flags
ydb/library/yql/providers/s3/actors/yql_arrow_column_converters.cpp Expanded the missing-field exception message to include found fields
Comments suppressed due to low confidence (2)

ydb/library/yql/providers/s3/actors/yql_arrow_column_converters.cpp:791

  • Consider adding or updating a unit test to cover this new error path and verify that the exception message includes both the missing field name and the list of found schema fields.
            throw parquet::ParquetException(TStringBuilder() << "Missing field: " << targetField->name() << ", found fields in arrow file: " << dataSchema->ToString());

ydb/tests/tools/kqprun/configuration/app_config.conf:220

  • It would be helpful to add comments explaining the purpose and valid values for EnableSpillingNodes (and the other new spilling flags) to guide future maintainers.
  EnableSpillingNodes: "None"

Copy link

🟢 2025-06-17 18:17:06 UTC The validation of the Pull Request description is successful.

Copy link

github-actions bot commented Jun 17, 2025

2025-06-17 18:17:21 UTC Pre-commit check linux-x86_64-relwithdebinfo for e06ec8e has started.
2025-06-17 18:17:26 UTC Artifacts will be uploaded here
2025-06-17 18:20:38 UTC ya make is running...

Copy link

github-actions bot commented Jun 17, 2025

2025-06-17 18:17:35 UTC Pre-commit check linux-x86_64-release-asan for e06ec8e has started.
2025-06-17 18:17:41 UTC Artifacts will be uploaded here
2025-06-17 18:21:02 UTC ya make is running...
🟡 2025-06-17 20:02:01 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13537 13187 0 160 163 27

2025-06-17 20:03:14 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-06-17 20:42:40 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2179 (only retried tests) 1950 0 77 132 20

2025-06-17 20:43:01 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-06-17 21:19:59 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
1798 (only retried tests) 1614 0 65 100 19

🟢 2025-06-17 21:20:17 UTC Build successful.
🟢 2025-06-17 21:20:53 UTC ydbd size 3.9 GiB changed* by +5.1 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: a9c6a56 merge: e06ec8e diff diff %
ydbd size 4 173 523 168 Bytes 4 173 528 352 Bytes +5.1 KiB +0.000%
ydbd stripped size 1 447 231 736 Bytes 1 447 236 152 Bytes +4.3 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

@GrigoriyPA GrigoriyPA added the rebase-and-check Rebase PR with the current base branch and check label Jun 18, 2025
@github-actions github-actions bot removed the rebase-and-check Rebase PR with the current base branch and check label Jun 18, 2025
Copy link

github-actions bot commented Jun 18, 2025

2025-06-18 08:11:10 UTC Pre-commit check linux-x86_64-relwithdebinfo for dc37ae0 has started.
2025-06-18 08:11:21 UTC Artifacts will be uploaded here
2025-06-18 08:14:41 UTC ya make is running...
🟡 2025-06-18 09:33:52 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
35519 32820 0 2 2662 35

2025-06-18 09:36:57 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-06-18 09:47:54 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
403 (only retried tests) 381 0 1 0 21

2025-06-18 09:48:03 UTC ya make is running... (failed tests rerun, try 3)
🔴 2025-06-18 09:57:27 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
382 (only retried tests) 360 0 2 0 20

🟢 2025-06-18 09:57:35 UTC Build successful.
🟢 2025-06-18 09:57:56 UTC ydbd size 2.2 GiB changed* by +85.6 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: a74e33c merge: dc37ae0 diff diff %
ydbd size 2 372 913 808 Bytes 2 373 001 496 Bytes +85.6 KiB +0.004%
ydbd stripped size 497 509 960 Bytes 497 531 912 Bytes +21.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 Jun 18, 2025

2025-06-18 08:12:39 UTC Pre-commit check linux-x86_64-release-asan for dc37ae0 has started.
2025-06-18 08:12:51 UTC Artifacts will be uploaded here
2025-06-18 08:16:10 UTC ya make is running...
🟡 2025-06-18 10:15:25 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13540 13253 0 132 130 25

2025-06-18 10:16:43 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-06-18 10:52:46 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
1764 (only retried tests) 1619 0 57 64 24

2025-06-18 10:53:05 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-06-18 11:27:54 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
1413 (only retried tests) 1276 0 52 65 20

🟢 2025-06-18 11:28:10 UTC Build successful.
🟢 2025-06-18 11:28:48 UTC ydbd size 3.9 GiB changed* by +62.4 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 214dfc7 merge: dc37ae0 diff diff %
ydbd size 4 173 639 624 Bytes 4 173 703 488 Bytes +62.4 KiB +0.002%
ydbd stripped size 1 447 273 560 Bytes 1 447 299 352 Bytes +25.2 KiB +0.002%

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

@GrigoriyPA GrigoriyPA added the rebase-and-check Rebase PR with the current base branch and check label Jun 18, 2025
@github-actions github-actions bot removed the rebase-and-check Rebase PR with the current base branch and check label Jun 18, 2025
Copy link

github-actions bot commented Jun 18, 2025

2025-06-18 13:35:09 UTC Pre-commit check linux-x86_64-relwithdebinfo for 504717c has started.
2025-06-18 13:35:20 UTC Artifacts will be uploaded here
2025-06-18 13:38:33 UTC ya make is running...
🟡 2025-06-18 15:15:44 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
35532 32824 0 4 2663 41

2025-06-18 15:19:40 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-06-18 15:28:58 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
555 (only retried tests) 533 0 0 0 22

🟢 2025-06-18 15:29:10 UTC Build successful.
🟢 2025-06-18 15:29:28 UTC ydbd size 2.2 GiB changed* by +92.1 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 0ee880e merge: 504717c diff diff %
ydbd size 2 373 169 264 Bytes 2 373 263 600 Bytes +92.1 KiB +0.004%
ydbd stripped size 497 551 752 Bytes 497 574 632 Bytes +22.3 KiB +0.005%

*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 Jun 18, 2025

2025-06-18 13:41:20 UTC Pre-commit check linux-x86_64-release-asan for 504717c has started.
2025-06-18 13:41:31 UTC Artifacts will be uploaded here
2025-06-18 13:44:44 UTC ya make is running...
🟡 2025-06-18 15:58:57 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13547 13253 0 114 157 23

2025-06-18 16:00:11 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-06-18 16:36:51 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
1864 (only retried tests) 1649 0 61 131 23

2025-06-18 16:37:10 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-06-18 17:10:48 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
1461 (only retried tests) 1265 0 49 128 19

🟢 2025-06-18 17:11:04 UTC Build successful.
🟡 2025-06-18 17:11:39 UTC ydbd size 3.9 GiB changed* by +148.6 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 946d88c merge: 504717c diff diff %
ydbd size 4 174 074 776 Bytes 4 174 226 976 Bytes +148.6 KiB +0.004%
ydbd stripped size 1 447 380 728 Bytes 1 447 444 280 Bytes +62.1 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

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.

1 participant