Skip to content

Encoding for Scala Option and Optional #150

Open
@Jolanrensen

Description

@Jolanrensen
Collaborator

While Dataset<Option<*>> works, whereever a schema needs to be created, such as Dataset<Pair<*, Option<*>>, then it fails.
Option is a Product but is handled as if it doesn't exist in Scala. Meaning Option<T> is encoded as T.

This needs to be looked into

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Jolanrensen

        Issue actions

          Encoding for Scala Option and Optional · Issue #150 · Kotlin/kotlin-spark-api