{{/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */}} {{ $ref := ref . "maintenance/configurations.md" }}

Configuration | Description
--- | ---
##### --warehouse | The path to Paimon warehouse.
##### --database | The database name in Paimon catalog.
##### --table | The Paimon table name.
##### --partition_keys | The partition keys for Paimon table. If there are multiple partition keys, connect them with comma, for example "dt,hh,mm".
##### --primary_keys | The primary keys for Paimon table. If there are multiple primary keys, connect them with comma, for example "buyer_id,seller_id".
##### --type_mapping | It is used to specify how to map MySQL data type to Paimon type. Supported options: "tinyint1-not-bool": maps MySQL TINYINT(1) to TINYINT instead of BOOLEAN. "to-nullable": ignores all NOT NULL constraints (except for primary keys). This is used to solve the problem that Flink cannot accept the MySQL 'ALTER TABLE ADD COLUMN type NOT NULL DEFAULT x' operation. "to-string": maps all MySQL types to STRING. "char-to-string": maps MySQL CHAR(length)/VARCHAR(length) types to STRING. "longtext-to-bytes": maps MySQL LONGTEXT types to BYTES. "bigint-unsigned-to-bigint": maps MySQL BIGINT UNSIGNED, BIGINT UNSIGNED ZEROFILL, SERIAL to BIGINT. You should ensure overflow won't occur when using this option.
##### --computed_column | The definitions of computed columns. The argument field is from MySQL table field name. See here for a complete list of configurations.
##### --metadata_column | --metadata_column is used to specify which metadata columns to include in the output schema of the connector. Metadata columns provide additional information related to the source data, for example: --metadata_column table_name,database_name,op_ts. See its document for a complete list of available metadata.
##### --mysql_conf | The configuration for Flink CDC MySQL sources. Each configuration should be specified in the format "key=value". hostname, username, password, database-name and table-name are required configurations, others are optional. See its document for a complete list of configurations.
##### --catalog_conf | The configuration for Paimon catalog. Each configuration should be specified in the format "key=value". See here for a complete list of catalog configurations.
##### --table_conf | The configuration for Paimon table sink. Each configuration should be specified in the format "key=value". See here for a complete list of table configurations.