ClickHouse/tests
Val Doroshchuk 6cfbaf9f86 MaterializedMySQL: Introduce Character Set Introducers
If some string literals are used in DDL, they might have `Character Set Introducers`
https://dev.mysql.com/doc/refman/8.0/en/charset-introducer.html
f.e. _utf8mb4'1' which is not parsable by current ParserStringLiteral.

Since we use utf8 by default, suggesting to automatically convert the string literals to utf8
before executing the query and avoid any charset introducers there.
Conversion from utf8 to utf8 is not needed and skipped.

Also it might convert double quotes to single quotes if any
which might solve issues with COMMENT and empty string literals "" in DEFAULT expressions.

SELECT _latin1"abc"; -- might be also valid for MySQL
... DEFAULT "",
... COMMENT "abc"

Currently no DEFAULT expressions are supported, not parsable at all,
but using this MR it allows to parse the expressions together with double quotes as string literals.
2023-09-14 08:24:25 +02:00
..
ci Merge pull request #54441 from ClickHouse/vdimir/ci-commit-statis-update 2023-09-12 21:18:13 +02:00
config Remove useless line 2023-09-08 22:36:09 +02:00
fuzz Update README.md 2023-09-07 18:10:27 +02:00
instructions
integration MaterializedMySQL: Introduce Character Set Introducers 2023-09-14 08:24:25 +02:00
jepsen.clickhouse
perf_drafts
performance Revert "Optimize uniq to count" 2023-09-13 09:14:06 +03:00
queries Merge pull request #54601 from nickitat/fix_col_decimal_serialization 2023-09-14 04:54:00 +03:00
sqllogic
.gitignore
.rgignore
analyzer_integration_broken_tests.txt
analyzer_tech_debt.txt
clickhouse-test
CMakeLists.txt
tsan_suppressions.txt
ubsan_suppressions.txt