Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow null UDTs to nested JavaBean #1325

Open
wants to merge 1 commit into
base: b2.5
Choose a base branch
from
Open

Conversation

bbshetty
Copy link

@bbshetty bbshetty commented Oct 25, 2021

Description

How did the Spark Cassandra Connector Work or Not Work Before this Patch

Unable to read row and map to JavaBean when the record contains null udt values

General Design of the patch

Change GettableDataToMappedTypeConverter to extend from NullableTypeConverter instead of TypeConverter.

JIRA - https://datastax-oss.atlassian.net/browse/SPARKC-668

How Has This Been Tested?

Unit Tested

Checklist:

  • I have a ticket in the OSS JIRA
  • I have performed a self-review of my own code
  • Locally all tests pass (make sure tests fail without your patch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant