Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
A reproduction was given in the Datastax Academy chat and I've written a patch.
Russell Spitzer January 25, 2017 at 8:38 PM
Please update the environment. There is no information of the version of C* or The Spark Cassandra connector. Currently this seems to be ok in b1.6 at least for the generic CassandraRows. So please paste all of the relevant version information and if possible a sample of code producing the error.
Anonymous September 26, 2016 at 9:44 PM
FWIW - using an instantiated object for the UDT but leaving every field inside of it unset works pretty well. I wasn't able to figure out a clean solution to the original exception, since it appears that the binding between Object type -> Converter type inside of the connector is happening much earlier in the process and is agnostic of the value of the field itself.
It appears that saving POJOs with NULL UDTs is disallowed when they shouldn't be. Relevant stack trace:
http://pastebin.com/tdGeSkxM