# Disabling date detection \[Hive-Elasticsearch\]

**URL:** <https://discuss.elastic.co/t/disabling-date-detection-hive-elasticsearch/18241>\
**Category:** Elasticsearch\
**Created:** [June 20, 2014, 10:10pm UTC](https://discuss.elastic.co/t/disabling-date-detection-hive-elasticsearch/18241 "2014-06-20T22:10:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shankarramshivram](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@shankarramshivram](https://discuss.elastic.co/u/shankarramshivram)\
**Post date:** [June 20, 2014, 10:10pm UTC](https://discuss.elastic.co/t/disabling-date-detection-hive-elasticsearch/18241/1 "2014-06-20T22:10:58Z")

</div>

Hi ,

My write to es from mapr fails because of the automatic date detection  
being enabled . Is there a way to disable date detection from the external  
hive table properties. ?  
Request to please guide me regarding this.

--  
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/ed7e40b0-b896-4633-88fc-efdf2bead65a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ed7e40b0-b896-4633-88fc-efdf2bead65a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [June 21, 2014, 9:17pm UTC](https://discuss.elastic.co/t/disabling-date-detection-hive-elasticsearch/18241/2 "2014-06-21T21:17:06Z")

</div>

Not sure what you mean by failing but you can control the index (and thus disable date detection and many others) by  
creating the index before hand with the appropriate settings. In practice this is basically one call to ES or if you use  
templates (which I recommend), a one-time setup for all your indices [1]

[1] [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/current/mapping.html#_converting_data_to_elasticsearch)

On 6/21/14 1:10 AM, [shankarramshivram@gmail.com](mailto:shankarramshivram@gmail.com) wrote:

> Hi ,
> 
> My write to es from mapr fails because of the automatic date detection being enabled . Is there a way to disable date  
> detection from the external hive table properties. ?  
> Request to please guide me regarding this.
> 
> --  
> 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) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/ed7e40b0-b896-4633-88fc-efdf2bead65a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ed7e40b0-b896-4633-88fc-efdf2bead65a%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/ed7e40b0-b896-4633-88fc-efdf2bead65a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ed7e40b0-b896-4633-88fc-efdf2bead65a%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Costin

--  
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/53A5F652.3030508%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/53A5F652.3030508%40gmail.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, 1:20am UTC](https://discuss.elastic.co/t/disabling-date-detection-hive-elasticsearch/18241/3 "2017-07-06T01:20:44Z")

</div>


