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
Alexey Milovidov
29e8b783ba
Comments
2021-07-13 03:59:52 +03:00
alexey-milovidov
f5f9e35331
Merge pull request #26241 from evillique/column_size
...
Add column sizes for `Log` and `TinyLog` tables
2021-07-13 03:54:03 +03:00
alexey-milovidov
d28b143c49
Merge pull request #26246 from FArthur-cmd/adding-system-warnings-26039
...
Adding system warnings 26039
2021-07-13 03:44:53 +03:00
alexey-milovidov
5295f7ebb2
Merge pull request #26235 from ClickHouse/check-non-deterministic-functions-in-keys
...
Check for non-deterministic functions in keys, including constant expressions
2021-07-13 02:46:44 +03:00
Nikolay Degterinsky
75be358250
Fix style
2021-07-12 19:47:13 +00:00
Nikolay Degterinsky
8d2da5933c
Minor fixes
2021-07-12 19:04:53 +00:00
Kseniia Sumarokova
4a6b4d6c26
Merge pull request #25774 from liuneng1994/datatype-date32
...
Datatype Date32, support range 1925 to 2283
2021-07-12 20:33:39 +03:00
zxc111
e0261866a4
add settings && add test case
2021-07-13 01:15:35 +08:00
Nikolay Degterinsky
8bdd1e93ae
Fix
2021-07-12 13:40:22 +00:00
Artur
278099e663
correct code style
2021-07-12 12:21:18 +00:00
Nikolay Degterinsky
ab3ab9fa41
Fix mutable
2021-07-12 11:00:26 +00:00
Nikolay Degterinsky
fb661bc38d
Minor fixes
2021-07-12 10:58:53 +00:00
Artur
1e90287e9a
Adding tests for system.warnings
2021-07-12 10:57:39 +00:00
Nikolay Degterinsky
7a8361c562
Add columns size for Tiny Log
2021-07-12 10:51:05 +00:00
Nikolay Degterinsky
dc18f68b72
Minor fix
2021-07-12 10:21:17 +00:00
Nikolay Degterinsky
fd957f332e
Add column sizes for Log tables
2021-07-12 10:06:24 +00:00
kssenii
aecb344baa
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support
2021-07-12 07:55:39 +00:00
Alexey Milovidov
2a2aa69459
Handle non-existent "detached" directories
2021-07-12 10:01:26 +03:00
Alexey Milovidov
ff5c433f10
Check for non-deterministic functions in keys, including constant expressions
2021-07-12 08:58:19 +03:00
alexey-milovidov
8f1d7e67ca
Merge pull request #26003 from ClickHouse/ditch-aio
...
Remove AIO for sequential reads
2021-07-12 03:25:23 +03:00
zxc111
cd97478c06
check sampling condition when create table
2021-07-12 00:38:20 +08:00
neng.liu
4669839fbb
add comment and update ya.make
2021-07-11 04:55:42 -07:00
Maksim Kita
61bf623a3c
Merge pull request #26210 from ClickHouse/system-stack-trace-fix
...
Fix excessive newline in `system.stack_trace`
2021-07-11 12:31:16 +03:00
Alexey Milovidov
1ce40d6629
Fix bad code (default function argument)
2021-07-11 04:01:23 +03:00
Alexey Milovidov
002e648183
Merge branch 'system-stack-trace-fix' into ditch-aio
2021-07-11 03:35:26 +03:00
Alexey Milovidov
4df8de76c8
Fix #24124
2021-07-11 03:34:00 +03:00
Alexey Milovidov
81646f8389
Merge branch 'master' into ditch-aio
2021-07-11 03:06:45 +03:00
kssenii
10611ef92a
Normal exceptions
2021-07-10 11:00:59 +00:00
kssenii
d250d79e33
Generate ya make
2021-07-10 08:07:55 +00:00
kssenii
78094a82ab
Better
2021-07-10 08:05:23 +00:00
kssenii
40281f9283
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support
2021-07-10 06:50:46 +00:00
robot-clickhouse
8ae8b26954
Auto version update to [21.9.1.1] [54454]
2021-07-10 08:22:52 +03:00
Alexander Tokmakov
ca45054de5
add enums
2021-07-10 00:18:20 +03:00
kssenii
46e9e21419
Fix build
2021-07-09 15:47:57 +00:00
Artur
8113580237
Add warning in debug mode
2021-07-09 14:40:32 +00:00
kssenii
750f9b82fb
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support
2021-07-09 10:28:05 +00:00
kssenii
1bf9a9f29f
Add .cmake
2021-07-09 10:27:53 +00:00
BoloniniD
21f1e0e626
Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading
2021-07-09 12:36:00 +03:00
terrylin
faed6263bb
add merge_selecting_sleep_ms setting
2021-07-09 17:29:17 +08:00
Artur
146a45a8b3
Adding system.warnings
2021-07-09 09:27:51 +00:00
BoloniniD
407652457f
Added fstat for table fd + more fixes
2021-07-09 12:20:11 +03:00
Anton Popov
9f1ffa777f
remove unused code
2021-07-08 15:06:33 +03:00
kssenii
b7f3d16c5f
Fix conversion
2021-07-07 20:39:41 +00:00
kssenii
ff56f1787c
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support
2021-07-07 15:19:12 +00:00
BoloniniD
0f584c3e76
Fix style and add check for seekability
2021-07-07 14:21:32 +03:00
alesapin
4c85dae572
Merge pull request #25743 from ClickHouse/fix_aggregation_ttl
...
Fix bug in execution of TTL GROUP BY
2021-07-07 10:49:16 +03:00
alesapin
0d8844c510
Merge pull request #25884 from ClickHouse/fix_drop_part_in_queue
...
Relax `DROP PART` guarantees and turn on checks in ReplicationQueue.
2021-07-07 10:48:48 +03:00
mergify[bot]
446474932b
Merge branch 'master' into projection-fix11
2021-07-07 05:02:44 +00:00
Amos Bird
55981cb0ae
Fix normal projection
2021-07-07 13:01:30 +08:00
Azat Khuzhin
533df9507f
Fix log message for optimize_skip_unused_shards_limit
2021-07-07 00:17:39 +03:00
alesapin
7b004fb828
Merge pull request #25995 from CurtizJ/fix-merge-tree-settings-change
...
Fix alter of settings in `MergeTree` tables
2021-07-06 22:12:38 +03:00
Kseniia Sumarokova
7a7b774ba3
Merge pull request #25550 from kssenii/truncate
...
Allow truncate in storages s3/hdfs
2021-07-06 22:07:53 +03:00
alesapin
3dee74df54
Comment
2021-07-06 19:53:54 +03:00
alesapin
a8fdc41193
Fix bug and add more trash to test
2021-07-06 19:51:23 +03:00
mergify[bot]
7ff8ac51a9
Merge branch 'master' into fix-merge-tree-settings-change
2021-07-06 12:14:33 +00:00
alesapin
75e26b93d0
Review bug fixes
2021-07-06 15:05:58 +03:00
BoloniniD
cb975e6d4a
Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading
2021-07-06 14:43:55 +03:00
alesapin
e9540f0621
Remove debug logs
2021-07-06 14:13:35 +03:00
mergify[bot]
8dd378f7c2
Merge branch 'master' into fix_drop_part_in_queue
2021-07-06 11:00:04 +00:00
alesapin
53b23775a9
Fix drop part
2021-07-06 13:58:53 +03:00
BoloniniD
077c147e8f
First changes after review
2021-07-06 13:23:39 +03:00
alesapin
2600922786
Followup fix
2021-07-06 11:36:39 +03:00
Alexey Milovidov
21fb6ddea5
Remove AIO for sequential reads
2021-07-05 23:02:24 +03:00
alesapin
f7e1cfdb24
Some partially working code
2021-07-05 22:58:55 +03:00
Alexander Tokmakov
0f377fc4d8
Merge branch 'master' into fix_no_column_materialized_mysql
2021-07-05 22:07:56 +03:00
Kseniia Sumarokova
8b075e34e7
Merge pull request #25984 from kssenii/add-drops-in-tests
...
Correct test
2021-07-05 18:35:53 +03:00
Anton Popov
9071ecd428
fix alter of settings in MergeTree
2021-07-05 15:44:58 +03:00
Kseniia Sumarokova
c72a1be0be
Merge pull request #25064 from ucasfl/merge
...
Database argument for StorageMerge support regular expression.
2021-07-05 14:14:44 +03:00
kssenii
c713ebe9c1
Add drops in tests
2021-07-05 11:20:58 +03:00
Kseniia Sumarokova
250f495456
Merge pull request #25975 from kssenii/follow-up
...
Follow-up for #20470
2021-07-05 06:36:43 +03:00
NengLiu
8b88988618
Merge branch 'master' into datatype-date32
...
# Conflicts:
# src/DataStreams/PostgreSQLBlockInputStream.cpp
2021-07-05 10:18:38 +08:00
NengLiu
dc0c65ef4f
Merge remote-tracking branch 'origin/master' into datatype-date32
2021-07-05 10:15:08 +08:00
alexey-milovidov
02abbb549b
Merge pull request #25605 from azat/drop-race
...
Fix logical race between DETACH and merges
2021-07-05 03:00:14 +03:00
alexey-milovidov
fef7c557f6
Merge pull request #24789 from kitaisreal/compile-aggregation-functions
...
Compile aggregate functions
2021-07-05 02:57:49 +03:00
kssenii
32b7d7b750
More correct startup on create query
2021-07-04 19:53:05 +00:00
mergify[bot]
27d6a69f6a
Merge branch 'master' into truncate
2021-07-04 19:37:13 +00:00
BoloniniD
e988f35d86
Added read counter to checker
2021-07-04 21:15:40 +03:00
Kseniia Sumarokova
8351f1db99
Merge pull request #20470 from kssenii/pg-ch-replica
...
MaterializePostgreSQL table engine and database engine
2021-07-04 19:34:54 +03:00
mergify[bot]
1559c09977
Merge branch 'master' into fix_drop_part_in_queue
2021-07-04 16:00:39 +00:00
alesapin
cf2fc94d9d
Merge pull request #25820 from ClickHouse/better_remove_empty_parts
...
Replace lost parts with empty parts instead of hacking replication queue
2021-07-04 18:55:49 +03:00
Vladimir Chebotarev
e5cbd82879
Took PREWHERE
into account.
2021-07-04 18:06:15 +03:00
BoloniniD
bbe33f061e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading
2021-07-04 15:36:49 +03:00
kssenii
b39888f199
Do not allow inconsistency in publication
2021-07-04 08:54:41 +00:00
mergify[bot]
6901fc7c7d
Merge branch 'master' into drop-race
2021-07-03 23:27:25 +00:00
alexey-milovidov
51bf60a938
Merge pull request #17769 from xjewer/alex/remove_engine_setting
...
CLICKHOUSE-784: reset merge tree setting
2021-07-03 18:27:15 +03:00
alexey-milovidov
1dda771864
Merge pull request #25554 from CurtizJ/fix-alter-ttl-column
...
Fix `ALTER MODIFY COLUMN` of columns, which participates in TTL expressions
2021-07-03 18:26:37 +03:00
mergify[bot]
9da1c98998
Merge branch 'master' into fix_aggregation_ttl
2021-07-03 15:07:44 +00:00
alesapin
7b4a56977d
Merge pull request #25893 from ClickHouse/no_backoff_when_pool_is_full
...
Reset counter if background pool is full
2021-07-03 18:03:29 +03:00
mergify[bot]
fbe1ff0fb4
Merge branch 'master' into fix_drop_part_in_queue
2021-07-03 15:02:15 +00:00
mergify[bot]
a2183dff39
Merge branch 'master' into better_remove_empty_parts
2021-07-03 15:01:11 +00:00
kssenii
0ce4c565d1
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-07-03 11:48:15 +00:00
alexey-milovidov
7e0433bf07
Merge pull request #25904 from xjewer/alex/add_index_first
...
CLICKHOUSE-1194: add skipping index to the beginning of the list
2021-07-03 04:55:00 +03:00
mergify[bot]
02cb287dc9
Merge branch 'master' into fix-alter-ttl-column
2021-07-02 23:49:46 +00:00
Kseniia Sumarokova
55ce7de248
Remove trailing spaces -- style check fix
2021-07-02 22:39:21 +03:00
alesapin
b4b54a0549
Fix bug
2021-07-02 18:25:05 +03:00
Vladimir Chebotarev
6f5a72c963
Using required columns for block size prediction.
2021-07-02 16:55:00 +03:00
alesapin
1072be7009
Merge branch 'better_remove_empty_parts' into fix_drop_part_in_queue
...
the commit.
2021-07-02 16:39:12 +03:00
alesapin
13c008c7a8
Change exception type
2021-07-02 16:38:46 +03:00
feng lv
b0dffa3f3e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into merge
2021-07-02 13:19:38 +00:00
alesapin
72b84141e1
Merge branch 'better_remove_empty_parts' into fix_drop_part_in_queue
2021-07-02 12:41:28 +03:00