Skip to content

Query index information for DuckDB dynamically #1163

Closed

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());

Activity

  1. Saahi30 commented on Mar 20, 2025

    @Saahi30

    I would like to work on this issue....could you assign it to me

  2. added a commit that references this issue on Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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