# "No files detected or unable to read file format" on empty dirs in object store

**URL:** <https://community.dremio.com/t/no-files-detected-or-unable-to-read-file-format-on-empty-dirs-in-object-store/5591>\
**Category:** Uncategorized\
**Created:** [May 21, 2020, 1:36am UTC](https://community.dremio.com/t/no-files-detected-or-unable-to-read-file-format-on-empty-dirs-in-object-store/5591 "2020-05-21T01:36:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@noah](https://community.dremio.com/u/noah)\
**Post date:** [May 21, 2020, 1:36am UTC](https://community.dremio.com/t/no-files-detected-or-unable-to-read-file-format-on-empty-dirs-in-object-store/5591/1 "2020-05-21T01:36:05Z")

</div>

I get the error “No files detected or unable to read file format with selected option” when Dremio reaches an empty “directory” within an S3-like object store source. Is there a setting that would allow Dremio to just ignore that directory and continue on?

v4.2.1

---

<div class="post-metadata">

**Author:** ![noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@noah](https://community.dremio.com/u/noah)\
**Post date:** [May 21, 2020, 3:45am UTC](https://community.dremio.com/t/no-files-detected-or-unable-to-read-file-format-on-empty-dirs-in-object-store/5591/2 "2020-05-21T03:45:06Z")

</div>

Some more info:

I added an empty file in the empty leaf directories thinking that it might be enough to get Dremio to continue, but now I get “The top level of your document must either be a single array of maps or a set of white space delimited maps.”

The empty file is a .json file with just this:

[{}]

I also tried with this:

[]

and got the same error.

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [June 10, 2020, 7:10am UTC](https://community.dremio.com/t/no-files-detected-or-unable-to-read-file-format-on-empty-dirs-in-object-store/5591/3 "2020-06-10T07:10:28Z")

</div>

@noah

I am able to promote the same file, see attached

[empty.json.zip](https://community.dremio.com/uploads/short-url/dsdj7TFslyX8ulNx9tptEI7wgCE.zip) (561 Bytes)

---

<div class="post-metadata">

**Author:** ![koolay](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/koolay/32/2407_2.png) [@koolay](https://community.dremio.com/u/koolay)\
**Post date:** [October 26, 2020, 12:37pm UTC](https://community.dremio.com/t/no-files-detected-or-unable-to-read-file-format-on-empty-dirs-in-object-store/5591/4 "2020-10-26T12:37:16Z")

</div>

@balaji.ramaswamy  
Can dremio ignore a fixed folder name over configuration when query?

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [October 26, 2020, 6:38pm UTC](https://community.dremio.com/t/no-files-detected-or-unable-to-read-file-format-on-empty-dirs-in-object-store/5591/5 "2020-10-26T18:38:06Z")

</div>

@koolay If there is a folder under a promoted folder, you can use filter clauses to ignore. Not sure I understand your question completely

---

<div class="post-metadata">

**Author:** ![koolay](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/koolay/32/2407_2.png) [@koolay](https://community.dremio.com/u/koolay)\
**Post date:** [October 26, 2020, 6:46pm UTC](https://community.dremio.com/t/no-files-detected-or-unable-to-read-file-format-on-empty-dirs-in-object-store/5591/6 "2020-10-26T18:46:37Z")

</div>

@balaji.ramaswamy

I want to query the table path of `delta lake`.  
However it does not work because that there is a subfolder within the table path.

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [October 26, 2020, 6:51pm UTC](https://community.dremio.com/t/no-files-detected-or-unable-to-read-file-format-on-empty-dirs-in-object-store/5591/7 "2020-10-26T18:51:20Z")

</div>

@koolay

We are not yet there to support DELTA LAKE format, we will be supporting soon

Thanks  
Bali
