Commit Graph

2820 Commits

Author SHA1 Message Date
alesapin
6f1824f0ea Correct merge with master 2020-06-26 14:30:23 +03:00
alesapin
e9c47dc89c Merge branch 'master' into CurtizJ-polymorphic-parts 2020-06-26 14:27:19 +03:00
alexey-milovidov
2163716e45
Merge pull request #11955 from ClickHouse/revive-mmap-2
Allow to use direct_io and mmap_io for secondary indices.
2020-06-26 03:16:56 +03:00
alexey-milovidov
178a5217bc
Merge pull request #11953 from ClickHouse/revive-mmap
Revive mmap IO + add a test
2020-06-26 03:15:07 +03:00
alexey-milovidov
8f429f6027
Merge pull request #11935 from zlobober/allocated_bytes
Consider allocatedBytes() instead of bytes() in Storage{Buffer,Memory}.
2020-06-26 00:57:47 +03:00
alexey-milovidov
6a45f3e960
Merge pull request #11936 from ClickHouse/fix_11918
Fix query parameter visitor
2020-06-26 00:54:37 +03:00
alexey-milovidov
b041479d90
Merge pull request #11949 from ClickHouse/fix-race-condition-extract-all-groups
Fix race condition in extractAllGroups
2020-06-26 00:52:29 +03:00
Alexander Kuzmenkov
7ee2e68f5b better error messages 2020-06-25 23:42:31 +03:00
Alexander Kuzmenkov
a8db0b40d0 add page fault perf events 2020-06-25 23:42:31 +03:00
Alexey Milovidov
875369676f Added a comment #11949 2020-06-25 22:46:43 +03:00
Alexey Milovidov
8872417d00 Respect direct_io/mmap settings while reading secondary indices 2020-06-25 22:31:54 +03:00
Alexey Milovidov
5608f15749 Revive mmap IO 2020-06-25 22:15:41 +03:00
Alexey Milovidov
9dc43fc435 Fix race condition in extractAllGroups 2020-06-25 19:57:30 +03:00
alexey-milovidov
a34032cace
Merge pull request #11300 from blinkov/sentry
Opt-in support for sending crash reports
2020-06-25 17:20:50 +03:00
alexey-milovidov
9de5db9025
Merge pull request #11856 from zhang2014/feature/uuid_without_separator
Support parse UUID without separator
2020-06-25 16:26:55 +03:00
alexey-milovidov
40755de412
Merge pull request #11908 from ClickHouse/zookeeper-modernize
Slightly modernize code around ZooKeeper
2020-06-25 16:25:50 +03:00
alexey-milovidov
bc585c7c33
Merge pull request #11901 from BohuTANG/mysql_global_variables
Change MySQL global variables query to globalVariable function
2020-06-25 16:15:41 +03:00
tavplubix
0260358253
Merge pull request #11934 from ClickHouse/fix_some_logical_errors
Fix some logical errors
2020-06-25 14:20:58 +03:00
alesapin
e5fc792d6b
Merge pull request #11919 from ClickHouse/fix_unitialized_memory
Fix unitialized memory
2020-06-25 12:16:00 +03:00
alesapin
78ddeff1bc
Merge pull request #11920 from vitlibar/access-check-fix-using-current-database
Fix using current database while checking access rights.
2020-06-25 11:56:15 +03:00
Alexander Kuzmenkov
5bf30b1c1f
Merge pull request #11931 from ClickHouse/aku/local-tmp
Put clickhouse-local data to /tmp by default
2020-06-25 10:06:38 +03:00
Alexander Kuzmenkov
593a0181bd
Merge pull request #11616 from ClickHouse/aku/perf-benchmark
Add concurrent benchmark to performance test
2020-06-25 09:36:52 +03:00
BohuTANG
53997f23e6 Merge remote-tracking branch 'ck/master' into mysql_global_variables 2020-06-25 14:04:10 +08:00
Alexander Tokmakov
ae9aaa006d fix query parameter visitor 2020-06-25 00:36:18 +03:00
Maxim Akhmedov
29d2928f93 Consider allocatedBytes() instead of bytes() in Storage{Buffer,Memory}. 2020-06-25 00:27:53 +03:00
Alexander Tokmakov
a6b7010531 fix some logical errors 2020-06-24 23:51:17 +03:00
alexey-milovidov
cd7382abf2
Merge pull request #11897 from azat/jemalloc-darwin
Fix jemalloc under OSX (by registering it as default zone explicitly)
2020-06-24 23:06:07 +03:00
alexey-milovidov
3e3ac66349
Merge pull request #11922 from bharatnc/ncb/remove-unused-headers
remove unused headers
2020-06-24 22:19:11 +03:00
Alexander Kuzmenkov
c678708c0c Put clickhouse-local data to /tmp by default
This fixes https://github.com/ClickHouse/ClickHouse/issues/9848
Also fixes https://github.com/ClickHouse/ClickHouse/issues/11926
2020-06-24 22:03:28 +03:00
Artem Zuikov
2391ac22b7
Rewrite arithmetic in aggregate functions optimisation (#11899) 2020-06-24 21:49:55 +03:00
Azat Khuzhin
236cac3d52 Fix jemalloc under OSX (by registering it as default zone explicitly)
In case of OSX jemalloc register itself as a default zone allocator.

But when you link statically then zone_register() will not be called,
and even will be optimized out:

  $ nm clickhouse.patched  | grep -c zone_register
  0

Fix this, by manually calling it.

v2: extern C
2020-06-24 21:05:35 +03:00
Bharat Nallan
3d23c51d6a Merge https://github.com/ClickHouse/ClickHouse into ncb/remove-unused-headers 2020-06-24 09:16:46 -07:00
alesapin
63f8f89ca0
bump CI 2020-06-24 19:06:01 +03:00
Vitaly Baranov
29a9d4187f Fix using current database while checking access rights. 2020-06-24 17:31:05 +03:00
alesapin
08f5ed6da3 Fix unitialized memory 2020-06-24 17:12:44 +03:00
BohuTANG
2aa92a8563 Add SELECT @@Version fake value '5.7.30' #11089 2020-06-24 21:32:33 +08:00
Alexey Milovidov
cd34cacee2 Keep alias after substitution of query parameters #11914 2020-06-24 16:14:04 +03:00
Alexander Kuzmenkov
2da7b356ab
Merge pull request #11668 from bharatnc/bnc/config-max-num-threads
max_thread_pool_size setting for changing max Threads in Global Thread Pool
2020-06-24 16:11:21 +03:00
BohuTANG
6f28d7b8b5 Fix @@session.variables AS 2020-06-24 20:09:32 +08:00
Nikolai Kochetov
f7f16fdbf7
Merge pull request #11895 from ClickHouse/fix-nullable-prewhere-type-3
Fix nullable prewhere type 3
2020-06-24 14:32:08 +03:00
Alexey Milovidov
5a7e921135 Slightly modernize code around ZooKeeper 2020-06-24 14:02:14 +03:00
BohuTANG
71f1a3120e Fix JDBC @@session.variables 2020-06-24 18:28:14 +08:00
alexey-milovidov
18eb141ea1
Merge pull request #11715 from azat/dist-optimize_skip_unused_shards-fixes
Control nesting level for shards skipping and disallow non-deterministic functions
2020-06-24 12:54:58 +03:00
alexey-milovidov
c2fba5179b
Merge pull request #11875 from ClickHouse/fix-fpe-datetime64
Fix strange and wrong code around DateTime64
2020-06-24 12:54:04 +03:00
Vxider
c118f806ed Remove unused code 2020-06-24 16:56:31 +08:00
tavplubix
2401bc9143
Merge pull request #11896 from ClickHouse/merging_drop_replica
Merging #10679
2020-06-24 11:42:39 +03:00
BohuTANG
4d96a25655 Change MySQL global variables query to globalVariable function 2020-06-24 13:40:18 +08:00
bharatnc
4f10873c22 cleanup few unused headers
The following files had some unused headers and caught my eyes, so
cleaning them up:

```bash
programs/obfuscator/Obfuscator.cpp
src/Databases/DatabaseAtomic.cpp
```
2020-06-23 22:08:05 -07:00
Anton Popov
8c3f496826 add test with alters and in-memory parts 2020-06-24 01:16:29 +03:00
Ivan Blinkov
3ed76a388e send build_id to sentry as well + fix some minor issues 2020-06-24 00:27:04 +03:00