Skip to content

Substrait physical plan producer emits invalid URIs for LocalFiles #20550

@benbellick

Description

@benbellick

The Substrait physical plan producer emits bare paths instead of valid URIs for LocalFiles items.

path_type: Some(PathType::UriPath(
file.object_meta.location.as_ref().to_string(),
)),

This produces paths like path/to/file.parquet instead of proper URIs like file:///path/to/file.parquet.

These bare paths fail Url::parse() with "relative URL without a base" since they're not valid URIs per RFC 3986.

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