Create Parquet Cache (Data Management)

Summary

Creates a local persistent cache file containing the data from the specified Parquet or GeoParquet file.

Usage

  • The input file must meet the requirements described in Parquet in ArcGIS.

  • The persistent cache file is created on the machine where this tool is run. See Cached Parquet data for information about the cache.

Parameters

LabelExplanationData Type
Input Parquet File

The Parquet or GeoParquet file (.parquet) for which a persistent cache will be created on the client machine.

File

Derived Output

LabelExplanationData Type
Cache created

Specifies whether the cache file was created.

Boolean

arcpy.management.CreateParquetCache(in_parquet)
NameExplanationData Type
in_parquet

The Parquet or GeoParquet file (.parquet) for which a persistent cache will be created on the client machine.

File

Derived Output

NameExplanationData Type
cache_created

Specifies whether the cache file was created.

Boolean

Code sample

CreateParquetCache example 1 (Python window)

Build cache for a Parquet file named celltowerpings.parquet stored in an S3 bucket.

import arcpy
arcpy.management.CreateParquetCache(r'd:\acsfiles\mybucket.acs\celltowerpings.parquet')
CreateParquetCache example 2 (Python window)

Build cache for a Parquet file named flightdiversions.parquet that is stored on disk on a Linux box.

import arcpy
arcpy.management.CreateParquetCache("//myserver/mymounteddrive/datafiles/flightdiversions.parquet")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics