# Read\_parquet() not defined?

**URL:** <https://discourse.julialang.org/t/read-parquet-not-defined/110380>\
**Category:** Data\
**Tags:** question\
**Created:** [February 18, 2024, 7:46pm UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380 "2024-02-18T19:46:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![austin-putz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/austin-putz/32/2583_2.png) [@austin-putz](https://discourse.julialang.org/u/austin-putz)\
**Post date:** [February 18, 2024, 7:46pm UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/1 "2024-02-18T19:46:32Z")

</div>

Hello, I feel kind of silly here. No idea what I did. I couldn’t seem to load a dataset with Arrow from R (feather). So I jumped to Parquet to test. I used the arrow package in R, have a .parquet file on my hard disk and went to read in with Parquet in Julia.

I’m getting an error that ‘read\_parquet() not defined’, after loading Parquet, so I went to help and don’t see the function… I used the code directly from their webpage  
[JuliaIO/Parquet.jl: Julia implementation of Parquet columnar file format reader (github.com)](https://github.com/JuliaIO/Parquet.jl)

Anyone have any idea on this one? Feel very lost on why Arrow wasn’t working and why Parquet doesn’t even list a core function. I must have made some mistake.

 ![Screenshot 2024-02-18 at 1.40.27 PM](https://global.discourse-cdn.com/julialang/original/3X/f/a/fa1382c922befb96a7c0ba2d5447fd99e98252d6.png)

---

<div class="post-metadata">

**Author:** ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Post date:** [February 18, 2024, 10:48pm UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/2 "2024-02-18T22:48:05Z")

</div>

Can you try `Parquet.read_parquet(...)`?

The function should be exported but maybe it’s not for some reason?

That’s my best stab without seeing the full stack trace. If you post the full stack trace then it would be easier to get to the bottom of it for you!

---

<div class="post-metadata">

**Author:** ![austin-putz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/austin-putz/32/2583_2.png) [@austin-putz](https://discourse.julialang.org/u/austin-putz)\
**Post date:** [February 18, 2024, 11:38pm UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/3 "2024-02-18T23:38:59Z")

</div>

So sorry, very ignorant here trying to learn Julia still. I mostly use R, but need Julia for JWAS so bare with me. I do not see the function at all. I loaded Parquet, but if you can see my screenshot, no read\_parquet() function exists.

 ![Screenshot 2024-02-18 at 5.37.39 PM](https://global.discourse-cdn.com/julialang/original/3X/0/a/0a0b0e0714ce18a5f4e03b6378135fe0447c32d7.png)

Sorry, what is ‘full stack trace’ mean?

---

<div class="post-metadata">

**Author:** ![jar1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jar1](https://discourse.julialang.org/u/jar1)\
**Post date:** [February 18, 2024, 11:45pm UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/4 "2024-02-18T23:45:25Z")

</div>

Please do

```julia
import Pkg
Pkg.status()

```

and paste the result here, enclosed in triple backticks

````julia
```
like this
```

````

so it’s easy to read.

---

<div class="post-metadata">

**Author:** ![austin-putz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/austin-putz/32/2583_2.png) [@austin-putz](https://discourse.julialang.org/u/austin-putz)\
**Post date:** [February 18, 2024, 11:53pm UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/5 "2024-02-18T23:53:45Z")

</div>

Oh I’m sorry, here you are:

```julia
julia> Pkg.status()
Status `~/.julia/environments/v1.10/Project.toml`
  [69666777] Arrow v2.7.1
  [6e4b80f9] BenchmarkTools v1.4.0
  [336ed68f] CSV v0.10.12
  [13f3f980] CairoMakie v0.11.8
  [a93c6f00] DataFrames v1.6.1
  [1313f7d8] DataFramesMeta v0.14.1
  [e9467ef8] GLMakie v0.9.8
  [c9a035f4] JWAS v1.2.1
  [ff71e718] MixedModels v4.22.3
⌅ [626c502c] Parquet v0.4.0
  [46a55296] ParquetFiles v0.2.0
  [b98c9c47] Pipe v1.3.0
  [91a5bcdd] Plots v1.40.1
  [6f49c342] RCall v0.14.1
  [ce6b1742] RDatasets v0.7.7
⌅ [2913bbd2] StatsBase v0.33.21
  [f3b207a7] StatsPlots v0.15.7
  [fd094767] Suppressor v0.2.6
  [337ecbd1] TidierPlots v0.5.4
  [b8865327] UnicodePlots v3.6.3
  [ade2ca70] Dates
  [10745b16] Statistics v1.10.0
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated`

```

So I guess v0.4.0, but not sure why that made read\_parquet() disappear… or I’m just going crazy.

---

<div class="post-metadata">

**Author:** ![jar1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jar1](https://discourse.julialang.org/u/jar1)\
**Post date:** [February 19, 2024, 12:00am UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/6 "2024-02-19T00:00:06Z")

</div>

That version is from several years ago; I’m guessing `read_parquet` is newer than that. The current version is 0.8.4. `Pkg.update()` to update your packages, hopefully there isn’t a conflict that would prevent updating to the newest versions.

---

<div class="post-metadata">

**Author:** ![austin-putz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/austin-putz/32/2583_2.png) [@austin-putz](https://discourse.julialang.org/u/austin-putz)\
**Post date:** [February 19, 2024, 12:14am UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/7 "2024-02-19T00:14:24Z")

</div>

@jar1 thank you, I have no idea what is going on. Must be another package that is holding it back. I see there is a

```julia
status --outdated

```

I need to run here and remove that package. Sorry about this, I had no idea they would have not had a read\_parquet() at any time in development…

---

<div class="post-metadata">

**Author:** ![austin-putz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/austin-putz/32/2583_2.png) [@austin-putz](https://discourse.julialang.org/u/austin-putz)\
**Post date:** [February 19, 2024, 12:19am UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/8 "2024-02-19T00:19:48Z")

</div>

@jar1 I updated and still cannot find… This is so weird. It’s now to 0.8.4

```julia
(@v1.10) pkg> st
Status `~/.julia/environments/v1.10/Project.toml`
  [69666777] Arrow v2.7.1
  [6e4b80f9] BenchmarkTools v1.4.0
  [336ed68f] CSV v0.10.12
  [13f3f980] CairoMakie v0.11.8
  [a93c6f00] DataFrames v1.6.1
  [1313f7d8] DataFramesMeta v0.14.1
  [e9467ef8] GLMakie v0.9.8
  [c9a035f4] JWAS v1.2.1
  [ff71e718] MixedModels v4.22.3
  [626c502c] Parquet v0.8.4
  [b98c9c47] Pipe v1.3.0
  [91a5bcdd] Plots v1.40.1
  [6f49c342] RCall v0.14.1
  [ce6b1742] RDatasets v0.7.7
⌅ [2913bbd2] StatsBase v0.33.21
  [f3b207a7] StatsPlots v0.15.7
  [fd094767] Suppressor v0.2.6
  [337ecbd1] TidierPlots v0.5.4
  [b8865327] UnicodePlots v3.6.3
  [ade2ca70] Dates
  [10745b16] Statistics v1.10.0

```

But still will not find read\_parquet()…See here

 ![Screenshot 2024-02-18 at 6.18.37 PM](https://global.discourse-cdn.com/julialang/original/3X/f/d/fd64a53e5524c4769abdb0e31e4eae26240f201c.png)

any ideas?

---

<div class="post-metadata">

**Author:** ![jar1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jar1](https://discourse.julialang.org/u/jar1)\
**Post date:** [February 19, 2024, 12:20am UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/9 "2024-02-19T00:20:41Z")

</div>

If you’ve loaded the old package (i.e. `using Parquet`) already, you’ll have to restart Julia after installing the new version in order to load the new version.

---

<div class="post-metadata">

**Author:** ![austin-putz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/austin-putz/32/2583_2.png) [@austin-putz](https://discourse.julialang.org/u/austin-putz)\
**Post date:** [February 19, 2024, 1:02am UTC](https://discourse.julialang.org/t/read-parquet-not-defined/110380/10 "2024-02-19T01:02:26Z")

</div>

Yup, that was it. Sorry to bother you. Thanks!
