@@ -328,9 +328,11 @@ VACUUM MATERIALIZED VIEW alb_logs_metrics
328
328
- index_name: user defined name for covering index and materialized view
329
329
- auto_refresh: auto refresh option of the index (true / false)
330
330
- status: status of the index
331
+ - ** Extended Usage** : Display additional information, including the following output columns:
332
+ - error: error message if the index is in failed status
331
333
332
334
``` sql
333
- SHOW FLINT [INDEX|INDEXES] IN catalog[.database]
335
+ SHOW FLINT [INDEX|INDEXES] [EXTENDED] IN catalog[.database]
334
336
```
335
337
336
338
Example:
@@ -344,6 +346,15 @@ fetched rows / total rows = 3/3
344
346
| flint_spark_catalog_default_http_logs_skipping_index | skipping | default | http_logs | NULL | true | refreshing |
345
347
| flint_spark_catalog_default_http_logs_status_clientip_index | covering | default | http_logs | status_clientip | false | active |
346
348
+-------------------------------------------------------------+----------+----------+-----------+-----------------+--------------+------------+
349
+
350
+ sql> SHOW FLINT INDEXES EXTENDED IN spark_catalog.default;
351
+ fetched rows / total rows = 2/2
352
+ +-------------------------------------------------------------+----------+----------+-----------+-----------------+--------------+------------+-------------------------------+
353
+ | flint_index_name | kind | database | table | index_name | auto_refresh | status | error |
354
+ |-------------------------------------------------------------+----------+----------+-----------+-----------------+--------------+------------+-------------------------------|
355
+ | flint_spark_catalog_default_http_count_view | mv | default | NULL | http_count_view | false | active | NULL |
356
+ | flint_spark_catalog_default_http_logs_skipping_index | skipping | default | http_logs | NULL | true | failed | failure in bulk execution:... |
357
+ +-------------------------------------------------------------+----------+----------+-----------+-----------------+--------------+------------+-------------------------------+
347
358
```
348
359
349
360
- ** Analyze Skipping Index** : Provides recommendation for creating skipping index. It outputs the following columns:
0 commit comments