Skip to content

Query index information for DuckDB dynamically #1163

@mrigger

Description

@mrigger

DuckDB's index generator currently hardcodes the index names:

sb.append(Randomly.fromOptions("i0", "i1", "i2", "i3", "i4")); // cannot query this information

This information can now be dynamically queried:

SELECT * FROM duckdb_indexes();

Thus, it would be helpful to maintain information about indexes in the schema classes similar to other database system implementations in SQLancer and query this information dynamically:

sb.append(globalState.getSchema().getFreeIndexName());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions