fn builtin_read_parquet(
args: &[RValue],
named: &[(String, RValue)],
context: &BuiltinContext<'_>,
) -> Result<RValue, RError>Expand description
Read a Parquet file into a data.frame.
Converts Arrow column types to R vectors:
- Int8/Int16/Int32/Int64 -> Integer
- UInt8/UInt16/UInt32 -> Integer
- UInt64/Float32/Float64 -> Double
- Boolean -> Logical
- Utf8/LargeUtf8 -> Character
- null values -> NA
@param file character scalar: path to the Parquet file @param columns character vector: optional column names to read (default: all) @return data.frame with columns from the Parquet file