Skip to content

Parameters annotated with @Nullable fail with null in Builders #2479

@fhnaumann

Description

@fhnaumann

Describe the bug
The builder methods in DataSinkBuilder and DataSourceBuilder have many methods annotated with @Nullable but they are checked to be non-null.

To Reproduce

new DataSourceBuilder(pathlingContext).parquet(null) // error, but annotated with nullable

Expected behavior
Many (if not all?) @Nullable annotations should be replaced with @Nonnull.

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

    Issue actions