Description
What kind an issue is this?
- Bug report.
- Feature Request.
Feature description
Once upon a time I needed to change the mapping of some fields. Luckily, I use to put a date suffix in index names: myindex-yyyy.mm.dd, so I could to change the mapping from one day to another.
I didn't yet have any problems on querying directly on Elasticsearch. But, using elasticsearch-spark, I got this message:
org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Incompatible types found in multi-mapping: Field [offset] has conflicting types of [LONG] and [TEXT].
It occurs when I use a wildcard on index names: myindex-*
My request is: if the library can detect conflicting types, maybe it could just generate a warning and bring the field data as an Object. If the field is not important in a query (e.g. for filtering), it could come to me as it is.