Nikolai Kochetov
9d152a3c4d
Update src/Interpreters/ClusterProxy/SelectStreamFactory.cpp
...
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-05-19 13:40:46 +03:00
Nikolai Kochetov
0b8bf34aba
Merge pull request #24256 from ClickHouse/log-exception-for-allocator-free
...
Log exception in Allocator::free
2021-05-19 13:39:39 +03:00
feng lv
5e4cde8540
fix
2021-05-19 10:24:53 +00:00
Maksim Kita
3d94798d9d
Remove comment
2021-05-19 11:45:31 +03:00
Maksim Kita
150a88d647
ExpressionActions compile only necessary places
2021-05-19 11:43:16 +03:00
fuzhe1989
f00158c10b
Use memmove in PODArray::insert to handle memory overlapping.
2021-05-19 16:06:54 +08:00
alesapin
90f12a3002
Merge pull request #24203 from ClickHouse/simplier_is_local_address
...
Simplier isLocalAddress
2021-05-19 10:53:35 +03:00
Vitaly Baranov
ce1c947f25
Merge pull request #22228 from traceon/ldap-user-dn-detection
...
LDAP: user DN detection functionality for role mapping with Active Directory
2021-05-19 10:34:47 +03:00
tavplubix
8b13e73ac2
Merge pull request #24208 from ClickHouse/fix_intersecting_parts_again
...
Addition to #23997
2021-05-18 21:13:25 +03:00
Vitaliy Zakaznikov
03ebd18d01
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ldap-user-dn-detection
2021-05-18 14:08:28 -04:00
Nikolai Kochetov
85c0844439
Update SelectStreamFactory.cpp
...
Fix typo
2021-05-18 19:19:16 +03:00
Nikolai Kochetov
342486e321
Log exception in Allocator::free
2021-05-18 19:15:48 +03:00
Anton Popov
662888aee0
Merge pull request #24183 from hexiaoting/dev_nested_bugfix
...
Fix bug for update nested columns with const condition
2021-05-18 18:26:02 +03:00
Nikolai Kochetov
57f5e33464
Try to fix GROUP BY _shard_num
2021-05-18 18:17:19 +03:00
alesapin
31181095e7
Review fixes
2021-05-18 17:08:56 +03:00
alesapin
b390ebb083
Merge branch 'master' into standalone_keeper
2021-05-18 16:27:28 +03:00
alesapin
c1c6a0d8e3
Merge pull request #24248 from ucasFL/remove
...
remove useless code
2021-05-18 16:09:00 +03:00
feng lv
6c064d62e9
add rangeSum udaf
...
fix
2021-05-18 12:48:08 +00:00
feng lv
403d0a305b
remove useless code
2021-05-18 12:19:04 +00:00
tavplubix
3a98e7f427
Merge pull request #24124 from abel-cheng/feature/thread_name_in_stack_trace
...
Add thread_name in system.stack_trace
2021-05-18 14:48:49 +03:00
Alexander Tokmakov
2dac182df3
fix
2021-05-18 13:00:34 +03:00
alesapin
2b62ce9044
Add smoke test for local address
2021-05-18 11:35:51 +03:00
Kruglov Pavel
cee8e280c7
Merge pull request #24193 from plugine/fix-mutation-for-storagememory
...
Fix wrong typo at StorageMemory
2021-05-18 10:57:52 +03:00
alesapin
64baa524b8
Merge pull request #24191 from kssenii/hdfs-fixes
...
Fix abnormal termination when hdfs is unreachable
2021-05-18 10:12:05 +03:00
Maksim Kita
40d8d95fd2
Merge pull request #24067 from azat/buffer-destroy-first
...
Flush Buffer tables before shutting down tables (within one database)
2021-05-18 09:07:28 +03:00
Maksim Kita
49d82ee408
Merge pull request #24177 from ucasFL/fix-reinterpret
...
fix reinterpretAsFixedString for UUID
2021-05-18 08:58:08 +03:00
Maksim Kita
4a84c2f3ea
Merge pull request #24210 from kitaisreal/small-style-code-simplification
...
Small code simplification
2021-05-18 08:13:54 +03:00
hexiaoting
4eeaa02975
fix
2021-05-18 10:00:09 +08:00
feng lv
dcf5d345e8
fix reinterpretAsFixedString for UUID
...
fix
2021-05-18 01:50:27 +00:00
Alexander Tokmakov
20b9af7b26
do not allow concurrent alter partition
2021-05-18 00:20:58 +03:00
Maksim Kita
8e13182bc4
Merge pull request #24182 from kitaisreal/lru-benchmarks
...
Updated LRUHashMap benchmarks
2021-05-17 23:58:16 +03:00
Maksim Kita
f5b9007d63
Small code simplification
2021-05-17 23:26:25 +03:00
Maksim Kita
5e7ca811fb
Merge pull request #24176 from vitlibar/fix-race-condition-in-context-access
...
Fix race condition in ContextAccess
2021-05-17 23:01:01 +03:00
Maksim Kita
a208e3cdb5
Removed commented code
2021-05-17 22:13:50 +03:00
Maksim Kita
0870970e30
Merge pull request #24178 from kitaisreal/function-move-file
...
Function move file
2021-05-17 22:02:43 +03:00
Raúl Marín
c312121ced
gtest_sensitive_data_masker: Adapt error output after re2 update
2021-05-17 19:38:23 +02:00
alesapin
6127ba901e
Small improvements
2021-05-17 19:29:11 +03:00
alesapin
acaf260a2e
Better
2021-05-17 19:18:38 +03:00
alesapin
b4f07a017c
Space
2021-05-17 18:32:34 +03:00
alesapin
5a0d0a1717
Much simplier isLocalAddress
2021-05-17 18:31:44 +03:00
kssenii
71fcbefdc7
Add final to class
2021-05-17 14:38:48 +00:00
Nikolai Kochetov
2e3e56f353
Update IFunction.cpp
2021-05-17 17:27:06 +03:00
kssenii
26fa920ad5
Fix clang tidy, slightly improve writeSuffix
2021-05-17 12:32:48 +00:00
Raúl Marín
439f161764
Fix GCC 11 build
...
../src/IO/HashingWriteBuffer.h:20:34: error: expected ‘)’ before ‘block_size_’
20 | IHashingBuffer<Buffer>(size_t block_size_ = DBMS_DEFAULT_HASHING_BLOCK_SIZE)
2021-05-17 14:04:08 +02:00
Ilya Yatsishin
8ede5c736a
Merge pull request #23992 from MaxWk/enable-datatime64-version-column
...
enable DateTime64 to be version column
2021-05-17 14:34:15 +03:00
张中南
3d1992ea50
fix wrong typo at StorageMemory
2021-05-17 18:24:01 +08:00
kssenii
a8748a55df
Fix abnormal termination when hdfs goes away
2021-05-17 09:55:23 +00:00
tavplubix
42d5400e36
Update StorageSystemStackTrace.cpp
2021-05-17 12:07:50 +03:00
Kruglov Pavel
64e7994987
Merge pull request #23887 from kssenii/rabbitmq-fixes
...
RabbitMQ: allow user to define specific queue settings, its own exchange, user-managed queues; add cleanup on drop table
2021-05-17 12:01:12 +03:00
hexiaoting
c5c7b2db97
Fix bug for update nested columns with const condition
2021-05-17 16:34:50 +08:00
Maksim Kita
0adc5883c0
Fixed style check
2021-05-17 11:13:15 +03:00
Maksim Kita
cf43a3efe2
Updated LRUHashMap benchmarks
2021-05-17 11:08:22 +03:00
alesapin
eae2df6478
Merge pull request #23997 from ClickHouse/fix_intersecting_parts
...
Try fix intersecting parts
2021-05-17 10:46:58 +03:00
Maksim Kita
84fc1e0c3d
Fixed style check
2021-05-17 10:32:29 +03:00
Maksim Kita
d923d9e6ef
Function move file
2021-05-17 10:30:42 +03:00
alesapin
62004cf0d9
Merge branch 'master' into standalone_keeper
2021-05-17 10:14:58 +03:00
Vitaly Baranov
1dc415596c
Fix race condition in ContextAccess.
2021-05-17 10:03:26 +03:00
Nikolai Kochetov
98e6c27a95
Merge pull request #24168 from amosbird/projection-fix3
...
Fix distributed processing when using projection
2021-05-17 09:45:39 +03:00
Maksim Kita
20cced0a4c
Merge pull request #24155 from kitaisreal/function-refactoring
...
IFunction refactoring
2021-05-17 09:26:57 +03:00
abel-wang
4edd5fbb35
Add thread_name in system.stack_trace
2021-05-17 12:44:57 +08:00
kssenii
e524d11222
Remove setting
2021-05-16 20:16:10 +00:00
kssenii
57da32472b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbitmq-fixes
2021-05-16 18:39:51 +00:00
Maksim Kita
843aa1ae28
Merge pull request #24169 from ucasFL/style
...
fix tiny code style
2021-05-16 18:20:34 +03:00
Maksim Kita
fa24fe82e1
Fixed FunctionConversion tests
2021-05-16 18:17:05 +03:00
Amos Bird
07b1be5a76
Fix distributed processing when using projection
2021-05-16 22:40:06 +08:00
feng lv
fb3a627bd3
fix tiny code style
2021-05-16 14:14:59 +00:00
alesapin
29726b5510
Merge pull request #24122 from ClickHouse/fix_table_startup
...
Set readonly mode if restarting thread failed to activate replica
2021-05-16 16:45:51 +03:00
Azat Khuzhin
5a8d61954a
Call IStorage::flush() for each table on DETACH DATABASE before shutdown
2021-05-16 13:28:35 +03:00
Azat Khuzhin
23981ffd0e
Introduce IStorage::flushAndShutdown()
2021-05-16 13:23:53 +03:00
Azat Khuzhin
f20799f683
Destroy Buffer() tables before others (within one database)
...
This will reduce amount of data that may be lost at shutdown.
v2: replace dynamic_cast with IStorage::isBuffer (@kitaisreal)
v3: replace IStorage::isBuffer with IStorage::flush (@alexey-milovidov)
v4: flush() for StorageProxy/StorageTableFunction
2021-05-16 13:23:53 +03:00
Amos Bird
e5cd597111
Fix add projection to replicated mergetree
2021-05-16 16:49:38 +08:00
Nikolai Kochetov
093b7e120a
Merge pull request #24062 from amosbird/projection-fix1
...
Fix empty key projection query analysis
2021-05-16 07:37:03 +03:00
Maksim Kita
196ca14c3a
Merge pull request #24150 from azat/whitespaces
...
Fix a few trailing whitespaces in output
2021-05-15 22:39:16 +03:00
Maksim Kita
947f28d430
IFunction refactoring
2021-05-15 20:33:15 +03:00
Kseniia Sumarokova
99e2f83c69
Merge pull request #23548 from ucasFL/table-comment
...
Implement table comments
2021-05-15 19:56:16 +03:00
alesapin
bae419be36
Fix typo
2021-05-15 18:29:07 +03:00
Maksim Kita
3dd7401985
Merge pull request #23412 from godliness/fix-kafka-with-parquet
...
Fix kafka storage does not work with parquet format messages
2021-05-15 18:15:58 +03:00
alesapin
852608c937
Don't abort on Auth request
2021-05-15 18:01:00 +03:00
alesapin
83627de2b8
Merge branch 'master' into standalone_keeper
2021-05-15 17:15:06 +03:00
alexey-milovidov
a9a66f6572
Merge pull request #24139 from Algunenano/aiotest_fix_tmpfs
...
TestReadAfterAIO: Use the current path instead of /tmp for temporal files
2021-05-15 17:04:41 +03:00
Azat Khuzhin
1cdeafe473
Remove superfluous trailing whitespace in Markdown format
2021-05-15 16:08:17 +03:00
Azat Khuzhin
a44ddd2064
Update distributed_group_by_no_merge description
2021-05-15 15:03:13 +03:00
Kseniia Sumarokova
6bcc99e5e6
Whitespace
2021-05-15 10:56:46 +03:00
Kseniia Sumarokova
9e65f376cc
Fix PVS check
2021-05-15 10:05:31 +03:00
Kseniia Sumarokova
1d73cd6406
Fix PVS check
2021-05-15 09:05:27 +03:00
Raúl Marín
e358a0963c
Clearer code based on review
2021-05-15 03:03:38 +02:00
Raúl Marín
0ddfc3df84
TestReadAfterAIO: Use the local path instead of /tmp for temporal files
...
/tmp might be mounted as tmpfs (default in ArchLinux) which is incompatible with
O_DIRECT (https://lore.kernel.org/lkml/459D290B.1040703@tmr.com/t/ ), making the
test fail:
```
[ RUN ] ReadBufferAIOTest.TestReadAfterAIO
unknown file: Failure
C++ exception with description "Cannot open file /tmp/filei6ZsCa/foo, errno: 22, strerror: Invalid argument" thrown in the test body.
[ FAILED ] ReadBufferAIOTest.TestReadAfterAIO (0 ms)
```
Instead create the tmp folder in the local path and delete it at the end
2021-05-15 02:13:51 +02:00
Maksim Kita
e785029ead
Merge pull request #24116 from hexiaoting/dev_explain
...
Fix bug for explain pipeline
2021-05-15 01:41:27 +03:00
mergify[bot]
d31021ea4f
Merge branch 'master' into fix-kafka-with-parquet
2021-05-14 21:10:12 +00:00
Maksim Kita
0b4b5eb808
FunctionComparison remove constant result for non constant arguments optimization
2021-05-15 00:03:26 +03:00
Maksim Kita
18894005ac
Update ExpressionJIT.cpp
2021-05-15 00:03:26 +03:00
Maksim Kita
f42b25e65c
Update ExpressionJIT.cpp
2021-05-15 00:03:26 +03:00
Maksim Kita
26be39f419
CompileExpressions comparison function constant case fix
2021-05-15 00:03:26 +03:00
Kruglov Pavel
1a2e3e605a
Merge pull request #21770 from taylor12805/arrow_array
...
Arrow array
2021-05-14 23:44:48 +03:00
Alexander Tokmakov
df5f3fbc9d
review suggestions
2021-05-14 19:11:40 +03:00
feng lv
8c82e3f1b9
fix style
...
fix
2021-05-14 15:50:05 +00:00
Amos Bird
a113acc40c
Fix empty key
2021-05-14 22:54:14 +08:00
Amos Bird
8de016d33a
Fix empty key projection query analysis
2021-05-14 22:26:26 +08:00
Alexander Tokmakov
41776ba5d9
fix
2021-05-14 15:55:30 +03:00
Alexander Kuzmenkov
5ed6a273d3
Merge pull request #24058 from ClickHouse/aku/uniq-two-level
...
lower two-level aggregation threshold for uniq test to avoid jitter
2021-05-14 15:50:48 +03:00