Hi,
I try to insert parent doc to specific type, and child doc to another type in the same spark job.
I defined in the spark conf the es.mapping.parent to the correct field.
But when the job tries to saveJsonToEs(<INDEX/TYPE_NAME>) , I got this exception:
Caused by: org.elasticsearch.hadoop.EsHadoopIllegalArgumentException:[JsonExtractor for field [parent]] cannot extract value from entity [class java.lang.String ]
Thank's,