# Limit on number of rows, even for preview/Elasticsearch

**URL:** <https://community.dremio.com/t/limit-on-number-of-rows-even-for-preview-elasticsearch/785>\
**Category:** Uncategorized\
**Created:** [February 20, 2018, 3:40pm UTC](https://community.dremio.com/t/limit-on-number-of-rows-even-for-preview-elasticsearch/785 "2018-02-20T15:40:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HokieKev](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@HokieKev](https://community.dremio.com/u/HokieKev)\
**Post date:** [February 20, 2018, 3:40pm UTC](https://community.dremio.com/t/limit-on-number-of-rows-even-for-preview-elasticsearch/785/1 "2018-02-20T15:40:59Z")

</div>

I have an Elasticsearch data set with 20 million rows spread over 365 daily indexes in Elasticsearch. If I query the data as follows:

my\_src\_data-2018=7._._

I get an error 400.

If however, I query like the following:

my\_src\_data-2018=7.01.\*

then it works fine.

As a temporary workaround I a saved query for each month and in my client tool (Tableau) I union all 12 months together. But this is a laborious solution for many data sets.

I saw in another thread other people had hit this as well. Is there any fix in the works?

---

<div class="post-metadata">

**Author:** ![kelly](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/kelly/32/11_2.png) [@kelly](https://community.dremio.com/u/kelly)\
**Post date:** [February 20, 2018, 7:55pm UTC](https://community.dremio.com/t/limit-on-number-of-rows-even-for-preview-elasticsearch/785/2 "2018-02-20T19:55:49Z")

</div>

I’ll let others comment on the syntax for your wildcard, but wanted to mention that you could manage the union all as a virtual dataset, then connect to a single dataset via Tableau rather than doing the union in Tableau.

---

<div class="post-metadata">

**Author:** ![HokieKev](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@HokieKev](https://community.dremio.com/u/HokieKev)\
**Post date:** [February 21, 2018, 1:12pm UTC](https://community.dremio.com/t/limit-on-number-of-rows-even-for-preview-elasticsearch/785/3 "2018-02-21T13:12:23Z")

</div>

That’s a good idea - I will definitely give that a try.
