Nikita Mikhaylov
15896ecaf6
Add table system.keywords
[Part 1] ( #51808 )
2024-03-18 16:58:57 +01:00
Alexey Milovidov
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
Robert Schulze
4ee1aa8c7c
Fixing more headers
2024-02-29 15:40:30 +00:00
Alexey Milovidov
d112492c56
Remove some code
2024-01-13 03:48:04 +01:00
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
Val Doroshchuk
d16d444943
MaterializedMySQL: Add support of double quoted comments
2023-07-20 13:59:01 +02:00
Sema Checherinda
047f656980
add explicit finalize calls
2023-06-26 15:04:50 +02:00
Val Doroshchuk
c37b80593c
MaterializedMySQL: Add support of TRUNCATE db.table
( #50624 )
...
Additional to `TRUNCATE TABLE db.table`.
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-06-08 14:22:55 +03:00
Alexey Milovidov
4cfc040829
Fix parameterized queries
2023-03-11 20:16:06 +01:00
Alexey Milovidov
d8cda3dbb8
Remove PVS-Studio
2023-02-19 23:30:05 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
zzsmdfj
9de4167d9c
to MaterializeMySQL_support_drop_mulit_table-change ParserIdentifier
2022-11-24 12:19:22 +08:00
zzsmdfj
11b9cd761f
to MaterializeMySQL_support_drop_mulit_table-clean up unnecessary code
2022-11-24 12:08:40 +08:00
zzsmdfj
47385d259c
to MaterializeMySQL_support_drop_mulit_table-fix code-style
2022-11-18 23:03:24 +08:00
zzsmdfj
6a998917b0
to MaterializeMySQL_support_drop_mulit_table
2022-11-18 21:29:13 +08:00
zzsmdfj
91f1df6fc7
to MaterializeMySQL_support_drop_mulit_table
2022-11-18 17:50:44 +08:00
zzsmdfj
eeb9c57c59
to fix issue 42856 and MaterializedMySQL improvement
2022-11-03 20:21:02 +08:00
Nikolai Kochetov
91043351aa
Fixing build.
2022-07-20 20:30:16 +00:00
Robert Schulze
b24ca8de52
Fix various clang-tidy warnings
...
When I tried to add cool new clang-tidy 14 warnings, I noticed that the
current clang-tidy settings already produce a ton of warnings. This
commit addresses many of these. Almost all of them were non-critical,
i.e. C vs. C++ style casts.
2022-04-20 10:29:05 +02:00
Raúl Marín
7781fc12ed
Reduce dependencies on ASTSelectWithUnionQuery.h
...
521 -> 77 files requiring changes
2021-11-26 19:27:16 +01:00
Raúl Marín
051dddd8df
Reduce dependencies on ASTIdentifier.h
...
Goes from rebuilding 483 objects to 165 when it's modified
2021-11-26 16:49:40 +01:00
Ivan
14e43cfafa
Add CI check for darwin-aarch64 ( #25560 )
...
* Add support for darwin-aarch64
* Fix PVS warnings
* Add build configuration
* Fix packager args
2021-06-25 18:21:56 +03:00
Ivan Lezhankin
7aa08a04b5
Fix unit-tests again
2021-06-07 16:52:47 +03:00
Ivan Lezhankin
977fbbf1e4
Fix unit tests
2021-06-02 20:17:26 +03:00
Ivan Lezhankin
9250d5c4e9
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-11-12 16:25:46 +03:00
Alexander Tokmakov
5cdfcfb307
remove other stringstreams
2020-11-09 22:12:44 +03:00
Ivan
15e3254a85
Merge branch 'master' into ast-table-identifier-2
2020-10-26 18:54:18 +03:00
Ivan Lezhankin
4083406f54
Introduce ASTTableIdentifier
2020-10-26 18:49:00 +03:00
tavplubix
37de8727ea
Merge branch 'master' into fix/ISSUES-15883
2020-10-25 12:14:16 +03:00
Ivan
1d170f5745
ASTTableIdentifier Part #1 : improve internal representation of ASTIdentifier name ( #16149 )
...
* Use only |name_parts| as primary name source
* Restore legacy logic for table restoration
* Fix build
* Fix tests
* Add pytest server config
* Fix tests
* Fixes due to review
2020-10-24 21:46:10 +03:00
zhang2014
5207be9b32
ISSUES-15883 try fix test failure
2020-10-17 12:36:08 +08:00
zhang2014
4e285168df
ISSUES-15883 try fix test failure
2020-10-16 09:11:05 +08:00
zhang2014
c8aa007a45
ISSUES-15883 modify comment
2020-10-15 20:42:10 +08:00
zhang2014
80f3de1359
ISSUES-15883 try fix collate name
2020-10-15 20:39:04 +08:00
zhang2014
1f908af189
ISSUES-14114 fix create parse failure when mysql nullable primary key
2020-09-02 13:05:09 +08:00
zhang2014
90b7628496
ISSUES-4006 try fix test failure & add some test
2020-08-10 10:25:08 +08:00
zhang2014
933f287db4
ISSUES-4006 resolve review comment & support alter renmae command
2020-08-09 20:10:30 +08:00
zhang2014
a3bc18bed2
ISSUES-4006 try resolve review comment
2020-08-06 12:03:27 +08:00
zhang2014
0e3108cdf0
ISSUES-4006 fix parser use uuid
2020-08-04 12:26:16 +08:00
zhang2014
34f7fac76c
ISSUES-4006 try fix test failure
2020-08-04 12:22:12 +08:00
zhang2014
c173bd391f
ISSUES-4006 try fix build & test failure
2020-08-04 10:31:27 +08:00
zhang2014
b76f218d90
ISSUES-4006 add mysql dml test
2020-08-04 10:31:27 +08:00
zhang2014
9996166860
ISSUES-4006 try fix check style
2020-08-04 10:31:27 +08:00
zhang2014
95b8afb8eb
ISSUES-4006 try fix unit test failure
2020-08-04 10:31:26 +08:00
zhang2014
094ce895da
ISSUES-4006 fix test failure
2020-08-04 10:31:26 +08:00
zhang2014
3ec80e92ed
ISSUES-4006 add check test case
2020-08-04 10:31:26 +08:00
zhang2014
04c2ab5ab9
ISSUE-4006 add alter query parser
2020-08-04 10:31:26 +08:00
zhang2014
3dda4d7dfb
ISSUES-4006 add alter command parser
2020-08-04 10:31:26 +08:00
zhang2014
e3f2919f59
ISSUES-4006 add alter query
2020-08-04 10:31:26 +08:00
zhang2014
035760df9d
ISSUES-4006 refactor for external ddl
2020-08-04 10:31:26 +08:00