# How to read Parquet files using Parquet2 in a multi-folder structure?

**URL:** <https://discourse.julialang.org/t/how-to-read-parquet-files-using-parquet2-in-a-multi-folder-structure/96957>\
**Category:** Performance\
**Created:** [April 1, 2023, 9:25pm UTC](https://discourse.julialang.org/t/how-to-read-parquet-files-using-parquet2-in-a-multi-folder-structure/96957 "2023-04-01T21:25:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [April 1, 2023, 9:25pm UTC](https://discourse.julialang.org/t/how-to-read-parquet-files-using-parquet2-in-a-multi-folder-structure/96957/1 "2023-04-01T21:25:06Z")

</div>

Hello!

Suppose I have a folder structure given as:

TopFolder

- A
- B
- C

Where parquet files are stored inside of A,B and C.

I know that if I do:

```julia
Parquet2.Dataset("TopFolder")

```

Then it will have access to all the parquet files in A,B,C. I know that if I do:

```julia
Parquet2.Dataset("TopFolder/A")

```

Then it will only read the parquet files in A.

Suppose I only want to read parquet files from the folders; A and C.

How to do that?

Kind regards

---

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [April 3, 2023, 5:53pm UTC](https://discourse.julialang.org/t/how-to-read-parquet-files-using-parquet2-in-a-multi-folder-structure/96957/2 "2023-04-03T17:53:19Z")

</div>

No-one happens to know?

Kind regards
