You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deleting an Elasticsearch index from the sidebar generates invalid SQL #2884
Deleting an index from the sidebar opens a confirmation dialog that generates a SQL statement instead of an Elasticsearch REST request:
DROPTABLE"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
Connect TablePro to an Elasticsearch or Easysearch cluster.
In the sidebar, select a regular index.
Choose the option to delete the index.
Inspect the generated statement in the confirmation dialog.
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