Skip to content

Conversation

@soumyakanti3578
Copy link
Contributor

…tion column

What changes were proposed in this pull request?

In INNER joins, when we only project the small table's joining key, we can run into a situation when the hashmap's value is empty. Then, if we serialize the empty value, we will get NULLs. Instead we should just copy the key into the vectorized batch.

Why are the changes needed?

Explained in detail: https://issues.apache.org/jira/browse/HIVE-26653

Does this PR introduce any user-facing change?

No

How was this patch tested?

Added unit tests in TestMapJoinOperator.java. The original issue is not reproducible anymore because of an unrelated patch, as explained in the Jira.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 4, 2025

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