This commit is contained in:
Yakov Olkhovskiy 2024-12-01 19:16:41 +00:00
parent 90e1ca8cb0
commit a929dc7df5

View File

@ -51,7 +51,7 @@ SELECT name FROM mysql(`mysql1:3306|mysql2:3306|mysql3:3306`, 'mysql_database',
A table object with the same columns as the original MySQL table.
:::note
Some data types of MySQL can be mapped to different ClickHouse types - this is addressed by query-level setting [mysql_datatypes_support_level](/docs/en/operations/settings/settings#mysql_datatypes_support_level).
Some data types of MySQL can be mapped to different ClickHouse types - this is addressed by query-level setting [mysql_datatypes_support_level](/docs/en/operations/settings/settings.md#mysql_datatypes_support_level)
:::
:::note
@ -145,4 +145,7 @@ WHERE id > (SELECT max(id) from mysql_copy);
- [The MySQL table engine](../../engines/table-engines/integrations/mysql.md)
- [Using MySQL as a dictionary source](../../sql-reference/dictionaries/index.md#dictionary-sources#dicts-external_dicts_dict_sources-mysql)
- Relevant settings: [mysql_datatypes_support_level](/docs/en/operations/settings/settings#mysql_datatypes_support_level), [mysql_map_fixed_string_to_text_in_show_columns](/docs/en/operations/settings/settings#mysql_map_fixed_string_to_text_in_show_columns), [mysql_map_string_to_text_in_show_columns](/docs/en/operations/settings/settings#mysql_map_string_to_text_in_show_columns), [mysql_max_rows_to_insert](/docs/en/operations/settings/settings#mysql_max_rows_to_insert)
- [mysql_datatypes_support_level](/docs/en/operations/settings/settings.md#mysql_datatypes_support_level)
- [mysql_map_fixed_string_to_text_in_show_columns](/docs/en/operations/settings/settings.md#mysql_map_fixed_string_to_text_in_show_columns)
- [mysql_map_string_to_text_in_show_columns](/docs/en/operations/settings/settings.md#mysql_map_string_to_text_in_show_columns)
- [mysql_max_rows_to_insert](/docs/en/operations/settings/settings.md#mysql_max_rows_to_insert)