Skip to content

[core] Accept canonical REST identifier casing - #1110

Open
shyjsarah wants to merge 1 commit into
apache:mainfrom
shyjsarah:fix/rest-response-identifier-casing
Open

shyjsarah wants to merge 1 commit into
apache:mainfrom
shyjsarah:fix/rest-response-identifier-casing

Conversation

@shyjsarah

Copy link
Copy Markdown
Contributor

Purpose

REST catalogs may return canonical database and table names whose ASCII casing differs from the requested identifier. Exact equality rejects those otherwise matching responses.

Accept case-only differences while retaining the response identifier so tables use the catalog canonical casing. Responses for a genuinely different database or table remain rejected.

Tests

  • cargo test -p paimon response_identifier_ --lib
  • cargo test -p paimon table::rest_env::tests --lib
  • cargo check -p paimon --all-targets --features fulltext,vortex
  • cargo clippy -p paimon --all-targets --features fulltext,vortex -- -D warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant