microsoft / hyperspace

An open source indexing subsystem that brings index-based query acceleration to Apache Spark™ and big data workloads.
https://aka.ms/hyperspace
Apache License 2.0
424 stars 115 forks source link

Remove throwIfNotExists param in fromDirectory util #453

Closed sezruby closed 3 years ago

sezruby commented 3 years ago

What is the context for this pull request?

What changes were proposed in this pull request?

Remove exception type specific code.

Does this PR introduce any user-facing change?

Yes, fix the bug when lower api throws non-"FileNotFoundException" exception if the path does not exist

How was this patch tested?

Covered by existing tests