I'm sending java.sql.Timestamp objects to Elastic (through Spark).
With default mapping everything works OK, dates are showing up as long numbers in the index (milliseconds).
However after changing the field mapping to this:
I'm getting the following error:
Bad Request(400) - failed to parse [submitDate]; Bailing out..
Could someone explain what's Elastic expecting, which data type should be sent?
Thanks a lot,