Skip to content

[#7190] fix(catalogs): Validate and filter empty storageLocations in HadoopCatalogOperations#7343

Merged
mchades merged 1 commit intobranch-0.9from
cherry-pick-branch-0.9-8867d8256b84d75ca1d44dcd19930b723ad507d6
Jun 5, 2025
Merged

[#7190] fix(catalogs): Validate and filter empty storageLocations in HadoopCatalogOperations#7343
mchades merged 1 commit intobranch-0.9from
cherry-pick-branch-0.9-8867d8256b84d75ca1d44dcd19930b723ad507d6

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Jun 5, 2025

What changes were proposed in this pull request?

Add validation: throw error if StorageLocation is null or blank Storage location for name '" + e.getKey() + "' must not be null or blank

Why are the changes needed?

Fixes #7190

Does this PR introduce any user-facing change?

No. APIs and behavior are unchanged, only error messages for invalid input are clearer.

How was this patch tested?

  • Added new unit tests.
  • Verified with ./gradlew clean build.

…HadoopCatalogOperations (#7238)

### What changes were proposed in this pull request?

Add validation: throw error if StorageLocation is null or blank `Storage
location for name '" + e.getKey() + "' must not be null or blank`

### Why are the changes needed?

Fixes #7190

### Does this PR introduce any user-facing change?

No. APIs and behavior are unchanged, only error messages for invalid
input are clearer.

### How was this patch tested?

- Added new unit tests.
- Verified with `./gradlew clean build`.
@github-actions github-actions bot requested a review from roryqi June 5, 2025 08:40
@mchades mchades closed this Jun 5, 2025
@mchades mchades reopened this Jun 5, 2025
Copy link
Contributor

@mchades mchades left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait for CI pass

@mchades mchades merged commit 1a9a927 into branch-0.9 Jun 5, 2025
34 of 36 checks passed
@mchades mchades deleted the cherry-pick-branch-0.9-8867d8256b84d75ca1d44dcd19930b723ad507d6 branch June 5, 2025 09:56
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