Alexander Tokmakov
e98d4f4e5e
remove isExternalTableExist
2020-03-12 15:36:31 +03:00
Alexander Tokmakov
cf28bfe8a7
Merge branch 'master' into split_databases_from_context
2020-03-12 15:09:41 +03:00
Alexander Tokmakov
4972daeaed
fixes
2020-03-11 22:10:55 +03:00
Alexander Tokmakov
8b3a245a1d
improve temporary tables
2020-03-10 22:36:17 +03:00
Alexander Tokmakov
c7468d2502
Merge branch 'master' into split_databases_from_context
2020-03-10 13:15:27 +03:00
Alexey Milovidov
d416d214a5
Fixed error
2020-03-10 03:12:05 +03:00
Alexey Milovidov
889ae0305b
clang-tidy, part 8
2020-03-09 02:48:08 +03:00
Alexander Tokmakov
367b358822
remove Context::getTable()
2020-03-06 23:38:19 +03:00
Alexey Milovidov
b3a6f6b367
Revert "Simplification"
...
This reverts commit f5518c0c43
.
2020-03-06 21:14:33 +03:00
Alexey Milovidov
f5518c0c43
Simplification
2020-03-06 01:45:59 +03:00
Alexey Milovidov
a0ace3e94a
Fixed error
2020-03-06 00:50:58 +03:00
Alexey Milovidov
c2aae62d75
Merge branch 'session-cleaner-better-build-time' of github.com:yandex/ClickHouse into session-cleaner-better-build-time
2020-03-06 00:42:55 +03:00
Alexey Milovidov
5d077e0213
Fixed error
2020-03-06 00:41:46 +03:00
Alexey Milovidov
d4d48a0165
Fix style
2020-03-05 23:02:55 +03:00
Alexey Milovidov
3b85f2ffef
Do not run session cleaner for client, local
2020-03-05 22:23:39 +03:00
Alexey Milovidov
2acd6afe0b
Fixed build
2020-03-05 18:08:25 +03:00
Alexey Milovidov
722a946ce5
Merge branch 'session-cleaner-better-build-time' of github.com:ClickHouse/ClickHouse into session-cleaner-better-build-time
2020-03-05 18:00:40 +03:00
Alexey Milovidov
3aba47aa8b
Merge branch 'master' into session-cleaner-better-build-time
2020-03-05 17:59:49 +03:00
Alexey Milovidov
4e15d74469
Better code around sessions, step 3
2020-03-05 07:10:48 +03:00
Alexey Milovidov
aac2f98870
Better code around sessions, step 2
2020-03-05 06:57:31 +03:00
Alexey Milovidov
156e6246c1
Better code around sessions
2020-03-05 06:12:07 +03:00
Alexey Milovidov
ef7fd6c486
Merge branch 'master' into session-cleaner-better-build-time
2020-03-05 05:14:28 +03:00
Alexander Tokmakov
2d5ed7832b
remove tryGetTable
2020-03-04 23:29:52 +03:00
Alexander Tokmakov
67c63a72c7
Merge branch 'master' into split_databases_from_context
2020-03-04 19:24:05 +03:00
Alexander Tokmakov
273333b437
fixes
2020-03-04 19:22:33 +03:00
Vladimir Chebotarev
2bd6474379
Adding storage policies and disks while reloading configuration.
2020-03-04 15:10:17 +03:00
Alexey Milovidov
dc086b20a9
Fixed wrong code around Memory Profiler
2020-03-03 03:24:44 +03:00
Alexander Tokmakov
fa27ecf353
do not allow custom database for system tables
2020-03-02 20:25:36 +03:00
Alexander Tokmakov
a4d12b31a1
Merge branch 'master' into split_databases_from_context
2020-03-02 17:57:54 +03:00
Vitaly Baranov
5b4b40f86f
Merge pull request #9447 from vitlibar/shard-clamps-settings-to-constraints
...
Shard now clamps the settings from the initiator.
2020-03-01 20:33:52 +03:00
Vitaly Baranov
fc0376a170
Shard now clamps the settings got from the initiator to the shard's constaints instead of throwing an exception.
2020-03-01 02:18:49 +03:00
Vitaly Baranov
39d9c315d4
Simplify the message about authentication: now the same message is used in all cases of failed authentication.
2020-03-01 00:27:15 +03:00
Vitaly Baranov
455fad5919
Add attach mode to access-controlling SQL.
2020-02-28 16:34:18 +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
Alexander Tokmakov
8548089e00
Merge branch 'master' into split_databases_from_context
2020-02-25 15:47:19 +03:00
Vitaly Baranov
c1e870d493
Merge pull request #9182 from vitlibar/RBAC-5.2
...
RBAC-5.2
2020-02-22 03:55:17 +03:00
Alexander Tokmakov
29a993a66f
remove another method from Context
2020-02-21 20:57:18 +03:00
Vitaly Baranov
ae18d443c8
Introduce roles.
2020-02-21 06:03:03 +03:00
Vitaly Baranov
4f85c148b5
Move event handling away from Context.
2020-02-21 03:27:23 +03:00
Vitaly Baranov
5849dd2236
Slightly better solution for checking row policy for distributed tables,
...
now it checks both current user's and initial user's filters.
2020-02-21 00:57:42 +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
ed2061db8a
Better pointers: std::shared_ptr<const QuotaContext> instead of std::shared_ptr<QuotaContext>, boost::atomic_shared_ptr instead of std::atomic_load/store.
2020-02-21 00:57:42 +03:00
Alexey Milovidov
a739e42740
Better build time
2020-02-19 21:41:22 +03:00
Alexander Tokmakov
d710bd1812
better get... methods
2020-02-17 16:52:59 +03:00
Alexander Tokmakov
c479bbe9f9
make Context::getLock() private
2020-02-14 00:00:03 +03:00
Alexander Tokmakov
1d6afe9f39
Merge branch 'master' into split_databases_from_context
2020-02-12 21:18:32 +03:00
Alexander Tokmakov
b6039f8c50
remove tryGetExternalTable
2020-02-12 21:14:12 +03:00
Alexander Tokmakov
2e6796e7d7
move ViewDependencies to DatabaseCatalog
2020-02-12 19:54:26 +03:00
Ivan
bef233f450
Add simple memory profiler ( #8765 )
...
* Add new trace type to system.trace_log table
* [WIP]
* Add settings for soft limit raising.
* Remove unused diff
* Remove unused diff
* Some renames
* Fix client hanging on quit
* Remove obsolete pointer for trace collector in context.
* Use memory tracker on query level.
* Fix TSan tests
* Try to simplify TraceCollector initialization.
It allows to workaround first call inside signal handler
* Initialize TraceCollector before setting signal handlers
* Attempt to fix
* Fix Int64 → UInt64 for |size|
* Explicitly reset global TraceCollector instance.
2020-02-12 15:37:40 +03:00