I am very much new to the Julia Programming language.
I am trying to load the parquet file using ParquetFiles.load("part-0001-c000-snappy.parquet")
. When I run, I got the following error:
**Error displaying ParquetFiles.ParquetFile: ArgumentError: reducing over an empty collection is not allowed**
in render at Atom\9h5Up\src\display\display.jl:19
in Copyable at Juno\tLMZd\src\types.jl:40
in Copyable at Juno\tLMZd\src\types.jl:39
in render at Atom\9h5Up\src\display\display.jl:16
in sprint at base\strings\io.jl:101
in #sprint#338 at base\strings\io.jl:105
in at Atom\9h5Up\src\display\display.jl:17
My requirement is to read multiple parquet files from a directory and convert to DataFrame.
I could able to read the parquet file with another package called Parquet but converting to DataFrames is failing.
Parquet.ParFile("part-0001-c000-snappy.parquet") - able to read successfully.
dataFrame = par |> DataFrames.DataFrame --- Leading to the following error:
**ArgumentError: no default `Tables.columns` implementation for type: ParFile**
in top-level scope at MongoDBConnectExample.jl:26
in |> at base\operators.jl:823
in DataFrames.DataFrame at DataFrames\S3ZFo\src\other\tables.jl:31
in #DataFrame#447 at DataFrames\S3ZFo\src\other\tables.jl:40
in columns at Tables\okt7x\src\fallbacks.jl:239
Please suggest where I am missing as the package documentations are recommending as above.