Skip to content

HIVE-29622: Improve metastore direct-SQL partition lookup robustness#6509

Open
saihemanth-cloudera wants to merge 1 commit into
apache:masterfrom
saihemanth-cloudera:HIVE-29622
Open

HIVE-29622: Improve metastore direct-SQL partition lookup robustness#6509
saihemanth-cloudera wants to merge 1 commit into
apache:masterfrom
saihemanth-cloudera:HIVE-29622

Conversation

@saihemanth-cloudera
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Direct-SQL partition name handling in the metastore was tightened. Partition lookups and related batch updates now use bound parameters instead of embedding names in SQL text.

Why are the changes needed?

Some partition-name inputs could be mishandled in direct-SQL paths, leading to incorrect partition resolution. This change makes name-based metastore operations more predictable and robust.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing test framework + Added a new test in TestObjectStore class

@sonarqubecloud
Copy link
Copy Markdown

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