Skip to content

Allow null UDTs to nested JavaBean - #1325

Open
bbshetty wants to merge 1 commit into
apache:b2.5from
bbshetty:b2.5
Open

Allow null UDTs to nested JavaBean#1325
bbshetty wants to merge 1 commit into
apache:b2.5from
bbshetty:b2.5

Conversation

@bbshetty

@bbshetty bbshetty commented Oct 25, 2021

Copy link
Copy Markdown

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

Development

Successfully merging this pull request may close these issues.

1 participant