Skip to content

Options

FileDFReaderOptions

Options for FileDFReader.

Added in 0.9.0

Examples:

Note

You can pass any value supported by Spark, even if it is not mentioned in this documentation. Option names should be in camelCase!

The set of supported options depends on Spark version.

from onetl.file import FileDFReader

options = FileDFReader.Options(recursive=True)

Parameters:

  • recursive

    (bool | None, default: None ) –

    If True, perform recursive file lookup.

    Warning

    This disables partition inferring using file paths.

    Warning

    Can be used only in Spark 3+. See SPARK-27990.