MySQL Write Component
A component that writes data to a MySQL table
Examples
- mysql_write_component_config.yaml
- mysql_write_full_strategy.yaml
component:
write:
connection: my_database_connection
input:
flow: my_flow
name: my_input_component
mysql:
table:
name: my_table
component:
write:
connection: my_database_connection
input:
flow: my_flow
name: my_input_component
mysql:
table:
name: my_table
strategy:
full:
mode: drop_and_recreate
MySQLWriteComponent
info
MySQLWriteComponent
is defined beneath the following ancestor nodes in the YAML structure:
Below are the properties for the MySQLWriteComponent
. Each property links to the specific details section further down in this page.
Property | Default | Type | Required | Description |
---|---|---|---|---|
connection | string | Yes | The name of the connection to use for writing data. | |
input | InputComponent | Yes | Input component name. | |
normalize | boolean | No | A boolean flag indicating if the output column names should be normalized to a standard naming convention when writing. | |
preserve_case | boolean | No | A boolean flag indicating if the case of the column names should be preserved when writing. | |
uppercase | boolean | No | A boolean flag indicating if the column names should be transformed to uppercase when writing. | |
strategy | full: mode: drop_and_recreate | Any of: string ("snapshot") FullWriteStrategy IncrementalWriteStrategyWithSchemaChange PartitionedWriteStrategyWithSchemaChange | No | Resource for write strategy. |
mysql | SingleTable | Yes |
Property Details
Component
A component is a fundamental building block of a data flow. Types of components that are supported include: read, transform, task, test, and more.
Property | Default | Type | Required | Description |
---|---|---|---|---|
component | One of: ReadComponent TransformComponent TaskComponent SingularTestComponent CustomPythonReadComponent WriteComponent |