Commit Graph

16650 Commits

Author SHA1 Message Date
Azat Khuzhin
d610974c4c Set tcp_keep_alive_timeout to 300 by default
This may fix possible issues with remote queries, when remote server
abnormaly terminates and the initiator does not have proper timeout.

This should not harm anything, since the timeout is pretty huge (300
seconds).
2021-08-19 09:06:41 +03:00
Nikolai Kochetov
7dcff5c90e
Merge pull request #27742 from amosbird/projection-improvement3
Improve projection analysis.
2021-08-19 12:11:20 +03:00
alexey-milovidov
528f73eebf
Merge pull request #27753 from azat/osx-jemalloc-fix
Fix jemalloc under osx (zone_register() had been optimized out again)
2021-08-19 11:31:05 +03:00
alexey-milovidov
86af58f54f
Merge pull request #27774 from amosbird/distributed-fix
Fix some leftover TODO when asynchronous connection draining is enabled
2021-08-19 11:26:31 +03:00
Kseniia Sumarokova
34f5787f0a
Merge pull request #27824 from den-crane/patch-25
Fix setting name "allow_experimental_database_materialized_postgresql" in the error message
2021-08-19 11:25:54 +03:00
alexey-milovidov
215385e4d0
Merge pull request #27794 from filimonov/kafka_null_messages
Avoid nullptr dereference during processing of NULL messages in Kafka for some formats
2021-08-19 11:25:07 +03:00
Alexey Milovidov
ba45bd834f Close #27816 2021-08-19 11:22:57 +03:00
alexey-milovidov
a27808be98
Revert "Do not miss exceptions from the ThreadPool" 2021-08-19 11:17:47 +03:00
Nikolai Kochetov
3e44ef437e
Merge pull request #26639 from ClickHouse/fix-bad-cast
Fix bad cast
2021-08-19 11:17:26 +03:00
alexey-milovidov
190ea327e9
Merge pull request #27826 from Avogar/fix-short-circuit-fuzz
Fix bug in short-circuit found by fuzzer
2021-08-19 11:06:22 +03:00
alesapin
0aec151719
Merge pull request #27808 from ClickHouse/fix_replicas_may_diverge
Fix a couple of bugs that may cause replicas to diverge
2021-08-19 09:58:07 +03:00
alesapin
4e9bc06fcf
Merge pull request #27807 from ClickHouse/fix_bug_checking_drop_range
Fix `Unexpected merged part intersects drop range`
2021-08-19 09:53:21 +03:00
Vitaly Baranov
65ee9a1272
Merge pull request #26864 from vitlibar/refactor-sessions
Introduce sessions
2021-08-19 01:38:51 +03:00
Maksim Kita
75cb85846f
Merge pull request #27804 from amosbird/fixshutdown
Proper shutdown global context
2021-08-18 22:11:38 +03:00
Pavel Kruglov
240398d58c Fix bug in expand() method 2021-08-18 19:13:07 +03:00
Kruglov Pavel
cd07cabada
Merge pull request #27788 from Avogar/nullable-decimal
Set function divide as suitable for short-circuit in case of Nullable(Decimal)
2021-08-18 19:01:44 +03:00
Denny Crane
df3ba20642
Update InterpreterCreateQuery.cpp
Fix setting name "allow_experimental_database_materialized_postgresql"
2021-08-18 12:05:43 -03:00
tavplubix
9b45b26dd6
Merge pull request #27655 from FArthur-cmd/import_from_infile_syntax
Import `FROM INFILE`
2021-08-18 15:36:32 +03:00
Alexander Tokmakov
0ed046eb7b remove irrelevant comments 2021-08-18 15:33:11 +03:00
alexey-milovidov
bcfab277e7
Update ReadBufferFromKafkaConsumer.cpp 2021-08-18 15:25:54 +03:00
Vitaly Baranov
fabd7193bd Code cleanups and improvements. 2021-08-18 14:24:52 +03:00
Vasily Nemkov
51ffc33457 Introduce sessions.
This is required to add system.session_log table.
2021-08-18 14:24:52 +03:00
Kruglov Pavel
9532e2f962
Merge branch 'master' into nullable-decimal 2021-08-18 14:03:20 +03:00
Nikolai Kochetov
a46fe11e2c Try fix test_mutations_with_merge_background_task 2021-08-18 13:30:02 +03:00
Alexander Tokmakov
09ff66da0e fix a couple of bugs that may cause replicas to diverge 2021-08-18 12:50:46 +03:00
Mikhail Filimonov
05d77d2873
Safer processing of NULL messages in Kafka for some formats 2021-08-18 11:26:57 +02:00
alesapin
5cc98c67a4 Fix 2021-08-18 11:56:18 +03:00
Vitaly Baranov
fd33f2a2fe
Merge pull request #27426 from aiven/kmichel-replicated-access-storage
ZooKeeper replication for users, roles, row policies, quotas and profiles.
2021-08-18 10:37:25 +03:00
Maksim Kita
419cecdeaf
Merge pull request #27795 from kitaisreal/dictionaries-key-types-refactoring
Dictionaries key types refactoring
2021-08-18 10:30:21 +03:00
Amos Bird
523de98e2d
Proper shutdown global context 2021-08-18 15:23:32 +08:00
Azat Khuzhin
6a600e5f6f jemalloc: fix under osx (zone_register() had been optimized out again)
v2: use ld -u
v3: move -u to executable
2021-08-18 09:47:59 +03:00
alexey-milovidov
eb3bbdfab5
Merge pull request #27680 from ClickHouse/decimal-no-trailing-zeros
Remove trailing zeros from Decimal serialization #15794
2021-08-18 05:24:13 +03:00
Kevin Michel
e33a2bf7bc
Add ReplicatedAccessStorage
This stores Access Entities in ZooKeeper and replicates them across an entire cluster.

This can be enabled by using the following configuration :

    <user_directories>
        <replicated>
            <zookeeper_path>/clickhouse/access/</zookeeper_path>
        </replicated>
    </user_directories>
2021-08-18 00:00:18 +02:00
Maksim Kita
6c82ac2024 Fixed tests 2021-08-17 23:59:08 +03:00
Kseniia Sumarokova
78105ecba7
Merge pull request #27757 from kssenii/fix-intersect-cast
Fix intersect/except with limit
2021-08-17 21:37:37 +03:00
tavplubix
baaaf996c2
Update getSourceFromFromASTInsertQuery.cpp 2021-08-17 21:15:44 +03:00
Maksim Kita
b4f41bd824 Dictionaries key types refactoring 2021-08-17 20:35:43 +03:00
Kevin Michel
d346d19942
Extract AccessEntity parsing from DiskAccessStorage 2021-08-17 16:26:28 +02:00
Filatenkov Artur
3fc0e577e3
remove trailing whitespaces 2021-08-17 17:22:38 +03:00
tavplubix
6eb15eb949
Update DDLWorker.cpp 2021-08-17 17:05:37 +03:00
Pavel Kruglov
bc853d250f Set function divide as suitable for short-circuit in case of Nullable(Decimal) 2021-08-17 16:24:28 +03:00
Maksim Kita
ad53ffc807
Merge pull request #27629 from kitaisreal/complex-key-range-hashed-dictionary
Added ComplexKeyRangeHashed dictionary
2021-08-17 16:14:18 +03:00
Nikita Mikhaylov
cc8ad0a4e7
Merge pull request #27733 from Algunenano/i27620_take2
Refactor arrayJoin check on partition expressions
2021-08-17 15:57:16 +03:00
Artur
e8e650b16b correct infile form local 2021-08-17 12:01:31 +00:00
Nikolai Kochetov
98eb619b4b
Merge pull request #23367 from Avogar/short-circuit
Implement short circuit function evaluation
2021-08-17 12:36:07 +03:00
Amos Bird
27ff081403
Fix some leftover TODOs 2021-08-17 17:22:12 +08:00
Kseniia Sumarokova
0950584f88
Update ASTSelectWithUnionQuery.cpp 2021-08-17 11:49:02 +03:00
kssenii
8da7f406af Better comment 2021-08-17 11:03:01 +03:00
kssenii
d3bf31d697 Merge branch 'fix-intersect-cast' of github.com:kssenii/ClickHouse into fix-intersect-cast 2021-08-17 10:58:02 +03:00
kssenii
2239ae91a3 Fix 2021-08-17 10:57:13 +03:00