ListDBFSDirectory 2025.10.9.21

Bundle

com.snowflake.openflow.runtime | runtime-databricks-processors-nar

Description

List file names in a DBFS directory and output a new FlowFile with the filename.

Tags

databricks, dbfs, openflow

Input Requirement

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
DBFS File PathDBFS file path e.g. /directory/file.txt
Databricks ClientDatabricks Client Service.
Include DirectoriesInclude directories in FlowFiles produced.
Recursive Directory ListingRecursively list files in sub directories.

Relationships

NameDescription
failureDatabricks failure relationship
originalThe original FlowFile is routed to this relationship when processing is successful.
successDatabricks success relationship

Writes attributes

NameDescription
filenameBase filename of the DBFS file or directory.
pathPath to parent directory containing the DBFS file or directory.
absolute.pathFull path to the DBFS file or directory.
dbfs.resourceTypeThe type of resource, ‘file’ or ‘directory’ of the DBFS resource.
dbfs.sizeThe size of the DBFS file.
dbfs.lastModifiedTimeThe last modified time of the DBFS file, in milliseconds since epoch in UTC time.
error.codeThe error code for the SQL statement if an error occurred.
error.messageThe error message for the SQL statement if an error occurred.