Skip to content

HIVE-28917: NPE in merge statement when checking nullability of joining column in matched clause - ADDENDUM#5815

Merged
okumin merged 1 commit into
apache:masterfrom
soumyakanti3578:HIVE-28917-add
May 16, 2025
Merged

HIVE-28917: NPE in merge statement when checking nullability of joining column in matched clause - ADDENDUM#5815
okumin merged 1 commit into
apache:masterfrom
soumyakanti3578:HIVE-28917-add

Conversation

@soumyakanti3578

Copy link
Copy Markdown
Contributor

…ng column in matched clause - ADDENDUM

What changes were proposed in this pull request?

Fix a failing test

Why are the changes needed?

Some time had passed between the green tests of #5781 and it's merge. #5798 was merged in between, which removes unnecessary virtual columns. This causes the test failure in merge_with_null_check_on_joining_col.q which was added in the former PR.

Does this PR introduce any user-facing change?

No

How was this patch tested?

mvn test -pl itests/qtest-iceberg -Piceberg -Pitests -Dtest=TestIcebergCliDriver -Dtest.output.overwrite=true -Dqfile="merge_with_null_check_on_joining_col.q"

@abstractdog

Copy link
Copy Markdown
Contributor

let's merge this even if there are some unrelated problems and the test is not green (the point is the the affected qtest will pass)

@sonarqubecloud

Copy link
Copy Markdown

@soumyakanti3578

Copy link
Copy Markdown
Contributor Author

I agree. Maybe @kasakrisz or @zabetak can help merge this. The last run failed because of infra issues. I do not expect any problems if this is merged before the tests are done.

@zabetak

zabetak commented May 16, 2025

Copy link
Copy Markdown
Member

@abstractdog @okumin Have you verified that the test passes locally? If yes then let's just merge this immediately.

@okumin

okumin commented May 16, 2025

Copy link
Copy Markdown
Contributor

@zabetak Yes, I have. Precisely, I verified (1) mvn test -Pitests -pl itests/qtest-iceberg -Dtest=TestIcebergCliDriver -Dqfile=merge_with_null_check_on_joining_col.q failed with the master branch and (2) the same test command succeeded after I pulled it with gh pr checkout 5815 -R apache/hive and rebuilt hive-exec. I'll merge this pull request.

@okumin okumin changed the title HIVE-28917: NPE in merge statement when checking nullability of joini… HIVE-28917: NPE in merge statement when checking nullability of joining column in matched clause - ADDENDUM May 16, 2025
@okumin okumin merged commit d989c17 into apache:master May 16, 2025
@okumin

okumin commented May 16, 2025

Copy link
Copy Markdown
Contributor

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.

5 participants