Nikolai Kochetov
d96ca3fb8d
Fixing build.
2020-12-16 20:11:32 +03:00
Ivan Lezhankin
8148a3bb8f
[WIP]
2020-12-16 16:32:23 +03:00
Ivan Lezhankin
2fe6195577
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-12-16 14:50:36 +03:00
taiyang-li
cd7827f70c
explain ast support nonselect queries
2020-12-16 18:11:38 +08:00
spongedc
38c0827881
Merge remote-tracking branch 'origin/master' into support_show_create_view
2020-12-16 12:26:56 +08:00
spongedc
a0083e23d6
Fix compile error
2020-12-16 12:07:50 +08:00
spongedc
81b0fa2989
1. rename is_view to is_ordinary_view 2. add more tests
2020-12-16 11:19:38 +08:00
jianmei zhang
a7933ddf31
Merge and rebase with master
2020-12-16 09:38:38 +08:00
Vasily Nemkov
90041babe1
Fixed compilation
2020-12-15 14:35:11 +03:00
jianmei zhang
508b50d121
support SHOW CHANGED SETTINGS query and add test cases, also do code changes to compile SHOW SETTINGS PROFILES.
2020-12-15 14:46:56 +08:00
Alexander Kuzmenkov
a75ca3cb79
Merge remote-tracking branch 'origin/master' into tmp
2020-12-15 03:36:43 +03:00
Anton Popov
c78861e86e
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-15 01:45:01 +03:00
spongedc
8b2feaeca2
Support SHOW CREATE VIEW Syntax
2020-12-14 22:37:25 +08:00
Mikhail Filimonov
ad9cb580a9
Fix
2020-12-14 15:31:11 +01:00
Mikhail Filimonov
3f5e5eb15a
Handle not implemented cases properly
2020-12-14 15:31:05 +01:00
Mikhail Filimonov
f6097cf818
Adding DETACH TABLE PERMANENTLY
2020-12-14 15:28:59 +01:00
Maksim Kita
5f7c867da3
Added parse error if no select after as keyword
2020-12-14 12:33:16 +03:00
Maksim Kita
d8534ae1af
CreateQuery create as select with columns specification
2020-12-14 12:30:08 +03:00
jianmei zhang
f829fbb928
Merge remote-tracking branch 'upstream/master'
2020-12-14 11:21:42 +08:00
jianmei zhang
2169e8f7f4
Fix issue #17160 by adding show settings like '...'
2020-12-14 10:33:51 +08:00
Azat Khuzhin
5b3ab48861
More forward declaration for generic headers
...
The following headers are pretty generic, so use forward declaration as
much as possible:
- Context.h
- Settings.h
- ConnectionTimeouts.h
(Also this shows that some missing some includes -- this has been fixed)
And split ConnectionTimeouts.h into ConnectionTimeoutsContext.h (since
module part cannot be added for it, due to recursive build dependencies
that will be introduced)
Also remove Settings from the RemoteBlockInputStream/RemoteQueryExecutor
and just pass the context, since settings was passed only in speicifc
places, that can allow making a copy of Context (i.e. Copier).
Approx results (How much units will be recompiled after changing file X?):
- ConnectionTimeouts.h
- mainline: 100
- Context.h:
- mainline: ~800
- patched: 415
- Settings.h:
- mainline: 900-1K
- patched: 440 (most of them because of the Context.h)
2020-12-12 17:43:10 +03:00
alexey-milovidov
adbe8e1ebb
Merge pull request #17903 from ClickHouse/attach_table_from_path
...
Implement ATTACH TABLE name FROM 'path/to/data/'
2020-12-12 02:42:53 +03:00
Azat Khuzhin
d5b62ab26d
build: use -Wno-c++2a-compat over -Wno-c++20-compat (since -std=c++2a)
2020-12-11 01:32:38 +03:00
Alexander Kuzmenkov
88e7bc5b60
Merge origin/master into tmp (using imerge)
2020-12-10 22:12:42 +03:00
Alexander Kuzmenkov
eb0c817bf2
expression analyzer part
2020-12-09 14:14:40 +03:00
Alexander Tokmakov
04ceaa66f2
implement ATTACH TABLE name FROM 'path/to/data/
2020-12-08 17:15:23 +03:00
alexey-milovidov
d9b52f94f7
Merge pull request #17637 from amosbird/buildid
...
reload symbols and fix build-id
2020-12-08 14:55:35 +03:00
Alexey Milovidov
1ed329017b
Merge branch 'master' into quota-by-x-forwarded-for
2020-12-07 18:22:19 +03:00
Vasily Nemkov
168155eeec
Minor: cleanup
2020-12-07 18:07:40 +03:00
Vasily Nemkov
957bbfc7b0
Fixed parsing invalid cases: prohibit empty lists and APPLY/REPLACE column transformers
2020-12-07 13:18:54 +03:00
Vasily Nemkov
70ea507dae
OPTIMIZE DEDUPLICATE BY columns
...
Extended OPTIMIZE ... DEDUPLICATE syntax to allow explicit (or implicit with asterisk/column transformers) list of columns to check for duplicates on.
Following syntax variants are now supported:
OPTIMIZE TABLE table DEDUPLICATE; -- the old one
OPTIMIZE TABLE table DEDUPLICATE BY *;
OPTIMIZE TABLE table DEDUPLICATE BY * EXCEPT colX;
OPTIMIZE TABLE table DEDUPLICATE BY * EXCEPT (colX, colY);
OPTIMIZE TABLE table DEDUPLICATE BY col1,col2,col3;
OPTIMIZE TABLE table DEDUPLICATE BY COLUMNS('column-matched-by-regex');
OPTIMIZE TABLE table DEDUPLICATE BY COLUMNS('column-matched-by-regex') EXCEPT colX;
OPTIMIZE TABLE table DEDUPLICATE BY COLUMNS('column-matched-by-regex') EXCEPT (colX, colY);
Note that * behaves just like in SELECT: MATERIALIZED, and ALIAS columns are not used for expansion.
Also, it is an error to specify empty list of columns, or write an expression that results in an empty list of columns, or deduplicate by an ALIAS column.
Column transformers other than EXCEPT are not supported.
2020-12-07 09:44:07 +03:00
Alexey Milovidov
a63d4f0db3
Merge branch 'master' into amosbird-buildid
2020-12-07 02:17:29 +03:00
Anton Popov
7aaa2c052f
Merge branch 'master' into merging-map
2020-12-05 22:41:46 +03:00
Anton Popov
6b09669d66
data type map: several fixes
2020-12-05 22:36:09 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
Alexey Milovidov
2c7b03ab6e
Fix error
2020-12-02 22:20:47 +03:00
Anton Popov
12604ce0e6
Merge branch 'dev_map2' of git://github.com/hexiaoting/ClickHouse into merging-map
2020-12-01 14:52:30 +03:00
Amos Bird
310918b06a
reload symbols and fix build-id
2020-11-30 22:30:55 +08:00
Alexey Milovidov
4a66db1bf4
Fix #10976
2020-11-29 16:43:24 +03:00
Alexey Milovidov
f9b1e77808
ParserAlterQuery: fix strange code
2020-11-29 16:30:16 +03:00
Alexey Milovidov
7c0138542b
Query obfuscator: remove some words
2020-11-28 10:55:15 +03:00
alexey-milovidov
62a45e8ff7
Merge pull request #17414 from azat/fix-INSERT-SETTINGS-parsing
...
Fix parsing of SETTINGS clause of the INSERT ... SELECT ... SETTINGS query
2020-11-28 08:38:42 +03:00
hexiaoting
2523f8f0c6
Merge remote-tracking branch 'origin/master' into dev_replace
2020-11-27 10:51:04 +08:00
hexiaoting
5b3a7f5c98
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 16:43:27 +08:00
hexiaoting
74d875c837
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 15:13:52 +08:00
alexey-milovidov
2d5072844f
Update InsertQuerySettingsPushDownVisitor.h
2020-11-26 03:25:08 +03:00
Azat Khuzhin
3f67e320dd
Fix parsing of SETTINGS clause of the INSERT ... SELECT ... SETTINGS query
...
Before this patch the following query ignores the settings for INSERT:
insert into test_parallel_insert select * from numbers_mt(65535*2) settings max_insert_threads=10
And the reason is that SETTINGS was parsed by the SELECT parser.
Fix this by push down the SETTINGS from the SELECT to INSERT.
Also note that since INSERT parser does not use ParserQueryWithOutput the
following works:
insert into test_parallel_insert select * from numbers_mt(65535*2) format Null settings max_insert_threads=10
2020-11-25 22:53:58 +03:00
Azat Khuzhin
36dc23668d
Fix formatting of SETTINGS clause of the INSERT query
2020-11-25 21:32:10 +03:00
Alexander Kuzmenkov
1d7dcef4a0
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-24 21:45:10 +03:00
tavplubix
085359c110
Merge pull request #17274 from ClickHouse/fix_ast_formatting_in_logs
...
Fix AST formatting in log messages
2020-11-24 19:00:56 +03:00
Alexander Kuzmenkov
412c2fe079
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-23 19:51:18 +03:00
Ivan Lezhankin
1002148886
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-11-22 22:34:36 +03:00
Alexander Tokmakov
60a5782c75
fix AST formatting in log messages
2020-11-22 20:23:12 +03:00
Nikolai Kochetov
bac1def5f9
Merge pull request #17134 from abyss7/tcp-port
...
Implement tcpPort() function for tests
2020-11-20 20:32:55 +03:00
Ivan Lezhankin
fdd1c182ab
Merge remote-tracking branch 'upstream/master' into tcp-port
2020-11-18 16:22:00 +03:00
Alexander Kuzmenkov
b16c5a1748
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-17 22:54:54 +03:00
Alexander Kuzmenkov
2bd6584636
JSONArray fixes
2020-11-17 21:33:54 +03:00
Ivan Lezhankin
1787cd89a7
Implement tcpPort() function literal
2020-11-17 16:24:13 +03:00
Alexey Milovidov
24f4fa6edf
Follow Arcadia ya.make rules
2020-11-17 00:16:50 +03:00
Alexey Milovidov
3df04ce0c2
Follow Arcadia ya.make rules
2020-11-16 21:24:58 +03:00
Ivan Lezhankin
fb473e6f9c
More fixes
2020-11-13 17:34:47 +03:00
Ivan Lezhankin
d69b6307b5
Fix GLOBAL IN evaluation
2020-11-13 17:13:27 +03:00
Ivan Lezhankin
9250d5c4e9
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-11-12 16:25:46 +03:00
feng lv
b7e5c6ed4d
fix conflict
2020-11-12 02:26:21 +00:00
tavplubix
058aa8f85e
Merge pull request #16824 from ClickHouse/replace_stringstreams_with_buffers
...
Replace std::*stringstreams with DB::*Buffers
2020-11-12 01:11:44 +03:00
feng lv
f04bd0643d
fix test
...
fix
fix
2020-11-11 10:42:37 +00:00
feng lv
fec4080d42
Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct
2020-11-11 03:10:10 +00:00
Alexander Tokmakov
b94cc5c4e5
remove more stringstreams
2020-11-10 21:22:26 +03:00
Vladimir Chebotarev
059357d51e
ALTER UPDATE/DELETE ... IN PARTITION
with partition pruning in ReplicatedMergeTree
(#13403 )
...
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-11-10 13:23:46 +03:00
hexiaoting
293ae54fab
Modify codes to make logical clearly
2020-11-10 15:18:12 +08:00
feng lv
9194985d48
Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct
2020-11-10 06:09:39 +00:00
Alexander Kuzmenkov
55c7051330
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-10 08:50:54 +03:00
hexiaoting
694ad1f452
Modify except column transformer's error log
2020-11-10 11:14:41 +08:00
Alexander Tokmakov
5cdfcfb307
remove other stringstreams
2020-11-09 22:12:44 +03:00
Alexander Tokmakov
62ff00ee8b
use WriteBuffer in formatAST(...)
2020-11-09 19:05:40 +03:00
feng lv
b4c933e585
fix
...
fix test
2020-11-09 16:03:52 +00:00
Alexander Kuzmenkov
26229ed231
tmp spans for threads
...
(doesn't compile because of json metadata changes)
2020-11-09 18:07:38 +03:00
hexiaoting
2b240029c1
Add space for format Impl
2020-11-09 17:13:27 +08:00
alesapin
72046313d4
Merge branch 'master' into nvartolomei-drop-part
2020-11-09 10:02:02 +03:00
Alexander Kuzmenkov
2fe9c76728
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-09 09:37:50 +03:00
hexiaoting
5622882553
remove unused code
2020-11-09 14:21:50 +08:00
hexiaoting
ad8eac4929
build error and style error fix
2020-11-09 13:58:32 +08:00
alexey-milovidov
8289fe7b9f
Merge pull request #16768 from ClickHouse/better-diagnostic-on-create-syntax-error
...
Better diagnostics on syntax error in CREATE TABLE query
2020-11-08 14:28:33 +03:00
Alexey Milovidov
7c62dbb6dc
Fix error
2020-11-08 01:23:19 +03:00
Alexey Milovidov
5ea17f9896
Merge branch 'master' into better-diagnostic-on-create-syntax-error
2020-11-08 01:21:07 +03:00
Alexey Milovidov
dba57529f8
Merge branch 'master' of github.com:yandex/ClickHouse into fix-stringstream
2020-11-07 22:03:38 +03:00
feng lv
1ca7dcb0a8
fix conflict
2020-11-07 11:44:29 +00:00
feng lv
125eb02726
nomalize ASTSelectWithUnionQuery
2020-11-07 11:38:20 +00:00
alexey-milovidov
59ea3e7db0
Merge pull request #16586 from kitaisreal/create-query-nested-type-column-formatting-intendation-fix
...
CreateQuery nested type column formatting fix
2020-11-07 13:42:20 +03:00
Alexey Milovidov
fd84d16387
Fix "server failed to start" error
2020-11-07 03:14:53 +03:00
alexey-milovidov
85ecc9ea10
Update ASTColumnDeclaration.cpp
2020-11-06 22:11:57 +03:00
Alexey Milovidov
c01177099e
Better diagnostics on syntax error in CREATE TABLE query #12493
2020-11-06 21:19:57 +03:00
hexiaoting
28e87da976
remove map literal and Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-06 15:07:41 +08:00
hexiaoting
8ffce5e974
Merge remote-tracking branch 'origin/master' into dev_replace
2020-11-06 12:02:45 +08:00
Alexey Milovidov
b56486510f
Improve Arcadia
2020-11-05 12:55:01 +03:00
Alexander Kuzmenkov
faf1f1e0cd
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-05 11:09:11 +03:00
Maksim Kita
b1e75ec6f5
CreateQuery compound column type indendation fix
2020-11-04 23:43:11 +03:00
alexey-milovidov
6d62f2163d
Merge pull request #16589 from amosbird/applyp
...
Allow parameterized functions in APPLY
2020-11-04 12:06:41 +03:00
alesapin
20043e77bb
Merge branch 'master' into nvartolomei-drop-part
2020-11-04 10:22:23 +03:00
Ivan
64bd63ca49
Try to parse DataType arguments as another nested type ( #16262 )
...
* Try to parse DataType arguments as another nested one
* Allow mixed lists of arguments of data types
* Restore croaring back
* Fix tests
2020-11-04 03:08:55 +03:00
alexey-milovidov
225f7e2696
Merge pull request #16594 from amosbird/qpi
...
Query parameter type : Identifier
2020-11-04 01:35:23 +03:00
alesapin
67d22b3e57
Merge branch 'master' into nvartolomei-drop-part
2020-11-02 19:09:09 +03:00
Amos Bird
5e51256897
Fix warning
2020-11-02 23:04:18 +08:00
alexey-milovidov
5633dfb402
Update ExpressionElementParsers.h
2020-11-02 16:15:40 +03:00
Amos Bird
4cfae808fa
Query parameter type : Identifier
2020-11-02 20:58:51 +08:00
feng lv
4d722bc52c
fix conflict
2020-11-02 12:52:12 +00:00
Ivan
281bf351d2
Remove ANALYZE and AST queries ( #16536 )
2020-11-02 15:47:12 +03:00
feng lv
1a34abadbc
fix
...
fix
fix
2020-11-02 10:46:58 +00:00
feng lv
7159affda8
fix
2020-11-02 06:53:09 +00:00
hexiaoting
3a70cf3773
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-02 14:46:56 +08:00
hexiaoting
2ba68d7494
Add map function
2020-11-02 14:05:53 +08:00
feng lv
3dce3c6a21
fix
2020-11-02 05:28:37 +00:00
Amos Bird
13fee19778
Allow parameterized functions in APPLY
2020-11-02 11:10:20 +08:00
feng lv
5f25f9c814
fix
...
fix
2020-11-01 15:31:20 +00:00
feng lv
e82ce52e2f
fix
2020-11-01 14:57:41 +00:00
feng lv
af45cddbc7
fix
2020-11-01 14:43:29 +00:00
feng lv
382fff9009
fix
2020-11-01 13:54:07 +00:00
Ivan Lezhankin
b74a931a89
Fix ASTQualifiedAsterisk first child
2020-10-30 21:28:11 +03:00
Alexander Kuzmenkov
8928920cfd
Merge remote-tracking branch 'origin/master' into HEAD
2020-10-30 00:29:16 +03:00
Alexander Kuzmenkov
18fbb3dc23
some drafts
2020-10-30 00:29:10 +03:00
Maxim Akhmedov
3627fabfb9
Remove -g0 form Arcadia build settings.
2020-10-29 17:37:23 +03:00
Alexander Kuzmenkov
29907e6f81
Merge commit 'refs/pull/16262/head' of github.com:ClickHouse/ClickHouse into HEAD
2020-10-28 12:57:28 +03:00
feng lv
7bfd5d9e8d
need fix
2020-10-28 01:29:09 +00:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell
2020-10-27 12:04:03 +01: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
feng lv
9b95ed9ead
fix
2020-10-26 12:21:04 +00:00
feng lv
a9e4c7144c
fix
2020-10-26 09:33:34 +00:00
hexiaoting
333cf8298f
Merge remote-tracking branch 'origin/master' into dev_replace
2020-10-26 11:27:55 +08: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
feng lv
dcf4b0df1f
fix
2020-10-24 14:03:15 +00:00
feng lv
b2a3ace6d1
fix
2020-10-24 13:41:20 +00:00
feng lv
15e4e03469
add union distinct and setting union_default_mode
2020-10-24 13:18:04 +00:00
tavplubix
587f83b2ef
Merge branch 'master' into atomic-drop-database-sync
2020-10-23 21:54:26 +03:00
Alexander Kuzmenkov
28c9e66dc1
Merge pull request #15978 from ucasFL/interval-op
...
INTERVAL operator support string literal
2020-10-23 14:44:05 +03:00
hexiaoting
0800963135
Update parser for column transformers
2020-10-23 17:15:55 +08:00
hexiaoting
1de6f889fe
Merge remote-tracking branch 'origin/master' into dev_replace
2020-10-23 16:38:25 +08:00
hexiaoting
483be134b2
Support MergeTree Engine
2020-10-23 16:36:17 +08:00
Ivan Lezhankin
3d3b49d009
Try to parse DataType arguments as another nested one
2020-10-22 16:44:48 +03:00
hexiaoting
ad2d2cf10d
Modify varaible name and log info
2020-10-22 12:40:50 +08:00
hexiaoting
91b1dab75b
Add EXCEPTSTRICT and REPLACESTRICT column transformers
2020-10-21 15:54:13 +08:00
Vladimir Chebotarev
aa5f207fd4
Added disable_merges
option for volumes in multi-disk configuration ( #13956 )
...
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-10-20 18:10:24 +03:00
hexiaoting
293d2f06fa
Fix: throw error when column transformer use non-exsit column
2020-10-20 15:38:56 +08:00
Azat Khuzhin
6200783629
database_atomic_wait_for_drop_and_detach_synchronously/NO DELAY/SYNC for DROP DATABASE
2020-10-19 00:21:39 +03:00
hexiaoting
fcd35b0619
Merge branch 'master' into dev_map2
2020-10-18 16:18:13 +08: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
Maksim Kita
9bd30b041a
Parser allow specify primary key in column list
2020-10-15 23:33:00 +03:00
Alexander Kuzmenkov
f7f59ca23f
Merge pull request #15982 from vitlibar/fix-ambiguity-in-parsing-of-settings-profiles
...
Fix ambiguity in parsing of settings profiles.
2020-10-15 16:23:32 +03: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
feng lv
fabe86c6d3
fix
...
fix
2020-10-15 20:16:36 +08:00
feng lv
b931a3c9da
fix
...
update test
fix
2020-10-15 16:14:28 +08:00
tavplubix
04206db7da
Merge pull request #15974 from ClickHouse/merging_14295
...
Merging #14295
2020-10-14 23:51:42 +03:00
Vitaly Baranov
2f13fcb4b7
Fix ambiguity in parsing of settings profiles.
2020-10-14 20:30:24 +03:00
feng lv
7b69592e49
add test
...
fix
fix
2020-10-14 23:15:46 +08:00
feng lv
eb8d8f6ba4
interval op support string literal
2020-10-14 23:02:51 +08:00
Anton Popov
7470ac98bb
Merge pull request #15855 from hexiaoting/dev_fetch
...
Add Support for OFFSET_FETCH_CLAUSE
2020-10-14 15:21:28 +03:00
Alexander Tokmakov
72b1339656
Revert "Revert "Write structure of table functions to metadata""
...
This reverts commit c65d1e5c70
.
2020-10-14 15:19:29 +03:00
tavplubix
c65d1e5c70
Revert "Write structure of table functions to metadata"
2020-10-14 13:59:29 +03:00
hexiaoting
2c72cdef44
Fix error for offset_fetch without only/with ties
2020-10-14 15:05:02 +08:00
hexiaoting
974352a8e1
Fix style check errors.
2020-10-14 14:35:14 +08:00
hexiaoting
cdb4dd57a6
Add new DataType Map(key,value)
2020-10-14 14:35:14 +08:00
alexey-milovidov
f60ccb4edf
Merge pull request #14295 from ClickHouse/write_structure_of_table_functions
...
Write structure of table functions to metadata
2020-10-13 23:56:09 +03:00
hexiaoting
dea965832a
Fix error for previous offset test
2020-10-13 11:32:43 +08:00
Vitaly Baranov
eddd26cf3a
Fix deadlock in InterpreterGrantQuery.
2020-10-13 01:03:47 +03:00
hexiaoting
39367be57a
Add Support for OFFSET_FETCH_CLAUSE
2020-10-12 16:46:49 +08:00
Alexey Milovidov
269b6383f5
Check for #pragma once in headers
2020-10-10 21:37:02 +03:00
alexey-milovidov
f7b390465b
Merge branch 'master' into realfix
2020-10-03 16:54:23 +03:00
Alexander Tokmakov
6b2da861dc
Merge branch 'master' into write_structure_of_table_functions
2020-10-02 20:46:58 +03:00
tavplubix
2f95609f98
Merge pull request #15448 from ClickHouse/allow_synchronous_drop_for_atomic_db
...
Allow synchronous DROP/DETACH TABLE for Atomic
2020-10-01 01:14:31 +03:00
Artem Zuikov
0f6a6453fe
Remove multiple_joins_rewriter v1 ( #15472 )
2020-09-30 23:11:49 +03:00
Alexander Tokmakov
8692c10495
add alias
2020-09-29 17:12:40 +03:00
Amos Bird
8eb8175258
Fix multiple column transformers.
2020-09-28 17:53:39 +08:00
Alexander Tokmakov
b0d99217fb
Merge branch 'master' into write_structure_of_table_functions
2020-09-27 14:26:47 +03:00
alexey-milovidov
bbbe51033d
Merge pull request #15321 from ClickHouse/query-obfuscator
...
Query obfuscator
2020-09-26 19:43:36 +03:00
Alexey Milovidov
da8a938069
Replace unit test to functional test
2020-09-26 09:50:34 +03:00
Alexey Milovidov
57b480e65d
Fix PVS warning
2020-09-26 07:03:55 +03:00
Alexey Milovidov
f3349c8d13
Keywords are case-insensitive
2020-09-26 05:13:20 +03:00
Alexey Milovidov
c51502bce4
Remove words with dashes
2020-09-26 05:06:14 +03:00
Alexey Milovidov
f97d40584d
Fix "Arcadia"
2020-09-26 04:10:26 +03:00
Alexey Milovidov
bda2c2f58f
Remove sensitive words
2020-09-26 03:53:26 +03:00
Alexey Milovidov
fc10803def
Fix comment
2020-09-26 03:50:56 +03:00
Alexey Milovidov
d78fc63deb
Remove duplicate word
2020-09-26 03:50:00 +03:00
Alexey Milovidov
22861b0c3d
Remove some profanity
2020-09-26 03:49:30 +03:00
Alexey Milovidov
673f72cf8c
Remove some profanity
2020-09-26 03:48:09 +03:00
Alexey Milovidov
ed4ff51ed8
Integrate into clickhouse-format; add test and comments
2020-09-26 03:38:59 +03:00
Alexey Milovidov
62c2c2000c
Query obfuscator: development
2020-09-26 03:00:54 +03:00
tavplubix
d4c8ba8410
Update ASTColumnsTransformers.h
2020-09-25 14:58:04 +03:00
Alexander Tokmakov
8f21c73b76
Revert "Update ASTColumnsTransformers.h"
...
This reverts commit b30e860166
.
2020-09-25 14:52:55 +03:00
tavplubix
b30e860166
Update ASTColumnsTransformers.h
2020-09-25 14:51:00 +03:00
Amos Bird
def110f835
Fix ASTWithElement clone.
2020-09-22 19:05:23 +08:00
alesapin
5ffee8808a
Alter remove column properties and TTLs ( #14742 )
2020-09-20 16:27:33 +03:00
alexey-milovidov
2cab30ba8d
Merge pull request #14521 from hexiaoting/dev_like
...
Add new feature: SHOW DATABASES like 'xxx'
2020-09-19 16:34:37 +03:00
alexey-milovidov
acbdc51460
Merge pull request #14771 from amosbird/withsub
...
First attempt of supporting CTE
2020-09-19 16:25:34 +03:00
Alexander Tokmakov
1ca9a92b21
Merge branch 'master' into write_structure_of_table_functions
2020-09-18 21:09:23 +03:00
Alexey Milovidov
0ad44b821e
Fix build
2020-09-18 01:45:12 +03:00
Amos Bird
3e576a29c9
explict column list in columns matcher ( #14775 )
2020-09-16 15:44:05 +03:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Vitaliy Zakaznikov
64d130f8a2
Adding support for [PERIODIC] REFRESH [value_sec]
clause when
...
creating LIVE VIEW tables.
2020-09-14 15:39:33 -04:00
Amos Bird
016f707ea1
column transformers in insert select
2020-09-13 10:21:13 +08:00
Amos Bird
882b2a3348
CTE
2020-09-13 09:39:17 +08:00
Amos Bird
da2bb4e0d3
Fix missing clone in replace column transformer
2020-09-11 15:50:25 +08:00
alexey-milovidov
92b746116a
Merge pull request #14655 from ClickHouse/nested-multiline-comments
...
Support for nested multiline comments
2020-09-10 06:10:31 +03:00
hexiaoting
a173a863a8
fix style error
2020-09-10 11:03:35 +08:00
alexey-milovidov
f60267a383
Merge pull request #14611 from amosbird/bf2
...
Treat query as function argument.
2020-09-09 21:20:33 +03:00
Alexey Milovidov
7304bad56f
Support for nested multiline comments
2020-09-09 20:51:05 +03:00
alexey-milovidov
a6a0d4966c
Merge pull request #14595 from azat/query-format-trailing-whitespace
...
Fix some trailing whitespaces in query format (ExpressionList users)
2020-09-09 19:22:55 +03:00
Alexander Tokmakov
d278d849e4
Merge branch 'master' into write_structure_of_table_functions
2020-09-09 17:12:35 +03:00
Amos Bird
b40998ca00
Treat query as function argument.
2020-09-09 15:41:38 +08:00
hexiaoting
406f384a45
support ILIKE, and separate like,limit function.
2020-09-09 11:24:47 +08:00
Azat Khuzhin
014c7c02bd
Fix some trailing whitespaces in query format
...
The following statements still has the trailing whitespace:
- WITH
- SELECT
- SELECT DISTINCT
- ARRAY JOIN
- GROUP BY
- ORDER BY
- LIMIT BY
2020-09-09 01:36:21 +03:00
alesapin
f0f7f2b5d2
Merge branch 'master' into recompression_in_background
2020-09-08 15:43:37 +03:00
Alexey Milovidov
e3924b8057
Fix "Arcadia"
2020-09-08 01:14:13 +03:00
Nicolae Vartolomei
6060a1ab57
ALTER TABLE ... DROP|DETACH PART for ReplicatedMergeTree
2020-09-07 17:01:45 +01:00
hexiaoting
a3671a15f6
Add new feature: SHOW DATABASES LIKE
2020-09-07 10:54:59 +08:00
Alexander Tokmakov
b840d741d0
Merge branch 'master' into write_structure_of_table_functions
2020-09-04 13:00:07 +03:00
alesapin
aa47d0aabc
Merge branch 'apply_ttl_if_not_calculated' into recompression_in_background
2020-09-03 12:07:03 +03:00
alexey-milovidov
1c2435d4f7
Merge pull request #14233 from amosbird/apply
...
Introduce columns transformers.
2020-09-03 01:37:40 +03:00
Alexander Kuzmenkov
3a7181cfcb
Merge pull request #14397 from zhang2014/fix/ISSUES-14114
...
ISSUES-14114 Implicitly convert primary key to not null in MaterializeMySQL
2020-09-02 23:12:33 +03:00
Alexander Tokmakov
b1d6ac0d14
Merge branch 'master' into write_structure_of_table_functions
2020-09-02 20:04:50 +03:00
alexey-milovidov
8e2fba5be1
Merge pull request #12567 from amosbird/fmi
...
table function view
2020-09-02 17:07:57 +03:00
alexey-milovidov
09850dbdbc
Update ASTColumnsTransformers.cpp
2020-09-02 15:39:34 +03:00
Amos Bird
6bd753d85d
TableFunction view.
2020-09-02 16:02:10 +08:00
Amos Bird
be925f8d9c
Introduce columns transformers.
2020-09-02 15:36:34 +08:00
zhang2014
1f908af189
ISSUES-14114 fix create parse failure when mysql nullable primary key
2020-09-02 13:05:09 +08:00
alexey-milovidov
bfa5a9ef03
Merge pull request #13987 from vitlibar/fix-grant-all-on-table
...
Fix GRANT ALL statement when executed on a non-global level
2020-09-02 05:06:32 +03:00
Alexander Tokmakov
56695727b2
Merge branch 'master' into write_structure_of_table_functions
2020-09-01 20:15:13 +03:00
alesapin
b751319f9e
Merge branch 'master' into recompression_in_background
2020-09-01 10:31:10 +03:00
alesapin
4834bed35b
Add recompression TTL parser
2020-08-31 14:35:53 +03:00
zhang2014
b38c5a844c
ISSUES-14231 better comment
2020-08-31 14:16:19 +08:00
zhang2014
761512413e
ISSUES-14231 allow dollar and numver in identifier
2020-08-31 14:14:02 +08:00
zhang2014
592b6dcdce
Revert "ISSUES-14231 add mysql identifier parser"
...
This reverts commit ab1d665006
.
2020-08-31 13:48:20 +08:00
zhang2014
d24bf8de51
ISSUES-14231 allow dollar sign in identifier
2020-08-31 12:46:41 +08:00
zhang2014
ab1d665006
ISSUES-14231 add mysql identifier parser
2020-08-31 12:33:33 +08:00
Amos Bird
078b14610d
ALTER MODIFY SAMPLE BY
2020-08-27 22:31:30 +08:00
Alexander Tokmakov
969940b4c9
write table tructure for table function remote(...)
2020-08-26 23:55:40 +03:00
alexey-milovidov
14400b5b41
Merge pull request #13940 from hczhcz/patch-0821
...
Fix parser to reject create table as table function with engine
2020-08-24 22:01:40 +03:00
alexey-milovidov
d0b6ba35d1
Merge pull request #8367 from amosbird/scalarfix
...
fix scalar subquery hash conflicts
2020-08-24 01:14:34 +03:00
Vitaly Baranov
2a96151516
Fix GRANT ALL statement when executed on a non-global level.
2020-08-22 01:59:52 +03:00
alexey-milovidov
7b53a0ef33
Revert "Added allow_merges
option for volumes in multi-disk configuration ( #13402 )"
...
This reverts commit 1e2616542a
.
2020-08-21 18:44:29 +03:00
alexey-milovidov
55ac192417
Merge pull request #13928 from ClickHouse/wring-error-for-too-long-query
...
Fix wrong error for long queries.
2020-08-21 13:18:19 +03:00
Vladimir Chebotarev
1e2616542a
Added allow_merges
option for volumes in multi-disk configuration ( #13402 )
2020-08-21 12:04:13 +03:00
hcz
73c5fbcba5
Fix create table as table function with engine
2020-08-21 16:11:49 +08:00
Nikolai Kochetov
99b31480fd
Fix wrong error for long queries.
2020-08-20 21:56:50 +03:00
Amos Bird
333ec2e496
fix scalar subquery hash conflicts
2020-08-20 21:19:10 +08:00
tavplubix
4aff48dc3f
Merge pull request #10851 from zhang2014/feature/materialize_mysql_database
...
ISSUES-4006 support MaterializeMySQL database engine
2020-08-12 15:59:28 +03:00
zhang2014
90b7628496
ISSUES-4006 try fix test failure & add some test
2020-08-10 10:25:08 +08:00
Vitaly Baranov
2e6ba2a05d
Merge pull request #13496 from vitlibar/compound-identifiers-for-custom-settings
...
Support compound identifiers for custom settings.
2020-08-10 01:03:02 +03:00
zhang2014
933f287db4
ISSUES-4006 resolve review comment & support alter renmae command
2020-08-09 20:10:30 +08:00
Vitaly Baranov
61c3735dfc
Support compound identifiers for custom settings.
2020-08-09 02:46:46 +03:00
alexey-milovidov
7de9c2183a
Merge pull request #13517 from vladimir-golovchenko/fix-time-interval-for-create-alter-quota-queries
...
Fixed docs, document blocks and tests: added the missed types of interval (WEEK, MONTH, QUARTER, YEAR) to CREATE/ALTER QUOTA statements
2020-08-09 02:12:13 +03:00
vladimir golovchenko
679c2c0a7a
Fixed documentation blocks: added the missed types of interval (week, month, quarter, year) to CREATE/ALTER QUOTA statements.
2020-08-08 01:19:48 -07:00
Alexey Milovidov
0cbbe153cd
Fix typos, the last 1%
2020-08-08 04:21:04 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
zhang2014
bd21f8e6b9
ISSUES-4006 fix conflicts commit when merge
2020-08-07 12:55:45 +08:00
zhang2014
a3bc18bed2
ISSUES-4006 try resolve review comment
2020-08-06 12:03:27 +08:00
Alexander Kuzmenkov
45b57f2df5
fixes
2020-08-06 00:53:35 +03:00
Alexander Kuzmenkov
3b1bacf390
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-06 00:15:06 +03:00
Alexander Kuzmenkov
0eaab3d095
Merge pull request #13191 from ClickHouse/aku/semicolon-cleanup
...
Cleanup for #12999 . NFC
2020-08-05 14:53:27 +03:00
Alexander Kuzmenkov
d205b20c04
wip
2020-08-05 05:21:33 +03:00
Alexander Kuzmenkov
fcdfa2a125
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-05 02:25:50 +03: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
7ea2eee98a
ISSUES-4006 add some check & add comment
2020-08-04 10:31:27 +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
a8e3e03d8b
ISSUES-4006 add rewrite alter query
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
zhang2014
6562597064
ISSUES-4006 refactor interpreter
2020-08-04 10:31:26 +08:00
zhang2014
54c3db0567
ISSUES-4006 some refactor for query convert
2020-08-04 10:31:26 +08:00
zhang2014
5fb92359d2
ISSUES-4006 some refactor for query convert
2020-08-04 10:31:26 +08:00
zhang2014
3afffaf303
ISSUES-4006 rename sign and version column
2020-08-04 10:31:26 +08:00
zhang2014
0336a4ad58
ISSUES-4006 suport synchronous MySQL incremental data[part 2]
2020-08-04 10:31:23 +08:00
zhang2014
86c6be4cd9
ISSUES-4006 fix create query convert
2020-08-04 10:29:52 +08:00
zhang2014
5d569f56a7
ISSUES-4006 support convert mysql create to clickhouse create
2020-08-04 10:26:23 +08:00
zhang2014
c53a48fe01
ISSUES-4006 support parse MySQL create query
2020-08-04 10:26:23 +08:00
Alexander Kuzmenkov
442693dc53
Do not fuzz ASTDictionaryLayout
...
+ some cosmetic changes
2020-08-03 19:16:20 +03:00
Alexander Kuzmenkov
e7744cc15c
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-03 16:35:42 +03:00
Alexander Tokmakov
5b92f43f12
Merge branch 'master' into database_atomic_improvements
2020-08-03 14:35:40 +03:00
Alexey Milovidov
6f690b7c0d
Normalize ya.make files, fix "Arcadia" build
2020-08-02 16:57:38 +03:00
Vitaly Baranov
90602b869a
Make SettingsChanges a class.
2020-07-31 19:11:27 +03:00
Alexander Kuzmenkov
365f914802
fix potential segfault in cloning ASTDictionary
2020-07-31 18:41:23 +03:00
Alexander Kuzmenkov
efb09d7ff5
Cleanup for #12999 . NFC.
2020-07-31 17:53:41 +03:00
alexey-milovidov
9c9ef0db9b
Merge branch 'master' into database_atomic_improvements
2020-07-31 14:56:49 +03:00
Nikita Mikhaylov
1d6c2ba689
rewrite other test + remove useless includes
2020-07-29 20:37:57 +03:00
Alexander Tokmakov
237accd154
Merge branch 'master' into database_atomic_improvements
2020-07-23 06:33:20 +03:00
Winter Zhang
503b16d4a5
ISSUES-4006 fix truncate table syntax error
2020-07-22 14:00:45 +08:00
zhang2014
f8b6054b74
ISSUES-4006 support truncate table without table keyword
2020-07-22 13:00:02 +08:00
Alexander Tokmakov
9bcaaea3e0
Merge branch 'master' into database_atomic_improvements
2020-07-22 05:24:48 +03:00
alexey-milovidov
51f539d3fb
Merge pull request #12480 from azat/fix-SETTINGS-parse-after-FORMAT
...
[RFC] Fix SETTINGS parse after FORMAT
2020-07-17 14:11:24 +03:00
alexey-milovidov
0f6599c9e5
Merge pull request #12541 from BohuTANG/mysql_explain
...
Fix EXPLAIN format for MySQL client
2020-07-17 14:04:01 +03:00
Alexander Tokmakov
a612080df1
Merge branch 'master' into database_atomic_improvements
2020-07-17 00:43:59 +03:00
Alexander Tokmakov
ebf98ba006
implement reneme dictionary query
2020-07-17 00:41:26 +03:00
Azat Khuzhin
781f1597f2
Fix SETTINGS parsing after FORMAT for SELECT queries
...
There are two possible ways to pass the SETTINGS clause:
- SELECT 1 FORMAT Null SETTINGS max_block_size = 1
- SELECT 1 SETTINGS max_block_size = 1[ FORMAT Null]
And when the SETTINGS goes after FORMAT it is parsed in
ParserQueryWithOutput, and these settings are not applied for the query
from the ASTSelectQuery::initSettings()
So propagate settings from the ParserQueryWithOutput to the
ASTSelectQuery settings.
2020-07-17 00:28:52 +03:00
Vitaly Baranov
000b197ad1
Merge pull request #11234 from traceon/ldap-per-user-authentication
...
Add LDAP authentication support
2020-07-16 13:17:21 +03:00
Artem Zuikov
ff372ec0f0
Standard join type syntax position ( #12520 )
2020-07-16 11:56:45 +03:00
BohuTANG
bae11968de
Fix EXPLAIN format for MySQL/PG client #12432
2020-07-16 16:29:17 +08:00
Denis Glazachev
59cb758cf7
Merge branch 'master' into ldap-per-user-authentication
2020-07-16 02:29:24 +04:00
Alexander Tokmakov
09abe71b60
Merge branch 'master' into database_atomic_improvements
2020-07-15 13:07:08 +03:00
Alexander Tokmakov
31e62e713e
write uuid for ddl dictionaries
2020-07-14 00:21:01 +03:00
Alexander Kuzmenkov
d6e7ab5988
Fuzzing-related fixes
2020-07-13 16:58:48 +03:00
Alexander Tokmakov
445acd0294
Merge branch 'master' into database_atomic_improvements
2020-07-09 16:02:54 +03:00
Denis Glazachev
5a4762bb8a
Merge branch 'master' into ldap-per-user-authentication
2020-07-09 14:50:02 +04:00
Alexander Kuzmenkov
a420b1989a
Merge remote-tracking branch 'origin/master' into HEAD
2020-07-08 13:18:09 +03:00
Denis Glazachev
9effacfbc1
Merge branch 'master' into ldap-per-user-authentication
...
* master: (1102 commits)
Update README.md
Update README.md
Update README.md
Update index.md
[docs] add intrdocution for statements page (#12189 )
Revert "Run perf tests with memory sampling (for allocations >1M)"
Sanitize LINK_LIBRARIES property for the directories (#12160 )
[docs] refactor Domains overview (#12186 )
DOCS-647: toStartOfSecond (#12190 )
[docs] add intrdocution for commercial page (#12187 )
DOCSUP-1348 Russian translation for new functions (#133 ) (#12194 )
changelog fixes
Update index.md (#12191 )
Update zh kafka.md title (#12192 )
Added test for #3767
style fix for #12152
Tests for fixed issues #10846 and #7347
changelog fixes
[docs] introduction for special table engines (#12170 )
[docs] introduction for third-party interfaces (#12175 )
...
# Conflicts:
# src/Access/ya.make
# src/Common/ErrorCodes.cpp
2020-07-08 00:42:09 +04:00
Nikolai Kochetov
fd7fcb28d4
Merge branch 'master' into initial-explain
2020-07-07 22:52:09 +03:00
Alexander Kuzmenkov
ac436c79eb
Merge remote-tracking branch 'origin/master' into HEAD
2020-07-07 15:42:11 +03:00
Alexander Tokmakov
7a5d532c7b
implement rename database for atomic
2020-07-07 15:11:58 +03:00
Alexey Milovidov
71b410eb10
Remove unused potentially dangerous function
2020-07-06 09:05:48 +03:00
myrrc
8c3417fbf7
ILIKE operator ( #12125 )
...
* Integrated CachingAllocator into MarkCache
* fixed build errors
* reset func hotfix
* upd: Fixing build
* updated submodules links
* fix 2
* updating grabber allocator proto
* updating lost work
* updating CMake to use concepts
* some other changes to get it building (integration into MarkCache)
* further integration into caches
* updated Async metrics, fixed some build errors
* and some other errors revealing
* added perfect forwarding to some functions
* fix: forward template
* fix: constexpr modifier
* fix: FakePODAllocator missing member func
* updated PODArray constructor taking alloc params
* fix: PODArray overload with n restored
* fix: FakePODAlloc duplicating alloc() func
* added constexpr variable for alloc_tag_t
* split cache values by allocators, provided updates
* fix: memcpy
* fix: constexpr modifier
* fix: noexcept modifier
* fix: alloc_tag_t for PODArray constructor
* fix: PODArray copy ctor with different alloc
* fix: resize() signature
* updating to lastest working master
* syncing with 273267
* first draft version
* fix: update Searcher to case-insensitive
* added ILIKE test
* fixed style errors, updated test, split like and ilike, added notILike
* replaced inconsistent comments
* fixed show tables ilike
* updated missing test cases
* regenerated ya.make
* Update 01355_ilike.sql
Co-authored-by: myrrc <me-clickhouse@myrrec.space>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-05 18:57:59 +03:00
alexey-milovidov
6677e0a503
Merge pull request #12073 from zhang2014/feature/atfer_column_modify_column
...
ISSUES-4006 support first for ALTER ADD|MODIFY COLUMN
2020-07-03 22:54:05 +03:00
Vitaly Baranov
929d652297
Merge pull request #12083 from vitlibar/improve-revoke-command
...
Improve REVOKE command
2020-07-03 17:17:36 +03:00
Alexander Kuzmenkov
e7e4d29a54
more fuzzing
2020-07-03 15:52:16 +03:00
Alexander Tokmakov
383c583bdd
add uuid to atomic databases
2020-07-02 23:39:31 +03:00
Anton Popov
71059e4dff
Merge pull request #12062 from nvartolomei/nv/set-index-tuple-types
...
Try fix pk in tuple performance
2020-07-02 15:51:03 +03:00
Vitaly Baranov
03b36c262e
Improve REVOKE command: now it requires only grant/admin option for only
...
access which will be revoked.
REVOKE ALL FROM user1 now revokes all granted roles.
2020-07-02 12:54:24 +03:00
Nikolai Kochetov
924f1dfc46
Allow to parse EXPLAIN PLAN.
2020-07-02 11:40:41 +03:00
zhang2014
9ed5c6d925
ISSUES-4006 support first for ALTER ADD|MODIFY COLUMN
2020-07-01 22:58:52 +08:00
Nicolae Vartolomei
f8ceca6942
Remove const specifier to allow auto-move (clangtidy)
2020-07-01 15:04:08 +01:00
Vitaly Baranov
c39eb8f71b
Fix partial revokes (complex cases).
2020-06-30 18:47:02 +03:00
Nikolai Kochetov
8587c2025d
Merge branch 'master' into initial-explain
2020-06-29 23:35:56 +03:00
Alexey Milovidov
1462a66d1e
Fix typos
2020-06-27 22:05:00 +03:00
Nikolai Kochetov
893a75bcf7
Merge branch 'master' into initial-explain
2020-06-27 12:45:40 +03:00
Nikolai Kochetov
5a678d74c2
Add explain pipeline.
2020-06-27 12:31:31 +03:00
Nikolai Kochetov
4ed499c6f0
Fix explain formatting.
2020-06-27 12:30:37 +03:00
Nikolai Kochetov
47d9f4af9c
Header for explain.
2020-06-27 12:30:51 +03:00
Nikolai Kochetov
e1481ccfc2
Add initial explain.
2020-06-27 12:30:38 +03:00
Nikita Mikhaylov
f90dfa3ef4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-ssh-cache
2020-06-26 13:56:21 +03:00
BohuTANG
53997f23e6
Merge remote-tracking branch 'ck/master' into mysql_global_variables
2020-06-25 14:04:10 +08:00
Nikita Mikhaylov
e55577ba65
Merge branch 'nikvas0/ssd_dict' of git://github.com/nikvas0/ClickHouse into merging-ssh-cache
2020-06-24 16:45:18 +03:00
BohuTANG
2aa92a8563
Add SELECT @@Version fake value '5.7.30' #11089
2020-06-24 21:32:33 +08:00
BohuTANG
6f28d7b8b5
Fix @@session.variables AS
2020-06-24 20:09:32 +08:00
BohuTANG
71f1a3120e
Fix JDBC @@session.variables
2020-06-24 18:28:14 +08:00
BohuTANG
4d96a25655
Change MySQL global variables query to globalVariable function
2020-06-24 13:40:18 +08:00
Alexander Tokmakov
7b5de16da9
minor improvements
2020-06-23 22:15:01 +03:00
amudong
7723dc4935
add drop relica database and the whole replica
...
fix removeReplicaByZKPath
fix bug: add zkpath empty judge
fix: rewrite code
delete useless code.
fix:ast fromat
fix bug
add test_drop_replica
add drop_replica doc
add drop databse checkAccess
refactor dropReplica
update tests
add static method StorageReplicatedMergeTree::dropReplicaByZkPath
update doc and delete useless code
fix conflict
fix doc
fix doc
fix StorageReplicatedMergeTree::dropReplica
fix bug
delete useless code
2020-06-23 12:12:30 +08:00
amudong
2e6a3eff8e
fix: can not drop local table and replace ALTER with SYSTEM
...
fix test_drop_replica
fix drop replica '/path/to/zk/' ending in '/' and update doc
2020-06-23 12:12:30 +08:00
sundy-li
0a4af8f0a7
add SYSTEM DROP REPLICA
2020-06-23 12:12:30 +08:00
sundy-li
34df59baf8
Add tests and docs
...
Fix integration-tests
2020-06-23 12:12:30 +08:00
sundy-li
d4aa3cea4b
fix merge state
...
Fix style && build
2020-06-23 12:12:30 +08:00
sundy-li
906a43e4a8
Add drop replica alter support
2020-06-23 12:12:30 +08:00