alexey-milovidov
a4573ab7df
Quote some identifiers when formatting SQL queries. ( #9142 )
...
* Added test
* Different way to fix the issue
* Different way to fix the issue
* Descend instead of syntax error while parsing INTERVAL operators
* Remove old comment
2020-03-05 17:55:53 +03:00
Alexey Milovidov
5b06842723
Remove excessive empty lines
2020-03-03 05:43:59 +03:00
Vitaly Baranov
b7f0129505
Fix parsing list of roles in commands CREATE USER, CREATE ROW POLICY, CREATE QUOTA.
2020-02-28 16:34:19 +03:00
Vitaly Baranov
455fad5919
Add attach mode to access-controlling SQL.
2020-02-28 16:34:18 +03:00
Alexey Milovidov
cb6cd2ffbb
Added missing ErrorCodes, part 2
2020-02-25 21:10:48 +03:00
Alexey Milovidov
766ae8261a
Added some missing ErrorCodes
2020-02-25 21:02:41 +03:00
Alexey Milovidov
3602126a1e
Remove unused ErrorCodes
2020-02-25 17:35:37 +03:00
Amos Bird
e23b15f78e
add USE_DEBUG_HELPERS flag to enable DUMP
2020-02-24 08:44:38 +08:00
CurtizJ
e5fad6d753
Merge remote-tracking branch 'upstream/master' into alter-ttl
2020-02-23 18:40:42 +03:00
Alexey Milovidov
5cf3414b8a
More strict aliasing
2020-02-22 10:17:52 +08:00
Vitaly Baranov
c1e870d493
Merge pull request #9182 from vitlibar/RBAC-5.2
...
RBAC-5.2
2020-02-22 03:55:17 +03:00
Vitaly Baranov
e017bacc48
Implement SQL queries for creating and controlling roles.
2020-02-21 06:03:09 +03:00
Vitaly Baranov
244c9d5325
Add class GenericRoleSet to represent a set of IDs of users and roles.
2020-02-21 00:57:42 +03:00
Vitaly Baranov
9edea08b6d
Improve parsers of access managing SQL.
2020-02-21 00:57:42 +03:00
CurtizJ
49c80c88ef
Merge remote-tracking branch 'upstream/master' into alter-ttl
2020-02-18 10:58:07 +03:00
Alexander Tokmakov
6889951396
better syntax for temporary LIVE VIEW
2020-02-14 21:20:20 +03:00
sundy
250475557d
Show Queries more like MySQL
2020-02-11 19:36:12 +08:00
Vitaly Baranov
421120b997
Implement SQL queries to manipulate users and grants.
2020-02-06 18:12:53 +03:00
Vitaly Baranov
328d3a8b08
Add token type '@'.
2020-02-06 18:12:53 +03:00
alexey-milovidov
c1535e10d4
Merge pull request #8813 from CurtizJ/merging-in-arrays
...
Merging #5342 (IN with function result).
2020-02-02 04:33:54 +03:00
alexey-milovidov
46583b2c60
Merge pull request #8835 from ClickHouse/alter-partition-dont-allow-strange-expressions
...
Don't allow strange expressions in ALTER ... PARTITION query
2020-02-02 03:36:59 +03:00
Alexey Milovidov
1b24968b48
Fixed ridiculous bug #8727
2020-01-31 21:42:08 +03:00
Nicolae Vartolomei
fd42d1ee87
ALTER <materialized view name> MODIFY QUERY <select_query>
...
Trying to resurrect https://github.com/ClickHouse/ClickHouse/pull/7533 .
I'd like to get this PR in if we have an agreement on syntax and general
direction, after that I'll rebase actual alter functionality from above mentioned PR.
2020-01-30 14:12:49 +00:00
Alexey Milovidov
940804ee6d
Don't allow strange expressions in ALTER ... PARTITION query
2020-01-26 03:22:34 +03:00
CurtizJ
14f0b9e137
add query 'ALTER ... MATERIALIZE TTL'
2020-01-24 13:53:14 +03:00
CurtizJ
5162ece940
Merge branch 'function_result_with_operator_in' of https://github.com/Enmk/ClickHouse into merging-in-arrays
2020-01-23 16:24:43 +03:00
kreuzerkrieg
a256741cf9
Add GCC warning to suggest virtual function override
2020-01-21 13:10:32 +02:00
Alexander Tokmakov
5e2badd9b8
Merge branch 'master' into table_name_in_istorage
2020-01-15 14:55:20 +03:00
alexey-milovidov
b6f41e4465
Merge pull request #8647 from qMBQx8GH/fix_max_depth
...
Initial commit to fix IParser::Pos.max_depth issue
2020-01-15 01:00:17 +03:00
Maxim Smirnov
ee463403d5
Initial commit to fix IParser::Pos.max_depth issue
2020-01-14 13:11:01 +02:00
Guillaume Tassery
8b2938a8fb
Merge branch 'master' into move_partition
2020-01-07 13:25:35 +07:00
Alexander Tokmakov
250f170a69
Merge branch 'master' into table_name_in_istorage
2019-12-30 14:08:09 +03:00
Alexander Tokmakov
94931f059d
minor improvements
2019-12-27 22:30:22 +03:00
Alexey Milovidov
cb3a5b26f7
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete
2019-12-27 21:12:30 +03:00
Alexander Tokmakov
a2a155dcbd
Merge branch 'master' into table_name_in_istorage
2019-12-27 15:47:29 +03:00
Alexander Tokmakov
8987b027ba
fixes
2019-12-27 15:18:49 +03:00
Vitaly Baranov
b75771be61
Merge pull request #7808 from vitlibar/RBAC-3
...
RBAC-3
2019-12-27 09:44:24 +07:00
alexey-milovidov
89eeaa50e9
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete
2019-12-26 22:16:50 +03:00
alexey-milovidov
6b997a0c61
Merge pull request #8288 from PerformanceVision/reload_dictionary
...
Implement ON CLUSTER syntax when we want to reload a dictionary
2019-12-26 22:05:41 +03:00
Alexander Tokmakov
ef129b4b7c
use StorageID in views
2019-12-26 20:59:47 +03:00
Alexander Tokmakov
2e5d61cd81
better constructors of storages
2019-12-26 20:04:08 +03:00
tavplubix
7c1a6c726d
Merge pull request #8359 from ClickHouse/more_readable_interpreter_create
...
Refactor table creation
2019-12-24 18:07:43 +03:00
Guillaume Tassery
483d6287eb
cosmetic
2019-12-23 07:22:51 +01:00
Guillaume Tassery
15fb9ad6de
Merge branch 'master' into reload_dictionary
2019-12-23 10:46:02 +07:00
alexey-milovidov
0d119a40eb
Merge pull request #8240 from vitlibar/sync-system-reload-dictionary
...
Synchronous system reload dictionary
2019-12-20 20:00:03 +03:00
Alexander Tokmakov
10ad22faea
refactor InterpreterCreateQuery::createTable(...)
2019-12-20 15:51:51 +03:00
Vitaly Baranov
c3161b7610
Add DCL to manage row policies.
2019-12-19 18:40:21 +03:00
Guillaume Tassery
abbbf3e726
cosmetic
2019-12-19 10:29:13 +01:00
Guillaume Tassery
d5d8fd7004
refactor target_table to table for better hemogny
2019-12-19 10:27:12 +01:00
Guillaume Tassery
9e808e4a0d
Let the command SYSTEM RELOAD DICTIONARY to use ON CLUSTER syntax
2019-12-19 08:54:43 +01:00