Skip to content

Postgres table-provider write fails due to a bug with auto-generated columns #538

@abbccdda

Description

@abbccdda

When using ctx.sql() for INSERT, the returned batch has null for the auto-generated id column, but the schema marks it as non-nullable, causing: "Invalid batch column at '0' has null but schema specifies non-nullable"

Repro steps here #537

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