# SQL metadata interface (SHOW TABLE) not showing DataStreams

**URL:** <https://discuss.elastic.co/t/sql-metadata-interface-show-table-not-showing-datastreams/288618>\
**Category:** Elasticsearch\
**Created:** [November 8, 2021, 11:31am UTC](https://discuss.elastic.co/t/sql-metadata-interface-show-table-not-showing-datastreams/288618 "2021-11-08T11:31:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JPMoresmau](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpmoresmau/32/96831_2.png) [@JPMoresmau](https://discuss.elastic.co/u/JPMoresmau)\
**Post date:** [November 8, 2021, 11:31am UTC](https://discuss.elastic.co/t/sql-metadata-interface-show-table-not-showing-datastreams/288618/1 "2021-11-08T11:31:57Z")

</div>

Hello, I have defined a data stream with backing indices and an index policy. So far so good.

```auto
POST http://localhost:9200/_sql?format=txt
Content-Type: application/json

{
  "query": "select * from \"my-data-stream\""
}

```

Returns results, OK

```auto
POST http://localhost:9200/_sql?format=txt
Content-Type: application/json

{
  "query": "SHOW TABLES"
}

```

Only returns the backing indices and not the actual data stream. Is that normal? This breaks some downstream tools like the SQLAlchemy interface that rely on SHOW TABLES.

Thanks, JP

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 6, 2021, 11:32am UTC](https://discuss.elastic.co/t/sql-metadata-interface-show-table-not-showing-datastreams/288618/2 "2021-12-06T11:32:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![bogdan.pintea](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bogdan.pintea/32/45740_2.png) [@bogdan.pintea](https://discuss.elastic.co/u/bogdan.pintea)\
**Post date:** [February 2, 2022, 5:25pm UTC](https://discuss.elastic.co/t/sql-metadata-interface-show-table-not-showing-datastreams/288618/3 "2022-02-02T17:25:33Z")

</div>

> [@JPMoresmau](#):
>
> Is that normal?

@JPMoresmau , this is currently to be expected, yes.

Edit: opened [an issue](https://github.com/elastic/elasticsearch/issues/83449) on it.
