I have an elastic search indices with date field in epoch_millis format (which is a valid date format in elastic),
while adding this data source I am seeing exception in server.log and data source is not added
2017-11-27 16:24:04,549 [qtp849280097-107] WARN c.d.exec.store.CatalogServiceImpl - Failure while attempting to update metadata for source lab19elastic. Terminating update of this source.
com.dremio.common.exceptions.UserException: Found invalid custom date format, epoch_millis
at com.dremio.common.exceptions.UserException$Builder.build(UserException.java:648) ~[dremio-common-1.2.2-201710100151430989-d40e31c-mapr.jar:1.2.2-201710100151430989-d40e31c-mapr]
at com.dremio.plugins.elastic.DateFormats.getFormatterAndType(DateFormats.java:346) ~[dremio-elasticsearch-plugin-1.2.2-201710100151430989-d40e31c-mapr.jar:1.2.2-201710100151430989-d40e31c-mapr]
at com.dremio.plugins.elastic.DateFormats$2.apply(DateFormats.java:158) ~[dremio-elasticsearch-plugin-1.2.2-201710100151430989-d40e31c-mapr.jar:1.2.2-201710100151430989-d40e31c-mapr]
at com.dremio.plugins.elastic.DateFormats$2.apply(DateFormats.java:155) ~[dremio-elasticsearch-plugin-1.2.2-201710100151430989-d40e31c-mapr.jar:1.2.2-201710100151430989-d40e31c-mapr]
at com.google.common.collect.Iterators$8.transform(Iterators.java:799) ~[guava-18.0.jar:na]
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) ~[guava-18.0.jar:na]
at com.google.common.collect.Iterators.addAll(Iterators.java:362) ~[guava-18.0.jar:na]
at com.google.common.collect.Lists.newArrayList(Lists.java:160) ~[guava-18.0.jar:na]
at com.google.common.collect.Iterables.toCollection(Iterables.java:337) ~[guava-18.0.jar:na]
at com.google.common.collect.Iterables.toArray(Iterables.java:315) ~[guava-18.0.jar:na]
at com.google.common.collect.FluentIterable.toArray(FluentIterable.java:474) ~[guava-18.0.jar:na]
at com.dremio.plugins.elastic.DateFormats.getFormatterAndType(DateFormats.java:155) ~[dremio-elasticsearch-plugin-1.2.2-201710100151430989-d40e31c-mapr.jar:1.2.2-201710100151430989-d40e31c-mapr]
at com.dremio.plugins.elastic.mapping.ElasticMappingSet$ElasticField.(ElasticMappingSet.java:259) ~[dremio-elasticsearch-plugin-1.2.2-201710100151430989-d40e31c-mapr.jar:1.2.2-201710100151430989-d40e31c-mapr]