Cannot use null for primitive Java types

Description

This is more or less the leftover for SPARKC-426.

UDTs are treated good but Java primitive types are not when using Java POJOs to map the rows into, not Scala one, likely with Optional.

Environment

None

Pull Requests

None

Assignee

Piotr Kołaczkowski

Reporter

Stefan Miklosovic

Fix versions

None

Labels

None

Reviewer

None

Reviewer 2

None

Pull Request

None

Components

Affects versions

Priority

Major
Configure