Maksim Kita
e08fc94137
Merge pull request #26678 from CurtizJ/minor-bugfix
...
Minor bugfix
2021-07-22 15:54:24 +03:00
Nikolai Kochetov
3ed3f7a9f7
Fix integration tests.
2021-07-22 13:38:22 +03:00
feihengye
6230ad0160
#26640 change kafka engine max consumers from 16 to physical cpu cores ( #26642 )
...
Co-authored-by: jhonye <jhonye@tencent.com>
2021-07-22 11:54:08 +03:00
Nikolai Kochetov
5ffd99dfd4
Merge pull request #25674 from amosbird/distributedreturnconnection
...
Drain connection asynchronously
2021-07-22 11:04:49 +03:00
Anton Popov
a36c387e4e
fix iterating over list
2021-07-21 21:47:20 +03:00
Nikolai Kochetov
f38de35b14
Rename some constants.
2021-07-21 19:13:17 +03:00
Nikolai Kochetov
65d3e713d6
Fix another one test.
2021-07-21 15:16:13 +03:00
alexey-milovidov
fcca3e3e56
Merge pull request #26423 from ClickHouse/fix-header-for-scalar-query-with-empty-result
...
Fix incompatible result type for scalar queries with empty result.
2021-07-21 02:07:04 +03:00
Nikolai Kochetov
179ec05a72
Remove some streams.
2021-07-20 21:18:43 +03:00
Nikita Mikhaylov
348a3abb0b
Merge pull request #26508 from kitaisreal/storage-dictionary-quoted-names-fix
...
Storage Dictionary quoted names fix
2021-07-20 19:35:48 +03:00
BoloniniD
49ee24e824
What if we replace unique_lock with shared?
2021-07-20 19:22:41 +03:00
alexey-milovidov
3bcef76a9d
Merge pull request #26529 from kssenii/fixing-rabbitmq
...
Fix rabbitmq shutdown in case rabbitmq setup was not started
2021-07-20 16:41:25 +03:00
Nikita Mikhaylov
47c1bb3416
Merge pull request #25822 from ClickHouse/fix_no_column_materialized_mysql
...
Fix 'Not found column' error in MaterializeMySQL
2021-07-20 15:03:54 +03:00
Nikita Mikhaylov
4d3f828beb
Merge pull request #26314 from kssenii/fix-hdfs-crash
...
Fix hdfs crash
2021-07-20 15:01:56 +03:00
Maksim Kita
9b53f4f2b3
Storage Dictionary quoted names fix
2021-07-20 11:35:10 +03:00
kssenii
63c05e6e14
Fix rabbitmq shutdown in case rabbitmq setup was not started
2021-07-19 21:06:10 +00:00
Amos Bird
dbfb699690
Asynchronously drain connections.
2021-07-19 21:53:29 +08:00
Anton Popov
fa6857920d
fix arcadia
2021-07-19 16:45:35 +03:00
Nikolai Kochetov
7a24e72e76
Merge branch 'master' into fix-header-for-scalar-query-with-empty-result
2021-07-19 15:48:44 +03:00
Nikolai Kochetov
96e20e2641
Fix some tests.
2021-07-19 15:35:55 +03:00
mergify[bot]
39f71f4a08
Merge branch 'master' into fix_no_column_materialized_mysql
2021-07-19 12:27:38 +00:00
Kseniia Sumarokova
b0ddc4fb30
Merge pull request #26364 from kssenii/fixing-date32
...
Continuation of #25774
2021-07-18 21:44:45 +03:00
alexey-milovidov
b52411a715
Merge pull request #12455 from amosbird/npc
...
Nullable primary key with correct KeyCondition
2021-07-18 17:52:20 +03:00
BoloniniD
a9deeb6a78
Trying to fix freeze on union all
2021-07-18 15:55:24 +03:00
Alexey Milovidov
261a220227
Remove some code
2021-07-17 21:06:46 +03:00
alexey-milovidov
7dda0da027
Merge pull request #26461 from azat/integration-tests-fixes-v21.9.1.7477
...
Fix flaky test_replicated_mutations (due to lack of threads in pool)
2021-07-17 19:22:30 +03:00
alexey-milovidov
b16e01507f
Merge pull request #26464 from azat/ubsan-dir-mon-fix
...
Fix undefined-behavior in DirectoryMonitor (for exponential back off)
2021-07-17 18:18:42 +03:00
Alexey Milovidov
b3b39d440d
Accomodate Arcadia trash
2021-07-17 18:12:33 +03:00
BoloniniD
19b673fb3b
Style fix for error message
2021-07-17 15:30:03 +03:00
Alexey Milovidov
9bef9d4f2d
Revert "Auto version update to [21.10.1.1] [54455]"
...
This reverts commit f2b1395127
.
2021-07-17 13:17:30 +03:00
alexey-milovidov
ca37548888
Merge pull request #26430 from azat/fix-dist-msg
...
Fix "While sending batch" (on Distributed async send)
2021-07-17 13:01:36 +03:00
Azat Khuzhin
d2967ffa0b
Fix undefined-behavior in DirectoryMonitor (for exponential back off)
...
UBsan reports [1]:
../src/Storages/Distributed/DirectoryMonitor.cpp:435:54: runtime error: 2.30584e+19 is outside the range of representable values of type 'unsigned long'
[1]: https://clickhouse-test-reports.s3.yandex.net/0/10f3500b3be73c9498d994d189784c7d44ed6793/stress_test_(undefined).html#fail1
2021-07-17 12:18:05 +03:00
Azat Khuzhin
071dc7c3f5
Improve "Not executing log entry queue-X of type MUTATE_PART" message
2021-07-17 11:50:04 +03:00
BoloniniD
2e05063298
Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading
2021-07-17 10:30:18 +03:00
robot-clickhouse
f2b1395127
Auto version update to [21.10.1.1] [54455]
2021-07-17 08:45:10 +03:00
Alexey Milovidov
bd924a5b8a
Whitespace
2021-07-17 01:59:39 +03:00
alexey-milovidov
bc907bd27c
Merge pull request #26336 from azat/dist-per-table-monitor-settings
...
Add ability to set Distributed directory monitor settings via CREATE TABLE
2021-07-17 01:49:40 +03:00
alexey-milovidov
1701cc429d
Merge pull request #26353 from azat/optimize_distributed_group_by_sharding_key-fix
...
Fix optimize_distributed_group_by_sharding_key for multiple columns
2021-07-17 01:45:10 +03:00
alexey-milovidov
c373b86743
Merge pull request #26371 from CurtizJ/improve-perf-get-columns
...
Improve performance of getting list of columns
2021-07-17 01:34:15 +03:00
alexey-milovidov
149c5a0e9b
Merge pull request #26381 from ClickHouse/separate-step-for-distributed
...
Add separate step to read from remote.
2021-07-17 01:29:43 +03:00
Azat Khuzhin
80e614318c
Fix "While sending batch" (on Distributed async send)
2021-07-16 22:27:46 +03:00
Kseniia Sumarokova
e844cec16f
Merge branch 'master' into fix-hdfs-crash
2021-07-16 22:21:30 +03:00
mergify[bot]
126a2d7ad1
Merge branch 'master' into dist-per-table-monitor-settings
2021-07-16 13:32:40 +00:00
BoloniniD
fcbfa27f33
Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading
2021-07-16 16:28:26 +03:00
Vitaly Baranov
427813071d
Merge pull request #26363 from vitlibar/fix-crash-login-as-dropped-user
...
Fix possible crash when login as dropped user
2021-07-16 09:47:35 +03:00
Azat Khuzhin
a3653bd665
Fix overflow in exponential sleep in DirectoryMonitor
...
UBsan reports:
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/Storages/Distributed/DirectoryMonitor.cpp:435:53 in
../src/Storages/Distributed/DirectoryMonitor.cpp:435: runtime error: 1.15292e+19 is outside the range of representable values of type 'long'
0 0x1df0c286 in DB::StorageDistributedDirectoryMonitor::run() obj-x86_64-linux-gnu/../src/Storages/Distributed/DirectoryMonitor.cpp:435:53
It is pretty easy to reproduce by limiting max_server_memory_usage
before staring the test.
2021-07-16 04:10:47 +03:00
Azat Khuzhin
f3d3ec44a6
Add ability to set Distributed directory monitor settings via CREATE TABLE
2021-07-16 04:10:47 +03:00
Anton Popov
9e3af27f40
better performance of getSampleBlockForColumns
2021-07-15 20:36:48 +03:00
Nikolai Kochetov
f36d14f68f
Add separate step to read from remote.
2021-07-15 19:15:16 +03:00
Vitaly Baranov
6c74b44729
Fix possible crash when login as dropped user.
2021-07-15 19:01:34 +03:00
Anton Popov
cfdf8fadcf
fix build
2021-07-15 18:31:21 +03:00
BoloniniD
f27e69a31f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading
2021-07-15 17:37:37 +03:00
Anton Popov
5f71a6f5bb
improve performance of getting columns list
2021-07-15 16:29:01 +03:00
kssenii
3ba2d114d5
Revert "Merge pull request #26352 from ClickHouse/revert-25774-datatype-date32"
...
This reverts commit 94a210650f
, reversing
changes made to 0893b9ff8e
.
2021-07-15 11:41:52 +00:00
Alexey Milovidov
d984fc4301
Fix flaky integration test
2021-07-15 13:35:37 +03:00
alexey-milovidov
9ba4064c86
Revert "Datatype Date32, support range 1925 to 2283"
2021-07-15 10:53:35 +03:00
Azat Khuzhin
7b209694d5
Fix optimize_distributed_group_by_sharding_key for multiple columns
...
Before we incorrectly check that columns from GROUP BY was a subset of
columns from sharding key, while this is not right, consider the
following example:
select k1, any(k2), sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1
Here the columns from GROUP BY is a subset of columns from sharding key,
but the optimization cannot be applied, since there is no guarantee that
particular shard contains distinct values of k1.
So instead we should check that GROUP BY contains all columns that is
required for calculating sharding key expression, i.e.:
select k1, k2, sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1, k2
2021-07-15 09:09:58 +03:00
alexey-milovidov
0893b9ff8e
Merge pull request #26218 from amosbird/projection-improve1
...
Aggressive IN index analysis for projections.
2021-07-15 08:13:45 +03:00
alexey-milovidov
323b60fcea
Merge pull request #26321 from ClickHouse/tavplubix-patch-2
...
Fix rare logical race in `cloneReplica(...)`
2021-07-15 08:00:26 +03:00
kssenii
f20ea87bfb
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-sqlite-database-path-check
2021-07-14 20:49:05 +00:00
Kseniia Sumarokova
e42a26a585
Merge pull request #26234 from jasine/master
...
convert timestamp and timestamptz data types to DateTime64 in postgres engine
2021-07-14 23:42:51 +03:00
kssenii
61652acede
Add test
2021-07-14 22:49:16 +03:00
tavplubix
41bb8acbb5
Update StorageReplicatedMergeTree.cpp
2021-07-14 20:05:50 +03:00
Filatenkov Artur
f1702d356e
Merge pull request #26120 from lthaooo/settings-merge_selecting_sleep_ms
...
add merge_selecting_sleep_ms setting
2021-07-14 18:28:47 +03:00
Amos Bird
28b567a01b
Update
2021-07-14 23:09:17 +08:00
alexey-milovidov
55fc7323fd
Update MergeTreeDataSelectExecutor.h
2021-07-14 22:56:52 +08:00
alexey-milovidov
1ef068596c
Update MergeTreeDataSelectExecutor.cpp
2021-07-14 22:56:52 +08:00
Amos Bird
0558ecdc3f
Aggressive IN index analysis for projections.
2021-07-14 22:56:52 +08:00
kssenii
d62cbbb8a5
Unification
2021-07-14 13:16:30 +00:00
Anton Popov
e2249bf1e5
Merge pull request #26256 from zxc111/issue-822
...
Check hash function at table creation
2021-07-14 14:16:02 +03:00
Zhichang Yu
fe5d17680e
Merge remote-tracking branch 'origin/master' into zero_copy_hdfs
2021-07-14 02:12:28 +00:00
jasine
ff5ad15aa5
fix: MaterializedPostgreSQL style
2021-07-14 09:27:51 +08:00
jasine
bd59ca22df
fix: style and MaterializedPostgreSQL test ( #3 )
...
fix: style and MaterializedPostgreSQL test (#3 )
2021-07-14 08:51:14 +08:00
kssenii
b393603b57
Fix build
2021-07-13 22:25:26 +00:00
Nikita Mikhaylov
601d04f55d
ignore
2021-07-13 22:16:27 +00:00
kssenii
da09ce3f20
Remove unused
2021-07-13 19:51:02 +00:00
kssenii
a90df59b92
Better
2021-07-13 19:46:06 +00:00
jasine
a0ec8e9878
fix: DateTime64 on MaterializedPostgreSQL ( #2 )
...
* fix: DateTime64 on MaterializedPostgreSQL
* Update StoragePostgreSQL.cpp
2021-07-14 01:59:33 +08:00
Alexander Tokmakov
f0ed6be269
Merge branch 'master' into system_zookeeper_log
2021-07-13 20:49:37 +03:00
Nikita Mikhaylov
33735d02ab
fix
2021-07-13 17:11:40 +00:00
Maksim Kita
3d05f07ece
Merge pull request #25917 from excitoon-favorites/defaultblocksizeprediction
...
Using required columns for block size prediction
2021-07-13 20:05:41 +03:00
Vitaly Baranov
3c395389b0
Merge pull request #24206 from alexelex/alexelex-encryption-1
...
Data encryption on VFS level
2021-07-13 19:50:25 +03:00
mergify[bot]
d5898ecba6
Merge branch 'master' into fix_no_column_materialized_mysql
2021-07-13 14:03:05 +00:00
zxc111
7b2fed2951
use flag to check sample_condition
2021-07-13 21:17:22 +08:00
kssenii
9688efde96
Merge branch 'add-sqlite-database-path-check' of github.com:kssenii/ClickHouse into add-sqlite-database-path-check
2021-07-13 12:40:43 +00:00
kssenii
f86817d57c
Check inclusion inside user_files
2021-07-13 12:38:37 +00:00
Kseniia Sumarokova
d80bcf0bd3
Update StorageSQLite.cpp
2021-07-13 14:40:27 +03:00
xiedeyantu
df438f4288
Modify code comments
2021-07-13 17:52:24 +08:00
kssenii
48ffd3b81d
Add check for sqlite database path
2021-07-13 09:40:46 +00:00
alexey-milovidov
b4741ed2fe
Merge pull request #23140 from amosbird/fixrandomoneshardinsert
...
Fix misbehaviors when insert_distributed_one_random_shard = 1
2021-07-13 11:47:53 +03:00
alexey-milovidov
af7ecb7f7a
Merge pull request #25798 from azat/optimize_skip_unused_shards_rewrite_in-types-fix
...
Fix optimize_skip_unused_shards_rewrite_in for non-UInt64 types
2021-07-13 11:40:59 +03:00
alexey-milovidov
101ee12f18
Merge pull request #26038 from amosbird/projection-fix11
...
Fix normal projection with prewhere
2021-07-13 11:40:08 +03:00
Vitaly Baranov
e086e5e384
Merge branch 'master' into alexelex-encryption-1
2021-07-13 11:28:41 +03:00
jasine
9832c48c33
fix postgres test and array of DateTime64 ( #1 )
...
fix postgres test and array of DateTime64
2021-07-13 15:28:15 +08:00
Zhichang Yu
b4e6689bf9
fix test_hdfs_zero_copy_replication_move[tiered_copy-2]
2021-07-13 07:20:23 +00:00
Zhichang Yu
5047c758f4
fix per review
2021-07-13 07:20:20 +00:00
Zhichang Yu
fbd5eee8a1
hdfs zero copy
2021-07-13 07:19:12 +00:00
Kseniia Sumarokova
a24d2c1faf
Merge pull request #24194 from g-arslan/add-sqlite-support
...
SQLite integration
2021-07-13 09:28:13 +03:00
alexey-milovidov
4b1e38eed9
Merge branch 'master' into projection-fix11
2021-07-13 04:52:15 +03:00
alexey-milovidov
4183f3164a
Merge branch 'master' into fixrandomoneshardinsert
2021-07-13 04:46:40 +03:00