Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect casing of schemaName parameter on the API results in IllegalArgumentException on case-insensitive database setups #683

Open
raju-saravanan opened this issue Mar 11, 2020 · 0 comments
Labels

Comments

@raju-saravanan
Copy link
Collaborator

In some scenarios, Schema Registry throws an IllegalArgumentException when the database is using case-insensitive queries and the casing of schemaname API parameter are different from actual schema names.

Steps to reproduce:

  1. Configure case-insensitive database collation in Schema Registry database.
  2. Create a schema called "test".
  3. Invoke the API: /schemas/TEST/versions?branch=MASTER
    The above API request will result in a similar exception:
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: value already present: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants