mastertheknife
65ca073f42
Allow unbundled xz (lzma) using USE_INTERNAL_XZ_LIBRARY=OFF
2021-04-04 01:05:07 +03:00
alexey-milovidov
cb4e119c3d
Merge pull request #22561 from traceon/apple-clang-compilation-fix
...
AppleClang compilation fix
2021-04-04 00:25:58 +03:00
Alexey Milovidov
3050486308
Fix assert in Arena
2021-04-03 22:50:49 +03:00
alexey-milovidov
67fdfd4b89
Merge pull request #22560 from azat/tiny-log-rwlock-ub-fix
...
Fix UB by unlocking the rwlock of the TinyLog from the same thread
2021-04-03 21:59:01 +03:00
Denis Glazachev
36b03b2740
Compilation fix
2021-04-03 22:17:51 +04:00
Azat Khuzhin
6cebd3ee1f
Fix UB by unlocking the rwlock of the TinyLog from the same thread
...
Before this patch the build with libstdc++ hangs for
00967_insert_into_distributed_different_types test (and I guess some
others), this is because the rwlock is acquired from different thread as
it was unlocked which causes UB [1], fix this by moving unlock into
writeSuffix().
[1]: The pthread_rwlock_unlock() function shall release a lock held on
the read-write lock object referenced by rwlock. Results are undefined
if the read-write lock rwlock is not held by the **calling thread**.
2021-04-03 16:04:39 +03:00
Azat Khuzhin
10d35867e3
Drop mutable qualifier for StorageTinyLog::rwlock
2021-04-03 16:03:17 +03:00
alexey-milovidov
30ece2c28f
Merge pull request #22510 from vdimir/merge-join-lc-bug-fix
...
Convert right block to full in MergeJoin
2021-04-03 12:54:34 +03:00
alexey-milovidov
143f4b59a0
Merge pull request #22527 from ClickHouse/fix-missing-nl-parse-tsv
...
Fix deserialization of empty string without newline at end of TSV format
2021-04-03 12:51:10 +03:00
alexey-milovidov
2de808ec5a
Update SerializationNullable.cpp
2021-04-03 12:50:57 +03:00
alexey-milovidov
687d1e9b54
Merge pull request #22528 from kitaisreal/format-settings-null-as-default-default-value-fix
...
FormatSettings null_as_default default value fix
2021-04-03 12:49:08 +03:00
kssenii
13d1f17d3e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres
2021-04-03 08:00:09 +00:00
alexey-milovidov
9f5cd35a69
Merge pull request #22323 from abyss7/poco-http2
...
Follow up to #19516
2021-04-03 02:09:10 +03:00
alexey-milovidov
3d860fc6ac
Merge pull request #22322 from abyss7/issue-21907
...
Do not limit HTTP chunk size
2021-04-03 01:58:22 +03:00
Maksim Kita
07d5a1ec21
ClickHouseDictionarySource loop fix
2021-04-03 00:40:07 +03:00
Maksim Kita
5ba6c7b731
FormatSettings null_as_default default value fix
2021-04-03 00:05:40 +03:00
Alexey Milovidov
7a4637c645
Fix deserialization of empty string without newline at end of TSV format
2021-04-02 23:54:03 +03:00
alexey-milovidov
c3a9cbe01c
Merge pull request #22421 from ClickHouse/fix-buffer-overflow-in-token-extractor
...
Fix buffer overflow in token extractor
2021-04-02 22:08:28 +03:00
alexey-milovidov
840ecb5e99
Update MergeJoin.cpp
2021-04-02 21:07:11 +03:00
Alexander Kuzmenkov
d0037329cf
Merge pull request #22459 from ClickHouse/aku/window-frame-offset
...
fix window frame offset check and add more tests
2021-04-02 19:49:59 +03:00
kssenii
2de6b99f84
Better names
2021-04-02 16:12:14 +00:00
kssenii
02c6332e86
Pass null values properly
2021-04-02 18:45:42 +03:00
robot-clickhouse
39b5674bef
Auto version update to [21.5.1.1] [54450]
2021-04-02 18:34:29 +03:00
Alexander Kuzmenkov
e7df8893df
Merge pull request #22300 from ClickHouse/trying_parallel_func_tests
...
Trying parallel func tests
2021-04-02 18:09:58 +03:00
vdimir
c8f51998ba
Remove LowCardinality from right block sample in MergeJoin
2021-04-02 17:51:02 +03:00
tavplubix
93bd2c3b67
Merge pull request #18978 from myrrc/feature/attach-partition-local
...
Lookup parts/partitions in replica's own detached/ folder before downloading them from other replicas
2021-04-02 17:46:03 +03:00
vdimir
8cd841c4ac
Handle lowcardinality block in MergeJoin extractMinMax
2021-04-02 16:55:42 +03:00
tavplubix
c1ab9de720
Update MergeTreeDataPartChecksum.cpp
2021-04-02 15:57:30 +03:00
Alexander Kuzmenkov
16c5658df6
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-02 15:16:24 +03:00
Anton Popov
a000d6154c
fix clang-tidy
2021-04-02 15:10:49 +03:00
Ivan Lezhankin
8a455d347a
Fix build
2021-04-02 14:08:32 +03:00
Kruglov Pavel
6fb70cfd3f
Merge pull request #22443 from Avogar/hedged
...
Remove socket from epoll before cancelling packet receiver in HedgedConnections to prevent possible race
2021-04-02 11:49:21 +03:00
Vladimir
9b40f384e9
Merge pull request #20622 from vdimir/issue-20497
2021-04-02 11:48:29 +03:00
Maksim Kita
3b799c5d7d
Merge pull request #22413 from kitaisreal/added-function-dict-get-or-null
...
Added function dictGetOrNull
2021-04-02 11:39:01 +03:00
Maksim Kita
d06fb1197a
Merge pull request #22096 from kitaisreal/hierarchy-dictionaries-updated
...
Refactored hierarchy dictionaries interface
2021-04-02 11:38:01 +03:00
Kseniia Sumarokova
b80951b06a
Merge pull request #21519 from fastio/aliases_to_visitParam
...
add aliases to visitParam/visitParamExtract* functions
2021-04-02 10:31:32 +03:00
Anton Popov
56320bcbfd
minor refactoring
2021-04-02 01:16:54 +03:00
Anton Popov
88cd775f6a
Merge remote-tracking branch 'upstream/master' into HEAD
2021-04-02 00:14:03 +03:00
kssenii
b66e0401f6
Lowercase
2021-04-01 23:07:01 +03:00
Mike Kot
c947280dfc
Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local
2021-04-01 21:38:51 +03:00
Mike Kot
60e5946449
Removed needless logging, fixed data part initialization while checking
...
in the detached folder
2021-04-01 20:11:14 +03:00
Alexander Kuzmenkov
d006c5532e
fix window frame offset check and add more tests
2021-04-01 18:56:58 +03:00
Pavel Kruglov
6f65a72112
Remove socket from epoll before cancelling packet receiver to prevent race
2021-04-01 17:35:00 +03:00
alexey-milovidov
2d1a2ddb9b
Merge pull request #22411 from nvartolomei/nv/replication-queue-directory-already-exists
...
Delete temporary fetch directory if it already exists
2021-04-01 17:12:51 +03:00
alexey-milovidov
c7f134d0b7
Merge pull request #22430 from mastertheknife/ppc64le_compile_stacktrace
...
ppc64le: Fix compile and stack trace
2021-04-01 17:11:32 +03:00
kssenii
99f0b08ac3
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres
2021-04-01 13:48:33 +00:00
Alexey Milovidov
39c3efdb00
Fix build
2021-04-01 16:38:04 +03:00
Alexey Milovidov
fbb4b05df0
Merge remote-tracking branch 'origin' into fix-buffer-overflow-in-token-extractor
2021-04-01 16:30:10 +03:00
Ivan Lezhankin
d9d143675a
Merge remote-tracking branch 'upstream/master' into issue-21907
2021-04-01 16:29:26 +03:00
alexey-milovidov
28c7980fba
Merge pull request #22427 from ClickHouse/protocol-break-oom
...
Better exception message in client in case of exception while writing blocks
2021-04-01 16:28:50 +03:00
Ivan Lezhankin
19550d5173
Initialize pointer with nullptr
2021-04-01 16:26:13 +03:00
alexey-milovidov
e3aa47c525
Merge pull request #22425 from ClickHouse/parallel-formatting-memory
...
Add memory accounting in parallel formatting
2021-04-01 16:23:48 +03:00
alesapin
85fbb7eccf
Merge pull request #21976 from ClickHouse/try-fix-excessive-rows-for-collapsing-merge
...
CollapsingSortedAlgorithm should not return more than index_granularity rows
2021-04-01 16:20:28 +03:00
Ivan Lezhankin
cc1c439ad8
Merge remote-tracking branch 'upstream/master' into poco-http2
2021-04-01 16:20:15 +03:00
Alexander Kuzmenkov
c7bf01fa33
typo
2021-04-01 16:08:18 +03:00
Alexander Kuzmenkov
ba64bc8557
quick fix for inaccessible DatabaseReplicated
2021-04-01 15:21:29 +03:00
alesapin
8fc01195ce
Some improvements
2021-04-01 15:19:39 +03:00
kssenii
8300a74f5a
Fix
2021-04-01 12:09:44 +00:00
Maksim Kita
2c522cf8bb
Update FunctionsExternalDictionaries.h
2021-04-01 15:06:08 +03:00
kssenii
2c70183652
Fix settings
2021-04-01 11:41:22 +00:00
kssenii
522d170588
Add default port
2021-04-01 11:30:20 +00:00
Alexander Kuzmenkov
b669b3aca9
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-01 14:25:04 +03:00
kssenii
747967a9bb
Better
2021-04-01 10:27:24 +00:00
Maksim Kita
42ae39f78f
Updated tests
2021-04-01 12:13:36 +03:00
mastertheknife
2a44a808a6
ppc64le: Fix compile and stack trace
2021-04-01 10:44:26 +03:00
alexey-milovidov
956dba1d9c
Merge pull request #22396 from ClickHouse/stress-oom
...
Fix some OOMs in stress tests
2021-04-01 10:12:31 +03:00
kssenii
799a1f177e
Rename to SimpleJSON*
2021-04-01 14:24:10 +08:00
fastio
4daf011e0b
add aliases to visitParam/visitParamExtract* functions
2021-04-01 14:24:10 +08:00
alexey-milovidov
5ae494521d
Merge pull request #22389 from ClickHouse/map-op-ubsan
...
Fix UBSan report in mapOp
2021-04-01 07:35:44 +03:00
alexey-milovidov
95d761f350
Merge pull request #22412 from ClickHouse/aku/invalid-frame-start
...
fix error message for invalid window frame start
2021-04-01 07:17:03 +03:00
Alexey Milovidov
9d65d83c83
Better exception message in client in case of exception while writing blocks
2021-04-01 07:12:07 +03:00
Alexey Milovidov
b0539eb28f
Move method
2021-04-01 06:28:25 +03:00
Alexey Milovidov
14f2cf9b80
Add memory accounting in parallel formatting
2021-04-01 06:17:23 +03:00
Alexey Milovidov
7db8fcdebd
Fix buffer overflow in TokenExtractor #19233
2021-04-01 05:37:19 +03:00
Alexey Milovidov
7589a014f9
Better fix
2021-04-01 03:44:02 +03:00
Alexey Milovidov
c9fac714b4
Merge branch 'master' into map-op-ubsan
2021-04-01 03:27:33 +03:00
Alexey Milovidov
12ff56673b
Merge branch 'master' into datasketches-cmake
2021-04-01 03:17:05 +03:00
alexey-milovidov
bbd41d64c2
Update DataPartsExchange.cpp
2021-04-01 02:59:47 +03:00
alexey-milovidov
538be4086b
Recursive removal is extremely dangerous.
2021-04-01 02:59:23 +03:00
Alexey Milovidov
e67d93d165
Merge branch 'master' into stress-oom
2021-04-01 01:43:40 +03:00
alexey-milovidov
2a88db677e
Merge pull request #22407 from amosbird/m
...
Correctly place debug helpers
2021-04-01 01:40:35 +03:00
Maksim Kita
2ad29a541a
Updated interfaces
2021-04-01 00:12:21 +03:00
Maksim Kita
f4ab8b84b6
Added comment
2021-03-31 22:56:30 +03:00
kssenii
18dd8dd79b
Typo
2021-03-31 17:05:41 +00:00
Alexander Kuzmenkov
deaba9f722
Update formatReadable.cpp
2021-03-31 18:40:33 +03:00
Alexander Kuzmenkov
20066d8cd9
Update ExpressionElementParsers.cpp
2021-03-31 18:17:44 +03:00
Maksim Kita
f2e6a0a97d
Added function dictGetOrNull
2021-03-31 17:46:13 +03:00
Alexander Kuzmenkov
0e75f7bad5
fix error message for invalid window frame start
2021-03-31 17:12:48 +03:00
kssenii
4e849f3b77
Less logging
2021-03-31 14:06:24 +00:00
kssenii
ba5ddd5c32
Do not parse replicas in PoolWithFailover
2021-03-31 14:03:52 +00:00
Nicolae Vartolomei
5cd1dc485f
Delete temporary fetch directory if it already exists
...
It could be left there after a network timeout, a system crash, or
checksum issues.
The downside of this PR is that it would be harder to debug checksum
issues if replication will continuously delete and try to fetch the same
part.
2021-03-31 14:14:58 +01:00
Maksim Kita
55984e849c
Merge branch 'master' into hierarchy-dictionaries-updated
2021-03-31 15:55:07 +03:00
Amos Bird
061e3c7d81
Correctly place debug helpers
2021-03-31 18:28:58 +08:00
Maksim Kita
9772d30754
Fixed performance tests
2021-03-31 13:21:30 +03:00
tavplubix
6c1e2a0d87
Merge pull request #21690 from ClickHouse/test_multiple_nodes
...
Run three nodes with Replicated database and NuKeeper in CI
2021-03-31 12:31:13 +03:00
vdimir
0353775086
Pass inner_columns to PredicateRewriteVisitorData::rewriteSubquery explicitly
2021-03-31 12:28:25 +03:00
vdimir
7f1b67db06
Merge branch 'master' into issue-20497
2021-03-31 12:16:36 +03:00
Vladimir
57eb5f8772
Merge pull request #22070 from Jokser/disk-s3-migration
2021-03-31 11:06:40 +03:00
alexey-milovidov
124d9e14ad
Merge pull request #22387 from ClickHouse/fix-msan-range
...
Fix MSan report for function `range` with UInt256.
2021-03-31 09:05:10 +03:00
Alexey Milovidov
2f7ac2424d
Merge branch 'master' into datasketches-cmake
2021-03-31 08:47:27 +03:00