-
Notifications
You must be signed in to change notification settings - Fork 378
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
[Feature Request] In PosgresSQL indexes on foriegn key don't show up as indexes. #2440
Comments
seems not a bug, Gravitino currently supports PRIMARY_KEY and UNIQUE_KEY only |
In general foreign keys are much more common than primary or unique keys and provide important information on what fields are optimised to use in a query. Is supporting foreign key indexes or other indexes being considered? |
this's not scheduled in 0.5, maybe we could consider scheduling in 0.6 |
The issue for that added indexes are a little misleading or could do with more description e.g. #1736 says "Support PostgreSQL index". |
The release notes for 0.4 are also a light on details on this https://github.com/datastrato/gravitino/releases/tag/v0.4.0 |
We do not support foreign index for PG, I will schedule it to 0.7.0. |
Version
main branch
Describe what's wrong
If you create a foreign key and index it doesn't show up as an index in the REST result.
Error message and/or stacktrace
N/A
How to reproduce
Using the playground, create an index on a foreign key like so:
Run this:
And indexes will be an empty array.
Additional context
No response
The text was updated successfully, but these errors were encountered: