apache / apache/polaris

Add more tests on error handling and responses for invalid inputs in Policy APIs

Open
#1,582 1 comment 0 reactions 1 assignee Claimed by @williamhyun View on GitHub
enhancement
Dominant language
Java
Stars
2.1k
Forks
522
Avg merge
1d 22h
Merged PRs (30d)
137

Description

### Is your feature request related to a problem? Please describe.

Currently, we have tests verifying correct outputs for valid inputs but lacks coverage for invalid inputs to ensure the correct exception/error message is thrown. It will be good to add those.

example:

1. create policy under a non-existing namespace
2. attach/detach policy to non-existing target (catalog/namesopace/table)
3. getApplicablePolicies on non-existing catalog/namesopace/table

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.