Skip to content

[native] All HTTP calls in the sidecar plugin map exceptions to INVALID_ARGUMENTS, conflating user errors with infrastructure failures #26760

@pdabre12

Description

@pdabre12

Currently, all HTTP exceptions in the sidecar plugin are rethrown as INVALID_ARGUMENTS, which mixes user input errors with connectivity or sidecar failures. We should distinguish 4xx (user errors) from connection/5xx (infrastructure) errors when mapping to PrestoException codes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Status

    🆕 Unprioritized

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions