Loading tutorials
pyarrow to build a pa.table. It explains how a single Parquet file is organized inside. Later chapters build on this to explain why filters and column selection can skip data.2 min readpyarrow.dataset yet.2 min readpyarrow.dataset write and read a table. Both partitioning flavors put column values into directory names. They differ in whether the directory name also carries the column name.2 min readds.write_dataset and ds.dataset. It also assumes you know what an Arrow schema is. Here you learn how to tell PyArrow the name and type of each partition column.2 min readpyarrow.Table, know that Parquet stores data in row groups and column chunks, and understand that a partitioned dataset encodes column values in directory names. It covers how ds.write_dataset turns one table into a directory tree.2 min readds.write_dataset and know that a dataset is a set of files treated as one table. Here you open that dataset and check what PyArrow found before you run any query.2 min readds.dataset, know that Hive partitioning puts column values in directory names, and have used a boolean mask in pandas or a WHERE clause in SQL.2 min readds.write_dataset and ds.dataset, and that you know what a filter expression is. The examples use the sales dataset with year and country partitions.2 min readds.dataset and build filters with ds.field. Here you will learn how column selection reduces I/O and how a scanner gives you control over reading.2 min readds.dataset and build filters with ds.field. It also assumes you know that a Parquet file is split into row groups. Here you will process a dataset that does not fit in memory by reading it one record batch at a time.2 min readds.write_dataset and know that a Parquet file is split into row groups, and each row group into column chunks. Here you will learn which write_dataset options set the size of files and row groups, and how to choose their values.2 min readds.write_dataset and know what a Hive-partitioned directory looks like. Here you will see what happens when the destination already holds files.1 min readds.write_dataset and ds.dataset. It also assumes you know that a filter on a partition column lets PyArrow skip whole directories.2 min readds.write_dataset and ds.dataset, and that you know what filters and scanners do. It covers the errors you are most likely to hit and how to find their cause.2 min read