Skip to content

[Feature] TableWrite skip null fields check, when RowKind is DELETE #4702

@CompassChengHan

Description

@CompassChengHan

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

When deleting a row from PrimaryKey Table, we can set the RowKind type to RowKind.DELETE.

Currently, the TableWriteImpl class will always invoke checkNullability method, ensure all fileds comply with null constraint,

We suggest only verify primary keys null constraint if RowKind is DELETE, then when delete a row, only need provide primary keys.

Solution

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions