Skip to content

invalidate_sample()

Invalidates the cached sample for data at the given path.

invalidate_sample(path)

Description

Banyan caches samples of data at locations that are read from or written to. These samples may become invalid and Banyan might not be able to detect that they have become invalid. This function provides a means to manually invalidate the cached sample. See also invalidate_metadata and invalidate_all_locations.

Required Parameters

path (String)

The location path of data that has had its sample invalidated.

Example Usage

invalidate_sample("s3://inventory/availability.parquet")