JavaInstantConverter needs conversion from java.util.Date

Description

Getting the following exception when reading a cassandra column of type 'timestamp' as 'java.time.Instant' type:

Looks like the line (see JavaInstantConverter in TypeConverter.scala)

should be replaced with

-------
See
https://github.com/datastax/spark-cassandra-connector/blob/master/spark-cassandra-connector/src/main/scala/com/datastax/spark/connector/types/TypeConverter.scala

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Pavel Tarasenko

Labels

None

Reviewer

None

Reviewer 2

None

Tester

None

Pull Request

None

Priority

Major
Configure