spark-redshift
spark-redshift copied to clipboard
Unload of a query with zero rows throws an error
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.