Skip to content

Verify input Arrow Datum in WideFromBlocks #4096

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 1 commit into from
May 3, 2024

Conversation

igormunkin
Copy link
Collaborator

This check is already implemented in TBlockFuncNode::DoCalculate, so if the type annotation is invalid or a given Arrow Datum doesn't match the annotated type, the debug build will hit the assertion. This patch makes the Datum type check in TWideFromBlocksWrapper::TState::Get as strict as in TBlockFuncNode::DoCalculate.

Relates to #3485

Changelog category

  • Not for changelog (changelog entry is not required)

Copy link

github-actions bot commented Apr 25, 2024

2024-04-25 08:16:35 UTC Pre-commit check for fd4aef4 has started.
2024-04-25 08:16:38 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-04-25 08:23:19 UTC Build successful.

Copy link

github-actions bot commented Apr 25, 2024

2024-04-25 08:16:36 UTC Pre-commit check for fd4aef4 has started.
2024-04-25 08:16:39 UTC Build linux-x86_64-release-asan is running...
🟢 2024-04-25 08:19:33 UTC Build successful.
2024-04-25 08:21:20 UTC Tests are running...
🔴 2024-04-25 10:08:18 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11294 11112 0 56 96 30

Copy link

github-actions bot commented Apr 25, 2024

2024-04-25 08:16:40 UTC Pre-commit check for fd4aef4 has started.
2024-04-25 08:16:42 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-04-25 08:20:15 UTC Build successful.
2024-04-25 08:22:06 UTC Tests are running...
🔴 2024-04-25 10:17:35 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
69871 56729 0 12 13097 33

This check is already implemented in <TBlockFuncNode::DoCalculate>, so
if the type annotation is invalid or a given Arrow Datum doesn't match
the annotated type, the debug build will hit the assertion. This patch
makes the Datum type check in <TWideFromBlocksWrapper::TState::Get>
as strict as in <TBlockFuncNode::DoCalculate>.

Relates to #3485
@igormunkin igormunkin force-pushed the verify-input-datum-descr branch from 502e507 to 1a2d4fc Compare May 2, 2024 18:27
Copy link

github-actions bot commented May 2, 2024

2024-05-02 18:31:04 UTC Pre-commit check for 177371f has started.
2024-05-02 18:31:06 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-05-02 18:34:45 UTC Build successful.

Copy link

github-actions bot commented May 2, 2024

2024-05-02 18:31:15 UTC Pre-commit check for 177371f has started.
2024-05-02 18:31:17 UTC Build linux-x86_64-release-asan is running...
🟢 2024-05-02 18:34:20 UTC Build successful.
2024-05-02 18:36:07 UTC Tests are running...
🔴 2024-05-02 20:25:07 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11352 11207 0 43 94 8

Copy link

github-actions bot commented May 2, 2024

2024-05-02 18:31:18 UTC Pre-commit check for 177371f has started.
2024-05-02 18:31:20 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-05-02 18:34:53 UTC Build successful.
2024-05-02 18:36:40 UTC Tests are running...
🔴 2024-05-02 20:29:54 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
69965 56877 0 9 13072 7

@igormunkin igormunkin marked this pull request as ready for review May 2, 2024 20:54
@igormunkin igormunkin requested a review from a team as a code owner May 2, 2024 20:54
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