# Using Hadoop/Hive With Aggregations

**URL:** <https://discuss.elastic.co/t/using-hadoop-hive-with-aggregations/21075>\
**Category:** Elasticsearch\
**Created:** [December 4, 2014, 5:25am UTC](https://discuss.elastic.co/t/using-hadoop-hive-with-aggregations/21075 "2014-12-04T05:25:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Andrew\_Smith](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@James\_Andrew\_Smith](https://discuss.elastic.co/u/James_Andrew_Smith)\
**Post date:** [December 4, 2014, 5:25am UTC](https://discuss.elastic.co/t/using-hadoop-hive-with-aggregations/21075/1 "2014-12-04T05:25:48Z")

</div>

I want to expose some aggregate SUM/MIN/MAX data from ES through to my Hive  
tables.

Currently I have created an table which needs to scroll through all the  
rows and then re-aggregate these statistics in Hive.

This feels very inefficient. Is it possible to create an ES query with  
Aggregations as a table and have the aggregations/buckets come through to  
hive?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/03e31a7f-0cb0-49e7-978b-bf870354334d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/03e31a7f-0cb0-49e7-978b-bf870354334d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:46am UTC](https://discuss.elastic.co/t/using-hadoop-hive-with-aggregations/21075/2 "2017-07-06T00:46:02Z")

</div>


