ListUnityCatalogDirectory 2025.10.9.21

Bundle

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

Description

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

Tags

databricks, openflow, unity catalog

Input Requirement

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Databricks ClientDatabricks Client Service.
Include DirectoriesInclude directories in FlowFiles produced.
Recursive Directory ListingRecursively list files in sub directories.
Unity Catalog Directory PathUnity Catalog directory path e.g. /Volumes/catalog/schema/volume_name/directory

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 Unity Catalog file or directory.
pathPath to parent directory containing the Unity Catalog file or directory.
absolute.pathFull path to the Unity Catalog file or directory.
uc.resourceTypeThe type of resource, ‘file’ or ‘directory’ of the Unity Catalog resource.
uc.sizeThe size of the Unity Catalog file.
uc.lastModifiedTimeThe last modified time of the Unity Catalog 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.