Exports data from a shapefile, geodatabase, or database to an Apache Parquet file.
Usage
Supported inputs are a shapefile or a feature class or table from a file geodatabase, mobile geodatabase, enterprise geodatabase, or relational database.
Supported output locations are local directories or shared file directories on the network. Cloud storage locations are not supported.
The source data to export. A point, line, or polygon feature class or a table can be used as input.
Table View; Feature Layer
out_file
The Parquet file to be created. Local directories and shared file directories are supported. The Parquet file name must have a .parquet extension.
Parquet File
Code sample
ExportToParquet example 1 (Python window)
Exports data from a shapefile named parks to a Parquet file on a shared network drive.
# Import system module
import arcpy
# Export data
arcpy.conversion.ExportToParquet("c:\\data\\shapefiles\\parks.shp", "fileshare\\datafiles\\parks.parquet")
ExportToParquet example 2 (Python window)
Exports a feature class named primary from a feature dataset named schools in a file geodatabase named schooldistrict.
# Import system module
import arcpy
# Export data
arcpy.conversion.ExportToParquet("c:\\data\\geodatabases\\schooldistrict.gdb\\schools\\primary", "c:\\data\\parquet\\primaryschools.parquet")
ExportToParquet example 3 (Python window)
Exports a feature class named busstops stored in the dot schema of a database accessed using the database connection file dataviewer.sde to create a file named busstops.parquet.
# Import system modules
import arcpy
# Export data
arcpy.conversion.ExportToParquet("c:\\data\\dbconnections\\dataviewer.sde\\dot.busstops", "c:\\data\\parquet\\busstops.parquet")
Environments
This tool does not use any geoprocessing environments.