should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
# name: test/sql/table_function/duckdb_indexes.test
# description: Test duckdb_indexes function
# group: [table_function]
statement ok
CREATE TABLE integers(i INTEGER, j INTEGER, k INTEGER)
statement ok
CREATE INDEX i_index ON integers((j + 1), k)
statement ok nosort duckdb_col
SELECT * FROM duckdb_indexes();
statement ok nosort duckdb_col
SELECT * FROM duckdb_indexes;
query I
select expressions from duckdb_indexes where table_name = 'integers';
----
['((j + 1))', k]