These settings are available in system.settings and are autogenerated from the ClickHouse snapshot.
mysql_datatypes_support_level
Defines how MySQL types are converted to corresponding ClickHouse types. A comma separated list in any combination of decimal, datetime64, date2Date32, date2String or geometry. All modern mappings (decimal, datetime64, date2Date32, geometry) are enabled by default.
decimal: convertNUMERICandDECIMALtypes toDecimalwhen precision allows it.datetime64: convertDATETIMEandTIMESTAMPtypes toDateTime64instead ofDateTimewhen precision is not0.date2Date32: convertDATEtoDate32instead ofDate. Takes precedence overdate2String.date2String: convertDATEtoStringinstead ofDate. Overridden bydatetime64.geometry: convert MySQL’s spatial types (LINESTRING,POLYGON,MULTILINESTRING,MULTIPOLYGON,MULTIPOINT) to the corresponding ClickHouse geometric types, and the genericGEOMETRYtype to the umbrellaGeometrytype.POINTis always converted toPointregardless of this option. Because a genericGEOMETRYcolumn can hold any subtype, reading a value whose subtype has no ClickHouse counterpart (GEOMETRYCOLLECTION) throws an exception at read time; columns declared asGEOMETRYCOLLECTIONmap toString. A nullable spatial column other thanPOINTalso maps toNullable(String), sincePointis the only geometric type that can be nested insideNullable. Every such string is a 4-byte SRID prefix followed by the WKB payload, as returned by MySQL. All of the above applies when the schema is inferred from the column types of a MySQL table; when the source is a query (thequery(...)argument of themysqltable function or theMySQLtable engine), MySQL reports every spatial result column as the genericGEOMETRYwithout the concrete subtype, so such columns — includingPOINT— map toString(Nullable(String)if nullable).
mysql_max_rows_to_insert
The maximum number of rows in MySQL batch insertion of the MySQL storage engine