You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting a list of all Flint indexes takes too long.
Currently, user needs to make request to show all databases, show all tables, and then get all the indexes from the databases and tables.
Cannot get Flint index names right away.
Users need to be aware of the Flint index naming rule and construct the name themselves, using datasource, database, table, index type, and index name.
What solution would you like?
provide a query for showing all the flint indexes with their info, including the internal index state. SHOW FLINT [INDEX|INDEXES] IN catalog[.database]
SHOW FLINT INDEXES IN glue_1
flint_index_name | kind | database | table | index_name | auto refresh | status
--------------------------------------------------------------------------------
flint_glue_1_default_http_logs_cv_index | covering | default | http_logs | cv | true | active
flint_glue_1_other_http_logs_skipping_index | skipping | other| http_logs | - | true | refreshing
flint_glue_1_other_http_count_view | mv | other| - | http_count_view | false | active
What alternatives have you considered?
SHOW FLINT [INDEX|INDEXES]
Compared to the proposed solution, the intention for this statement is more unclear. It's not clear whether this statement should fetch all indexes in all catalogs or in current catalog only
Debated on whether to add FLINT as a keyword. SHOW INDEXES or SHOW ALL INDEXES can be confused with the already existing SHOW INDEXES ON <table> statement for showing covering indexes, thus adding FLINT to make the distinction. In addition, this statement does not return the index name provided by user, but the Flint index name stored in OpenSearch, so that lines up as well.
Do you have any additional context?
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Currently, user needs to make request to show all databases, show all tables, and then get all the indexes from the databases and tables.
Users need to be aware of the Flint index naming rule and construct the name themselves, using datasource, database, table, index type, and index name.
What solution would you like?
provide a query for showing all the flint indexes with their info, including the internal index state.
SHOW FLINT [INDEX|INDEXES] IN catalog[.database]
What alternatives have you considered?
SHOW FLINT [INDEX|INDEXES]
Compared to the proposed solution, the intention for this statement is more unclear. It's not clear whether this statement should fetch all indexes in all catalogs or in current catalog only
Debated on whether to add FLINT as a keyword.
SHOW INDEXES
orSHOW ALL INDEXES
can be confused with the already existingSHOW INDEXES ON <table>
statement for showing covering indexes, thus addingFLINT
to make the distinction. In addition, this statement does not return the index name provided by user, but the Flint index name stored in OpenSearch, so that lines up as well.Do you have any additional context?
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: