Custom Python Read Component
Component that reads data using user-defined custom Python code.
CustomPythonReadComponent
info
CustomPythonReadComponent is defined beneath the following ancestor nodes in the YAML structure:
Below are the properties for the CustomPythonReadComponent. Each property links to the specific details section further down in this page.
| Property | Default | Type | Required | Description |
|---|---|---|---|---|
| data_plane | One of: SnowflakeDataPlane BigQueryDataPlane DuckdbDataPlane DatabricksDataPlane | No | Data Plane-specific configuration options for Components. | |
| skip | boolean | No | Boolean flag indicating whether to skip processing for the Component or not. | |
| retry_strategy | No | Retry strategy configuration options for the Component if any exceptions are encountered. | ||
| data_maintenance | No | The data maintenance configuration options for the Component. | ||
| description | string | No | Brief description of what the model does. | |
| metadata | No | Meta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources. | ||
| name | string | Yes | The name of the model | |
| flow_name | string | No | Name of the Flow that the Component belongs to. | |
| tests | No | Defines tests to run on this Component's data. | ||
| custom_python_read | Yes |
Property Details
Component
A Component is a fundamental building block of a data Flow. Supported Component types include: Read, Transform, Task, Test, and more.
| Property | Default | Type | Required | Description |
|---|---|---|---|---|
| component | One of: CustomPythonReadComponent ApplicationComponent AliasedTableComponent ExternalTableComponent DbtNodeComponent | Yes | Component configuration options. |
CustomPythonReadOptions
Configuration options for the Custom Python Read Component.
| Property | Default | Type | Required | Description |
|---|---|---|---|---|
| dependencies | array[None] | No | List of dependencies that must complete before this Component runs. | |
| event_time | string | No | Timestamp column in the Component output used to represent Event time. | |
| strategy | full | Any of: full IncrementalStrategy PartitionedStrategy | No | Ingest strategy. |
| python | Any of: | Yes | Python code to execute for ingesting data. |
PartitionedListRead
| Property | Default | Type | Required | Description |
|---|---|---|---|---|
| list | Yes | Python function that lists partitions in the source. | ||
| read | Yes | Python function that reads a partition from the source. |
PythonBase
Base class for Python-based Components and resources.
| Property | Default | Type | Required | Description |
|---|---|---|---|---|
| entrypoint | string | Yes | Entry point for the Python Transform function. | |
| source | string | Yes | Source file for the Python Transform function. |