Open justinmclean opened 8 months ago
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