Re: Option for silent failure while reading a list of files.

2019-07-01 Thread Naresh Peshwe
Thanks for your reply. It makes sense as to why the option is not provided. (Since the user is the one who is imperatively asking spark to read the files.) Yes, I provide the list of files. I'll try the ignoreCorruptFiles option. Also, I'll look into how I can avoid missing files or at least check

Re: Option for silent failure while reading a list of files.

2019-07-01 Thread Steve Loughran
Where is this list of files coming from? If you made the list, then yes, the expectation is generally "supply a list of files which are present" on the basis that general convention is "missing files are considered bad" Though you could try setting spark.sql.files.ignoreCorruptFiles=true to see w

Option for silent failure while reading a list of files.

2019-06-30 Thread Naresh Peshwe
Hi All, When I try to read a list parquet files from S3, my application errors out if even one of the files are absent. When I searched for solutions most of them suggested filtering the list of files (on presence) before calling read. Shouldn't this be handled by Spark by providing an option for c