Scilab Website | Contribute with GitLab | Scilab Community | ATOMS toolboxes
Scilab Online Help
2026.1.0 - English


parquetRead

Read an Parquet or Arrow file and return a table.

Syntax

result = parquetRead(filename)

Arguments

filename

A string specifying the path to the file to read.

Description

Read a .parquet or .arrow file and return a table containing the data.

Each column of the table correspond to a column of the file.

The name of the column are the same as in the file.

Examples

rand("seed", 0)
x = ["a"; "b"; "b"; "c"; "a"];
x1 = floor(rand(5,1)*5)-1.5;
x2 = -floor(rand(5,1)*5)+0.5;
t = table(x, x1, x2, "VariableNames", ["x", "x1", "x2"]);
parquetWrite(fullfile(TMPDIR, "table.parquet"), t);
t2 = parquetRead(fullfile(TMPDIR, "table.parquet"))
// t2 = [5x3 table]
//
//    x     x1     x2 
//   ___   ____   ____
//                    
//   a     -0.5   -2.5
//   b     1.5    -3.5
//   b     -1.5   -2.5
//   c     -0.5   -3.5
//   a     1.5    0.5

Caution

This function converts data:

  • float32 are converted to doubles
  • date32/64 and ts are converted to datetime
  • null booleans are converted to false booleans

See also

History

VersionDescription
2026.1.0 Function added.
Report an issue
<< csvWrite Spreadsheet parquetWrite >>

Copyright (c) 2022-2026 (Dassault Systèmes S.E.)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue May 19 13:56:17 CEST 2026