spark-redshift icon indicating copy to clipboard operation
spark-redshift copied to clipboard

Unload of a query with zero rows throws an error

Open blowenstein93 opened this issue 6 years ago • 0 comments

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.

blowenstein93 avatar Oct 25 '19 23:10 blowenstein93