# Hive to ES incremental upload

**URL:** https://discuss.elastic.co/t/hive-to-es-incremental-upload/99516
**Category:** Elasticsearch
**Created:** [September 6, 2017, 5:28am UTC](https://discuss.elastic.co/t/hive-to-es-incremental-upload/99516 "2017-09-06T05:28:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ashwini\_Kumar](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Ashwini\_Kumar](https://discuss.elastic.co/u/Ashwini_Kumar)
#### Post date: [September 6, 2017, 5:28am UTC](https://discuss.elastic.co/t/hive-to-es-incremental-upload/99516/1 "2017-09-06T05:28:36Z")

</div>

I have 20000 documents in ES and I have uploaded them from Hive using Hive -ES connector. How can I dump new data from hive to ES? I want to do an incremental upload how sqoop does.

---

<div class="post-metadata">

### Author: ![james.baiera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james.baiera/32/10209_2.png) [@james.baiera](https://discuss.elastic.co/u/james.baiera)
#### Post date: [September 12, 2017, 2:57pm UTC](https://discuss.elastic.co/t/hive-to-es-incremental-upload/99516/2 "2017-09-12T14:57:01Z")

</div>

@Ashwini_Kumar I'm not aware of anything that does this out of the box for Hive, so it might require a little bit of footwork to do. Does your new data have any way to differentiate it from old data such as a create timestamp or transaction ids? If so, you could attempt to query just for the new data since your last load into ES when running the load command.

---

<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: [October 10, 2017, 2:57pm UTC](https://discuss.elastic.co/t/hive-to-es-incremental-upload/99516/3 "2017-10-10T14:57:14Z")

</div>

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