Look up Codecs on Write only Once

Description

https://github.com/datastax/spark-cassandra-connector/blob/75719dfe0e175b3e0bb1c06127ad4e6930c73ece/spark-cassandra-connector/src/main/scala/com/datastax/spark/connector/writer/BoundStatementBuilder.scala#L48-L75

We call the codec machinery for every value that goes through the system. I think we can probably get away with just passing through the codec itself after determining it once rather than once for every object .

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Russell Spitzer

Labels

None

Reviewer

None

Reviewer 2

None

Tester

None

Pull Request

None

Priority

Major
Configure