PipelineUpdateContextImpl¶
PipelineUpdateContextImpl is a PipelineUpdateContext.
Creating Instance¶
PipelineUpdateContextImpl takes the following to be created:
- DataflowGraph
-
PipelineEventCallback (PipelineEvent => Unit) -
TableFilterof the tables to be refreshed (default:AllTables) -
TableFilterof the tables to be refreshed (default:NoTables) - Storage root
While being created, PipelineUpdateContextImpl validates the storage root.
PipelineUpdateContextImpl is created when:
PipelinesHandleris requested to run a pipeline
Validate Storage Root¶
validateStorageRoot(
storageRoot: String): Unit
validateStorageRoot asserts that the given storageRoot meets the following requirements:
- It is an absolute path
- The schema is defined
Otherwise, validateStorageRoot reports a SparkException:
Pipeline storage root must be an absolute path with a URI scheme (e.g., file://, s3a://, hdfs://).
Got: `[storage_root]`.