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
Nikolai Kochetov
8b2232dc5e
Parser for Explain
2020-06-22 16:26:55 +03:00
Alexander Tokmakov
18ec373369
support (un)signed modifiers for integer types
2020-06-22 14:45:45 +03:00
Denis Glazachev
6c1b2a4831
Merge branch 'master' into ldap-per-user-authentication
...
* master: (114 commits)
Update alter.md (#11823 )
Update PODArray.h
Added a test for #6549
Update create.md
Update create.md
replacingmergetree translate into "替换合并树“ better (#11814 )
Whitespace
Fix style
Added a test
Fix another 10% of bad code #11529
Update join.md (#11798 )
Update memory.md (#11800 )
Whitespace
Check for tests with "fail" in their names
Fix 10% of bad code #11756
Update PODArray.h
avoid duplicate short system name
adapt recent result as well
[website] tune benchmark pages styling + add extra checks
Added MSan suppression for Hyperscan
...
# Conflicts:
# src/Common/ErrorCodes.cpp
2020-06-20 22:01:12 +04:00
Alexey Milovidov
e6a969e2e6
Added support for MySQL style global variables syntax
2020-06-20 19:05:49 +03:00
Denis Glazachev
5db60202b6
Merge branch 'master' into ldap-per-user-authentication
2020-06-19 00:11:08 +04:00
Alexander Tokmakov
e42c07954d
fix
2020-06-18 19:01:49 +03:00
Alexander Tokmakov
5a6b70f5c1
Merge branch 'master' into multiword_data_type
2020-06-18 17:10:19 +03:00
Alexander Tokmakov
acd0d3c528
separate parser for data type
2020-06-18 17:09:24 +03:00
Vitaly Baranov
7011401cd4
Merge pull request #11670 from vitlibar/rbac-improve-parser-multiple-entities
...
RBAC: improve syntax
2020-06-17 16:26:02 +03:00
Vitaly Baranov
c5229301fc
Merge pull request #11671 from vitlibar/fix-minor-bugs-in-rbac
...
Fix minor bugs in RBAC
2020-06-16 12:09:54 +03:00
Vitaly Baranov
a40885fa84
Add new command SHOW ACCESS.
2020-06-15 22:07:47 +03:00
Vitaly Baranov
9fe47df2e8
Support multiple users/roles in SHOW CREATE USER(ROLE, etc.) and SHOW GRANTS FOR commands.
...
Support syntax "SHOW CREATE USER ALL" and "SHOW GRANTS FOR ALL".
2020-06-15 22:07:47 +03:00
Vitaly Baranov
6146766465
Use function ParserList::parseUtil() to parse lists more accurately.
2020-06-15 22:07:47 +03:00
Vitaly Baranov
15132d47c9
Slightly improve syntax of CREATE POLICY.
...
Also rename column source=>storage in table system.row_policies.
2020-06-15 22:07:42 +03:00
Vitaly Baranov
4bd00b02e2
Improve syntax of CREATE QUOTA. Now resource types and key types could be written with underscores.
...
Also rename columns key_type=>keys and source=>storage in table system.quotas.
2020-06-15 20:10:34 +03:00
Vitaly Baranov
92b9f4a88d
Rename ExtendedRoleSet => RolesOrUsersSet.
2020-06-15 20:10:34 +03:00
Vitaly Baranov
9f31184d76
Support for multiple names in one CREATE/ALTER command.
2020-06-15 20:10:28 +03:00
Alexey Milovidov
a5e9d793b0
Merge branch 'master' into avoid-trailing-whitespaces-in-some-cases
2020-06-15 19:48:07 +03:00
Vitaly Baranov
c7140724a8
Fix that ALTER USER RENAME could change allowed hosts.
2020-06-15 16:34:16 +03:00
tavplubix
20b8e1e9ec
Merge pull request #11057 from Potya/null_data_mods
...
Null data mods
2020-06-15 13:04:51 +03:00
Alexey Milovidov
94d55abfd1
Update tests
2020-06-15 07:40:03 +03:00
Alexey Milovidov
e2607f005c
Fix error with ALTER CONSTRAINT formatting; added a test
2020-06-15 07:36:20 +03:00
Alexey Milovidov
e9eb722d4a
Better formatting of CREATE queries
2020-06-15 07:27:33 +03:00
Alexey Milovidov
1c5c2f8c69
Fix formatting of CREATE DICTIONARY
2020-06-15 07:08:20 +03:00
Alexey Milovidov
fdc8f7ad14
Merge branch 'master' into avoid-trailing-whitespaces-in-some-cases
2020-06-15 06:52:14 +03:00
Vitaly Baranov
ceaaf67d3f
Fix parsing CREATE SETTINGS PROFILE with WRITABLE keyword.
2020-06-15 01:44:25 +03:00
Alexander Tokmakov
045f804879
Merge branch 'master' into multiword_data_type
2020-06-15 00:35:17 +03:00
Alexey Milovidov
3663e2a47e
Fix syntax hilite in CREATE USER query
2020-06-14 22:11:32 +03:00
Alexander Tokmakov
6a439a5eb5
fixes
2020-06-14 19:39:06 +03:00
Alexander Tokmakov
5f9739fbf9
Merge branch 'master' into fork-potya/null_data_mods
2020-06-14 18:11:55 +03:00
tavplubix
1777bd0273
Merge pull request #11467 from hexiaoting/showcreate
...
Add "SHOW CLUSTER(s)" queries support
2020-06-11 12:01:28 +03:00
Denis Glazachev
9e3a28a6b8
Merge branch 'master' into ldap-per-user-authentication
...
* master: (414 commits)
Update file.md
Update merge.md
Update dictionary.md
Update external-data.md
Update distributed.md
Update null.md
Update set.md
Update join.md
Update url.md
Update view.md
Update materializedview.md
Update memory.md
Update buffer.md
Update generate.md
removed a sentence about global lock during rename (#11577 )
greatCircleAngle en translation (#11584 )
Update configuration-files.md
try fix flacky test
Update why.html
Update rich.html
...
# Conflicts:
# src/Common/ErrorCodes.cpp
# utils/ci/jobs/quick-build/run.sh
2020-06-11 03:06:17 +04:00
tavplubix
9c86c12891
Update ParserShowTablesQuery.cpp
2020-06-10 21:11:30 +03:00
Vxider
7078355449
remove unused local variables
2020-06-10 18:06:24 +08:00
Ivan
47ad338cb2
Refactor CMake build files ( #11390 )
...
* Get rid of lib_name.cmake
* Refactor Boost and HyperScan libraries
* Refactor lz4
* Fix build with xxHash
2020-06-09 13:54:49 +03:00
hexiaoting
71e43934b7
Fix rest errors found by style check
2020-06-08 10:29:53 +08:00
hexiaoting
75768413ad
fix errors found by Style Check
2020-06-08 10:23:57 +08:00
potya
80496628e3
Add better code
2020-06-07 23:02:57 +03:00
Alexey Milovidov
4313a52970
Merge branch 'master' into kuskarov-add_syntax_highlighting
2020-06-06 19:35:47 +03:00
Nikolai Kochetov
f2350d3aec
Merge pull request #11415 from azat/SYSTEM-FLUSH-DISTRIBUTED-ON-CLUSTER
...
ON CLUSTER support for SYSTEM {FLUSH DISTRIBUTED,STOP/START DISTRIBUTED SENDS}
2020-06-05 12:59:38 +03:00
hexiaoting
d2052dd1d4
show clusters
2020-06-05 17:13:13 +08:00
Alexey Milovidov
02e77e3406
Adjust some colors: minimum safe variant
2020-06-05 02:05:37 +03:00
Azat Khuzhin
0f368c804d
Fix SYSTEM START/STOP DISTRIBUTED SENDS w/o table name
2020-06-04 20:22:29 +03:00
Azat Khuzhin
71d0e60dcb
ON CLUSTER support for SYSTEM {FLUSH DISTRIBUTED,STOP/START DISTRIBUTED SEND}
...
It is pretty logical to have ON CLUSTER for managing Distributed tables.
2020-06-03 21:51:52 +03:00
Alexander Kuzmenkov
1ab3201454
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-03 16:36:22 +03:00
Alexander Kuzmenkov
0a5cc96b67
Fuzzing-related changes.
...
* More LOGICAL_ERROR
* Proper cloning of some Asts
* Field::safeGet for user-supplied values
2020-06-02 16:56:10 +03:00
Denis Glazachev
e41062172a
Stylistic changes/renaming
2020-06-02 13:35:40 +04:00
Alexey Milovidov
9f8c156fd2
Remove debug output
2020-06-02 02:35:44 +03:00
Alexey Milovidov
6eb6d8f3fd
Get rid of annoying trailing whitespaces in CREATE query
2020-06-02 00:11:08 +03:00
Alexey Milovidov
57df571e60
Remove trailing whitespaces from formatted queries in some cases
2020-06-01 01:40:41 +03:00
Denis Glazachev
e8144976fe
Merge branch 'master' into ldap-per-user-authentication
2020-05-31 15:09:16 +04:00
Anton Popov
e6a9a33010
Merge pull request #11183 from ClickHouse/consistent_metadata2
...
Refactor TTLs metadata (move them to IStorage).
2020-05-29 20:00:11 +03:00
alexey-milovidov
304c6a1ee3
Merge pull request #11278 from vitlibar/fix-crash-set-default-role-with-wrong-args
...
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
2020-05-29 16:24:42 +03:00
alesapin
0170250c5e
Merge branch 'master' into consistent_metadata2
2020-05-29 13:48:09 +03:00
Denis Glazachev
f1cfc7b472
Rename LDAP_PASSWORD to LDAP_SERVER and use "ldap_server" as a string key
...
Some refactoring
2020-05-29 11:47:01 +04:00
Vitaly Baranov
2d12b4d3ac
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
2020-05-29 09:54:27 +03:00
Denis Glazachev
f9d4136792
Merge branch 'master' into ldap-per-user-authentication
2020-05-29 10:52:44 +04:00
Vitaly Baranov
d7cc703233
Merge pull request #11080 from vitlibar/add-authentication-type-to-system-users
...
Show authentication type in system.users table
2020-05-28 20:20:41 +03:00
alesapin
61aff798d3
Compileable code
2020-05-28 18:33:44 +03:00
Vitaly Baranov
98172deffc
Show authentication type in table system.users and while executing SHOW CREATE USER query.
2020-05-28 08:34:10 +03:00
Denis Glazachev
2863de750e
Merge branch 'master' into ldap-per-user-authentication
2020-05-28 01:30:52 +04:00
Denis Glazachev
d74f1357d4
Add LDAP authentication support
2020-05-28 01:06:33 +04:00
potya
d5840688a1
Fix style errors
2020-05-27 15:22:12 +03:00
Nikolai Sorokin
141ed88751
Allow functions in group by keys; Add default aggregate function; Add more tests
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
c6541b1dad
Up test id; Fix clang build
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
1f02ba9692
Add eof
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
66496dc7e3
Fix trailing spaces
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
eeaf608aa9
Refactor code; support prefix of PK as GROUP BY key
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
61974e0047
TTL Expressions WHERE and GROUP BY draft
2020-05-27 12:53:15 +03:00
alesapin
c7cda399c7
Merge branch 'master' into consistent_metadata2
2020-05-27 12:51:56 +03:00
potya
2919f6710c
Add some multiword data types
2020-05-26 23:58:51 +03:00
alesapin
c3a6571036
Compilable code
2020-05-25 20:22:20 +03:00
potya
70fac9c068
Fix problems
2020-05-25 14:22:52 +03:00
Alexander Kuzmenkov
f1fb7245e5
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-25 06:21:27 +03:00
Alexander Kuzmenkov
09129a6d21
Function for printing array of Asts
2020-05-25 06:19:46 +03:00
Alexey Milovidov
7e1813825b
Return old names of macros
2020-05-24 01:24:01 +03:00
Alexey Milovidov
38e3e273cd
Progress on task
2020-05-23 23:39:59 +03:00
Alexey Milovidov
eacff92d0e
Progress on task
2020-05-23 22:35:08 +03:00
potya
bee14177cd
Fix NOT nULL modifier
2020-05-23 17:32:47 +03:00
Nikita Vasilev
d4cc01446c
Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict
2020-05-23 13:06:47 +03:00
alesapin
f026fa7de1
Rename PartDestinationType to DataDestionationType, because there is no part-specific information
2020-05-22 16:29:33 +03:00
Alexander Kuzmenkov
9e410444e7
Better error messages about joins
2020-05-20 21:58:20 +03:00
potya
8a9064cef2
at start
2020-05-20 21:23:35 +03:00
potya
d8bb98bbcf
Add NULL and NOY NULL modifiers for data types in create query
2020-05-20 04:22:32 +03:00
alexey-milovidov
6c49967395
Merge pull request #10802 from PerformanceVision/offset_without_limit
...
Add the ability to set an OFFSET clause without a LIMIT
2020-05-17 12:06:22 +03:00
Anton Popov
11b4bc7189
Merge pull request #10889 from CurtizJ/tuple-literal
...
Fix backward compatibility with tuples and distributed.
2020-05-15 15:39:03 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10
2020-05-15 14:12:43 +03:00
Vitaly Baranov
c30587196a
Add system tables for users, roles and grants.
2020-05-14 14:12:20 +03:00
Vitaly Baranov
b1f362b2dc
Add system table for access types.
2020-05-14 14:12:20 +03:00
Vitaly Baranov
a14f322723
Add system tables for settings profiles.
2020-05-14 14:12:15 +03:00
Alexey Milovidov
c3cea85b10
Support for unicode whitespaces in Lexer
2020-05-14 00:31:57 +03:00
Vitaly Baranov
5b84121d81
Improve system tables for quotas. Remove function currentQuota().
2020-05-13 19:40:48 +03:00
Vitaly Baranov
e64e2ebdf6
Improve system table for row policies. Remove function currentRowPolicies().
2020-05-13 19:40:48 +03:00
Vitaly Baranov
dd8b29b4fb
Use enum Type instead of std::type_index to represent the type of IAccessEntity.
...
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
b6fe726777
Rename row policy's 'name' to 'short_name', 'full_name' to 'name'.
...
This change simplifies the interface of IAccesEntity.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
6f15a0d443
Improve the function range() to allow iterating through enum values.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
b93a15ef36
Refactoring of settings profiles to store setting_index instead of setting_name.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
66e348a93f
Refactoring of getting information about access rights.
2020-05-13 19:40:33 +03:00
Anton Popov
d13a11b421
fix backward compatibility with tuples and distributed
2020-05-13 17:14:05 +03:00
potya
a6ea36162c
Remove useless code
2020-05-12 16:48:39 +03:00
Guillaume Tassery
5b6e9f2a7e
offset_without_limitMerge branch 'master' of github.com:ClickHouse/ClickHouse into offset_without_limit
2020-05-11 16:05:44 +07:00
Guillaume Tassery
875a8ab2c3
fix parser
2020-05-11 13:53:10 +07:00
Guillaume Tassery
d6eae04eb0
cosmetic
2020-05-11 13:26:01 +07:00
Amos Bird
9d908f48e1
Shared build fix
2020-05-09 04:55:08 +08:00
Guillaume Tassery
2e719314a3
push functional draft
2020-05-07 20:40:50 +07:00
Guillaume Tassery
8ce606571e
write first draft of offset clause
2020-05-06 13:50:55 +07:00
alexey-milovidov
c54f6d5a66
Merge pull request #10546 from kyprizel/master
...
Lexer, ast, checksum and column specs fuzzers added
2020-05-05 14:50:55 +03:00
Guillaume Tassery
0ab6936645
Add parser for handle offset without a limit clause
2020-05-04 19:52:38 +07:00
Potya
351d62aa83
Nothing interesting
2020-04-29 15:17:40 +03:00
Eldar Zaitov
043be916cb
Add miniman fuzzing documentation, fix code style.
2020-04-28 13:35:44 +03:00
Eldar Zaitov
670ed4bf1b
lexer, ast, checksum and column specs fuzzers added
2020-04-28 02:12:18 +03:00
Nikolai Kochetov
32baa073b5
Merge remote-tracking branch 'upstream/master' into insert_into_watch_from_live_view
2020-04-27 17:49:50 +03:00
alexey-milovidov
4c17542096
Merge pull request #10465 from kekekekule/ddl_settings
...
Add custom settings support in DDL-queries for CREATE DICTIONARY
2020-04-26 20:25:29 +03:00
alexey-milovidov
7d58dc154c
Update ASTDictionary.h
2020-04-26 20:24:18 +03:00
Vitaliy Zakaznikov
71a40d6ec9
Revert "Working on adding AUTO REFRESH to LIVE VIEW tables."
...
This reverts commit 855e06b031
.
2020-04-25 09:56:57 -04:00
Vitaliy Zakaznikov
34a03939ea
First changes to try to support INSERT INTO table WATCH query.
2020-04-25 07:33:47 -04:00
Vitaliy Zakaznikov
855e06b031
Working on adding AUTO REFRESH to LIVE VIEW tables.
2020-04-24 17:15:17 -04:00
Артем Стрельцов
5423506393
sure this will exactly fix the fail with build check
2020-04-24 19:04:54 +03:00
Артем Стрельцов
26a6353284
tried to fix build fail & fixed codestyle
2020-04-24 12:59:49 +03:00
Артем Стрельцов
aab2e8f9c1
unsignificant change
2020-04-24 02:21:51 +03:00
Артем Стрельцов
d7e27d4326
added SETTINGS section to DDL-query for CREATE DICTIONARY
2020-04-24 00:57:40 +03:00
Артем Стрельцов
f39fdf7182
some progress in parsing settings (i did this commit for having something to backup to)
2020-04-23 23:50:01 +03:00
Nikita Vasilev
a908576033
fix double params
2020-04-23 22:07:03 +03:00
Alexander Tokmakov
04d6b59ac0
Merge branch 'master' into database_atomic
2020-04-23 17:31:37 +03:00
Артем Стрельцов
5da371b9c0
added settings parsing from DDL-query (they aren't applied now)
2020-04-23 15:39:27 +03:00
Alexander Tokmakov
fefbbd37df
Merge branch 'master' into database_atomic
2020-04-22 17:02:30 +03:00
Nikita Vasilev
464c90a486
Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict
2020-04-22 10:27:20 +03:00
Alexey Milovidov
be22a4b94e
Checkpoint
2020-04-22 08:39:31 +03:00
Alexander Kuzmenkov
d1c5e38a21
Merge pull request #10385 from CurtizJ/tuple-literal
...
Parse tuples of tuples as literals
2020-04-22 05:49:14 +03:00
alexey-milovidov
4ecc86beca
Merge pull request #9950 from ClickHouse/aku/literal-columns
...
Create unique columns for literals
2020-04-21 02:30:17 +03:00
Anton Popov
e1b7e2de2f
parse tuples of tuples as literals
2020-04-20 23:14:56 +03:00
Alexander Tokmakov
b29bddac12
Merge branch 'master' into database_atomic
2020-04-20 14:09:09 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
Alexey Milovidov
cdeda4ab91
Fix usage of max_parser_depth setting; remove harmful default function arguments
2020-04-16 04:06:10 +03:00
Alexander Kuzmenkov
1d3fe23b3b
review fixes
2020-04-14 20:41:06 +03:00
Artem Zuikov
24f715ad87
tech debt
2020-04-14 17:43:09 +03:00
Alexander Kuzmenkov
59e8230271
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-14 02:27:46 +03:00
Alexander Tokmakov
033d7f9b32
Merge branch 'master' into database_atomic
2020-04-10 17:12:09 +03:00
Vitaly Baranov
12336a9ece
Use "CREATE USER HOST REGEXP" instead of "CREATE USER HOST NAME REGEXP".
2020-04-09 10:22:51 +03:00
Vitaly Baranov
f0d3547b8f
Parser can parse "ON CLUSTER" in other places of SQL commands too.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
4d93577791
PREWHERE can be used now by user without row filtering.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
d992e408d8
Disable creating row policies for insert, update, delete because those filters are not supported.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
d548c7e381
Simplify DCL for creating quotas.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
36a5b57ac4
Use "CREATE SETTINGS PROFILE name SETTINGS INHERIT parent" instead of "CREATE SETTINGS PROFILE name SETTINGS PROFILE parent".
2020-04-09 10:22:51 +03:00
Alexander Tokmakov
dd1590830b
Merge branch 'master' into database_atomic
2020-04-08 22:00:46 +03:00
alexey-milovidov
6d80ab1eed
Merge pull request #9811 from vitlibar/RBAC-8
...
RBAC-8
2020-04-08 05:47:55 +03:00
Alexander Tokmakov
135197aa75
fixes
2020-04-08 04:02:00 +03:00
Vitaly Baranov
42b8ed3ec6
Implement "ON CLUSTER" clause for access control SQL.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
b77e0a5b4e
Avoid writing "HOST ANY" if the host is any by default.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
d0af31bbcf
Use ALTER USER DROP HOST instead of ALTER USER REMOVE HOST for consistency.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
e5d8f05251
Rename sql command "CREATE POLICY" -> "CREATE ROW POLICY", "CREATE POLICY" is now an alias.
2020-04-07 23:20:38 +03:00
Vitaly Baranov
c2f5e3c4ad
Improve declaration of access rights: single place in code instead of three.
2020-04-07 23:20:38 +03:00
Alexander Tokmakov
4c48b7dd80
better rename
2020-04-07 18:31:33 +03:00
alesapin
06f135ee8d
Merge branch 'master' into small_fixes_in_dict_parser
2020-04-07 16:35:16 +03:00
Alexander Kuzmenkov
35783af25d
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-07 03:34:39 +03:00
Alexander Tokmakov
a2101c9b1c
better code
2020-04-07 02:22:44 +03:00
alesapin
4be263c72f
Clang-tidy fix
2020-04-06 17:43:36 +03:00
Alexander Tokmakov
08bae4668d
Merge branch 'master' into database_atomic
2020-04-06 16:18:07 +03:00
alesapin
848678d656
Now layout type for dictionaries DDL with no arguments can be written without brackets
2020-04-06 14:02:17 +03:00
alesapin
1cb072d58a
Merge branch 'master' into alter_rename_column
2020-04-06 11:40:27 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00