# Conversion from a local fst file to a single parquet file ::
fst_to_parquet(
path_to_file = system.file("extdata","iris.fst",package = "parquetize"),
path_to_parquet = tempfile(fileext = ".parquet")
)
# Conversion from a local fst file to a partitioned parquet file ::
fst_to_parquet(
path_to_file = system.file("extdata","iris.fst",package = "parquetize"),
path_to_parquet = tempfile(fileext = ".parquet"),
partition = "yes",
partitioning = c("Species")
)
Run the code above in your browser using DataLab