Skip to content

Unload of a query with zero rows throws an error #446

@blowenstein93

Description

@blowenstein93

When unloading a redshift query to s3 redshift behavior has shifted to no longer unload any files where the old behavior was to unload empty files. This causes the spark-redshift library to fail with an s3 file not found error. This commit fixes that and returns an empty dataframe.

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