I have elasticsearch index named as dataInfo-yyyy.mm.dd.
I am querying elasticsearch thru spark scala to get the data by searching index as dataInfo* and its throwing error as follows:
catch exceptionorg.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Incompatible types found in multi-mapping: Field [fieldName] has conflicting types of [LONG] and [INTEGER]
if I am passing index as dataInfo-2019*, I am getting records from Elasticsearch.
when I do search just with info*, I am facing this issue.
Could you please suggest what might be causing this incompatible types?