Skip to content

Deleting an Elasticsearch index from the sidebar generates invalid SQL #2884

Closed

Description

@JX-WANG117

What happened?

Deleting an index from the sidebar opens a confirmation dialog that generates a SQL statement instead of an Elasticsearch REST request:

DROP TABLE "test_index"

After choosing Execute, TablePro shows:

Invalid response: Enter a request like: GET /my-index/_search

The request is rejected by the Elasticsearch console parser before it is sent to the cluster.

Steps to reproduce

  1. Connect TablePro to an Elasticsearch or Easysearch cluster.
  2. In the sidebar, select a regular index.
  3. Choose the option to delete the index.
  4. Inspect the generated statement in the confirmation dialog.
  5. Click Execute.

Expected behavior

The deletion action should generate and send the native REST request:

DELETE /<index-name>

After a successful response, the index should disappear from the sidebar. It should not generate DROP TABLE, because Elasticsearch indices are not SQL tables.

Database type

N/A

TablePro version

0.74.0 (130)

macOS version & chip

macOS 26.6.2 / Apple Silicon

Screenshots / Logs

The confirmation dialog shows DROP TABLE "test_index"; the subsequent error is Invalid response: Enter a request like: GET /my-index/_search.

Activity

  1. added
    bug
    on Sep 15, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions