Anton Ivashkin
c724b074ae
Remove zero-copy version converter
2021-12-20 20:23:25 +03:00
Maksim Kita
dd0d3de050
Merge pull request #32970 from kitaisreal/loops-remove-postfix-increment
...
Loops remove postfix increment
2021-12-20 19:51:07 +03:00
Nikita Mikhaylov
d9c13900f5
Fix build + style
2021-12-20 14:31:56 +00:00
Maksim Kita
ebff389701
Merge pull request #32972 from kitaisreal/containers-iteration-fix-erase
...
Containers iteration fix erase
2021-12-20 16:47:19 +03:00
Anton Ivashkin
f0b9a4327a
Use table UUID in zero-copy shared label in ZooKeeper
2021-12-20 16:19:00 +03:00
Zhichang Yu
869cdbeb44
added table function hdfsCluster
2021-12-20 13:14:44 +00:00
avogar
e31c18e9f8
Fix hdfs url check
2021-12-20 16:09:48 +03:00
Maksim Kita
51477adf1b
Updated additional cases
2021-12-20 15:55:07 +03:00
Nikolai Kochetov
2e62f086a1
Merge pull request #32751 from ClickHouse/fix-32668
...
Apply some more optimizations to NO_QUERY ast.
2021-12-20 15:47:25 +03:00
lgbo-ustc
71353ceede
refactor metadata class factory
2021-12-20 20:33:41 +08:00
Maksim Kita
3feab5a975
Containers iteration fix erase
2021-12-20 13:42:31 +03:00
taiyang-li
7192458601
fix code typo
2021-12-20 18:10:15 +08:00
save-my-heart
1abe978455
fix wrong modification_time after move part
2021-12-20 16:29:06 +08:00
Igor Nikonov
100ee92c64
insert_deduplication_token setting for INSERT statement
...
The setting allows a user to provide own deduplication semantic in Replicated*MergeTree
If provided, it's used instead of data digest to generate block ID
So, for example, by providing a unique value for the setting in each INSERT statement,
user can avoid the same inserted data being deduplicated
Inserting data within the same INSERT statement are split into blocks
according to the *insert_block_size* settings
(max_insert_block_size, min_insert_block_size_rows, min_insert_block_size_bytes).
Each block with the same INSERT statement will get an ordinal number.
The ordinal number is added to insert_deduplication_token to get block dedup token
i.e. <token>_0, <token>_1, ... Deduplication is done per block
So, to guarantee deduplication for two same INSERT queries,
dedup token and number of blocks to have to be the same
Issue: #7461
2021-12-19 13:15:45 +00:00
kssenii
e6ebb55c4e
Move to Interpreters
2021-12-17 22:19:10 +03:00
kssenii
dd902b6875
Merge remote-tracking branch 'upstream/master' into table-override-pg
2021-12-17 22:03:58 +03:00
Nikolai Kochetov
93a33d52dc
Merge branch 'fix-32668' of github.com:yandex/ClickHouse into fix-32668
2021-12-17 20:37:29 +03:00
Nikolai Kochetov
c8a92c046f
Another try
2021-12-17 20:36:37 +03:00
Kseniia Sumarokova
f6e7e11742
Merge pull request #32907 from kssenii/url-better
...
Better handling of globs for url storage
2021-12-17 19:08:38 +03:00
kssenii
40c266840c
Fixes
2021-12-17 18:16:29 +03:00
alesapin
6bd7e425c6
Merge pull request #22535 from CurtizJ/sparse-serialization
...
Sparse serialization and ColumnSparse
2021-12-17 15:26:17 +03:00
kssenii
b1794a47c3
StorageURL improve
2021-12-17 14:03:37 +03:00
Kseniia Sumarokova
77b3ebe44e
Merge pull request #32734 from kssenii/mysql-fix-timeouts
...
Allow to control connection timeouts for mysql
2021-12-17 10:13:33 +03:00
taiyang-li
d033fc4c24
merge master and fix conflict
2021-12-17 15:11:21 +08:00
kssenii
97222be3d9
Merge remote-tracking branch 'upstream/master' into table-override-pg
2021-12-17 01:14:28 +03:00
mergify[bot]
4722bc6649
Merge branch 'master' into fix_skipped_mutations
2021-12-16 13:25:00 +00:00
Maksim Kita
858d9f0f5f
StorageLiveView fix function style
2021-12-16 12:29:20 +03:00
Maksim Kita
33374f8b0a
Merge pull request #31062 from Enmk/Governance/view_comment
...
Views with comment
2021-12-16 12:27:12 +03:00
kssenii
7583c8007e
Some review fixes
2021-12-16 00:38:46 +03:00
Alexander Tokmakov
1b02136941
fix skipping of some mutations
2021-12-15 21:19:29 +03:00
kssenii
dc1f0c58fa
Merge remote-tracking branch 'upstream/master' into table-override-pg
2021-12-15 15:27:58 +03:00
Anton Popov
ec46cbef20
Merge pull request #32756 from CurtizJ/fix-index-hypothesis
...
Fix race in skipping index of type `hypothesis`
2021-12-15 15:26:35 +03:00
kssenii
2e813fe3cd
Update defaults
2021-12-15 08:18:43 +00:00
Anton Popov
2e388a72da
Merge pull request #32742 from nautaa/flush_in_memory_part
...
flush all InMemoryDataParts when wal is not enabled
2021-12-14 23:09:10 +03:00
Kseniia Sumarokova
bf415378be
Merge pull request #32607 from Vxider/watch-events-supports
...
Events clause support for Window View watch query
2021-12-14 23:08:24 +03:00
kssenii
47f549166d
Table Override for PostgreSQL
2021-12-14 20:36:43 +03:00
Anton Popov
16312e7e4a
Merge remote-tracking branch 'upstream/master' into HEAD
2021-12-14 18:58:17 +03:00
Anton Popov
84d6715e3d
fix race in skipping index of type hypothesis
2021-12-14 18:28:55 +03:00
Anton Popov
96070b414d
support read_in_order optimization if prefix of sorting key is fixed
2021-12-14 15:54:20 +03:00
nautaa
a96da58360
fix
2021-12-14 20:11:43 +08:00
nautaa
5545793555
Merge branch 'flush_in_memory_part' of github.com:nautaa/ClickHouse into flush_in_memory_part
2021-12-14 19:42:15 +08:00
nautaa
3469fb8165
fix
2021-12-14 19:40:35 +08:00
mergify[bot]
60a864f91c
Merge branch 'master' into flush_in_memory_part
2021-12-14 11:14:21 +00:00
Anton Popov
bbb981655d
Merge pull request #32695 from CurtizJ/fix-add-ttl
...
Fix `MATERIALIZE TTL` with `TTL WHERE` and `TTL GROUP BY`
2021-12-14 14:01:15 +03:00
taiyang-li
a0b90fa9ec
fix bugs and add some docs
2021-12-14 18:44:15 +08:00
taiyang-li
52c118856f
Merge branch 'hive_table' of https://github.com/bigo-sg/ClickHouse into bigo_hive_table
2021-12-14 17:37:45 +08:00
taiyang-li
ca3f7425a4
fix code
2021-12-14 17:37:31 +08:00
nautaa
0da3881ff4
flush all InMemoryDataParts when wal is not enabled
2021-12-14 16:31:17 +08:00
lgbo-ustc
248e933fc4
Add test for local cache
2021-12-14 16:06:30 +08:00
mergify[bot]
a5599d9fe2
Merge branch 'master' into watch-events-supports
2021-12-14 06:15:58 +00:00
lgbo-ustc
5fa84c79c3
fixed bugs
2021-12-14 14:05:35 +08:00
taiyang-li
8234d1176f
merge master
2021-12-14 10:39:21 +08:00
Kseniia Sumarokova
c9ec664094
Update MySQLHelpers.h
2021-12-14 01:25:53 +03:00
mergify[bot]
2b181d7107
Merge branch 'master' into mongo-extend-auth-2
2021-12-13 22:21:10 +00:00
kssenii
f0d0714e47
Pass timeouts for mysql
2021-12-13 22:12:33 +00:00
Kseniia Sumarokova
9eb2a4fe90
Merge pull request #32643 from nautaa/genarateRandom
...
support Date32 for genarateRandom engine
2021-12-13 20:38:41 +03:00
alexey-milovidov
fd9d40925a
Merge pull request #32640 from ClickHouse/fix-function-file
...
Fix surprisingly bad code in function `file`
2021-12-13 19:34:36 +03:00
kssenii
ddbeadd104
Done
2021-12-13 16:09:18 +00:00
Anton Popov
0b68980977
fix MATERIALIZE TTL with WHERE and GROUP BY
2021-12-13 17:21:05 +03:00
tavplubix
60fae3af76
Follow-up to #32140 ( #32667 )
...
* Update LeaderElection.h
* Update LeaderElection.h
2021-12-13 16:41:46 +03:00
Kruglov Pavel
52328f6abc
Merge pull request #32490 from ClickHouse/quote-more-identifiers
...
Fix issue with ambiguous query formatting in distributed queries.
2021-12-13 16:41:01 +03:00
Anton Popov
a241103714
Merge pull request #32359 from CurtizJ/fix-non-materialized-skip-index
...
Fix usage of non-materialized skip indexes
2021-12-13 14:43:58 +03:00
mergify[bot]
77be64f1f4
Merge branch 'master' into genarateRandom
2021-12-13 09:18:52 +00:00
Nikolai Kochetov
22e6fc1685
Merge pull request #32067 from amosbird/projection-fix23
...
Fix detaching parts with projections
2021-12-13 12:00:17 +03:00
nautaa
7cb3d24847
support Date32 for genarateRandom engine
2021-12-13 15:52:12 +08:00
mergify[bot]
47b18c959f
Merge branch 'master' into fix-non-materialized-skip-index
2021-12-13 07:03:02 +00:00
Alexey Milovidov
71926a3a97
Fix surprisingly bad code in function "file"
2021-12-13 07:57:54 +03:00
Vxider
f6dceb53a5
small update
2021-12-13 02:38:16 +00:00
Vxider
caad9f6c79
small update
2021-12-12 17:30:44 +00:00
mergify[bot]
dd4eaad2f3
Merge branch 'master' into watch-events-supports
2021-12-12 15:22:53 +00:00
李扬
8675086104
Merge branch 'master' into hive_table
2021-12-12 09:01:46 -06:00
alexey-milovidov
0486c5f341
Merge pull request #32220 from azat/mt-fix-minmax-for-empty-part
...
[RFC] Fix minmax partition index during merge in case of empty part in future parts
2021-12-12 14:45:10 +03:00
mergify[bot]
72606749ab
Merge branch 'master' into watch-events-supports
2021-12-12 09:51:52 +00:00
Kseniia Sumarokova
5dc7d7e3ef
Merge pull request #32584 from kssenii/rabbitmq-fix
...
rabbitmq fix
2021-12-12 12:34:09 +03:00
Vxider
7eb18ea21e
watch events support for window view
2021-12-12 07:45:55 +00:00
Alexey Milovidov
58ffe89643
Merge branch 'master' into quote-more-identifiers
2021-12-12 03:33:20 +03:00
kssenii
89db2c57f4
Fix
2021-12-12 00:19:06 +03:00
Azat Khuzhin
ca9c5dc4eb
Fix LOGICAL_ERROR for MATERIALIZED VIEW over table functions (i.e. numbers())
...
Replace LOGICAL_ERROR with QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW
in this case.
2021-12-11 11:04:47 +03:00
Kseniia Sumarokova
7e0bc290da
Merge pull request #32460 from kssenii/mongo-extend-auth
...
Allow empty credentials for mongo engine
2021-12-11 10:42:15 +03:00
Kseniia Sumarokova
1865e37109
Merge pull request #32498 from Vxider/rename-window-view-functions
...
Rename window-view function to time window function
2021-12-10 22:07:53 +03:00
Kseniia Sumarokova
f5e949b88e
Ping CI
2021-12-10 18:12:27 +03:00
tavplubix
25427719d4
Try fix 'Directory tmp_merge_<part_name>' already exists ( #32201 )
...
* try fix 'directory tmp_merge_<part_name>' already exists
* fix
* fix
* fix
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-12-10 16:29:51 +03:00
vxider
52fa82b4d4
rename window-view function to time window function
2021-12-10 09:43:44 +00:00
taiyang-li
02b877c978
move remote buffer from src/IO to src/Storages
2021-12-10 10:27:53 +08:00
Alexey Milovidov
5c90ed2ed9
Unambiguous formatting of distributed queries
2021-12-10 00:55:14 +03:00
kssenii
f5a77fca39
Done
2021-12-09 14:44:25 +00:00
Kseniia Sumarokova
2091008c15
Merge pull request #32324 from Vxider/rename-window-functions
...
Rename window functions in WindowView
2021-12-09 16:19:21 +03:00
Nikita Mikhaylov
dbf5091016
Parallel reading from replicas ( #29279 )
2021-12-09 13:39:28 +03:00
taiyang-li
0eef092ded
fix building
2021-12-09 16:57:33 +08:00
mergify[bot]
b11a1ded8d
Merge branch 'master' into rename-window-functions
2021-12-09 08:10:41 +00:00
robot-clickhouse
f2ccddb7be
Auto version update to [21.13.1.1] [54458]
2021-12-09 00:33:01 +03:00
tavplubix
2de543cbfb
Merge pull request #32389 from ClickHouse/tavplubix-patch-4
...
Follow-up to #32140
2021-12-09 00:18:26 +03:00
Anton Popov
ea67abf3f0
fix custom serializations in native protocol
2021-12-08 21:59:36 +03:00
Anton Popov
61a5f8a61a
add comments
2021-12-08 18:56:30 +03:00
Anton Popov
d8367334a3
Merge remote-tracking branch 'upstream/master' into HEAD
2021-12-08 18:26:19 +03:00
Mikhail f. Shiryaev
03927f5fc6
Revert "graphite: split tagged/plain rollup rules (for merges perfomance)"
...
This reverts commit 303552f515
.
2021-12-08 15:49:21 +01:00
Nikita Mikhaylov
398d2f5984
Fix
2021-12-08 12:36:55 +00:00
tavplubix
785d79531d
Update StorageReplicatedMergeTree.cpp
2021-12-08 15:27:32 +03:00
mergify[bot]
ed0c36bf32
Merge branch 'master' into rename-window-functions
2021-12-07 21:04:53 +00:00
Anton Popov
dd7387729b
fix usage of non-materialized skip indexes
2021-12-07 20:21:27 +03:00
tavplubix
4f46ac6b30
Remove LeaderElection ( #32140 )
...
* remove LeaderElection
* try fix tests
* Update test.py
* Update test.py
2021-12-07 19:55:55 +03:00
Mikhail f. Shiryaev
5fc20b3e6a
Merge pull request #25122 from msaf1980/rollup_rules_type
...
GraphiteMergeTree Rollup rules type
2021-12-07 10:18:08 +01:00
vxider
c4c517bb8a
rename window functions
2021-12-07 08:14:00 +00:00
Kseniia Sumarokova
926fd568c7
Merge pull request #32113 from FrankChen021/url_http_header
...
Set Content-Type in HTTP packets issued from URL engine
2021-12-07 08:52:36 +03:00
Kseniia Sumarokova
e2cf5c6075
Merge pull request #32232 from Vxider/fix-window-view-parser
...
Fix window view parser
2021-12-06 23:33:43 +03:00
Kseniia Sumarokova
7e261245d3
Merge pull request #32256 from taiyang-li/default_for_hdfs
...
Support default expression for storage hdfs and optimize fetching when source is column oriented
2021-12-06 23:32:01 +03:00
Kseniia Sumarokova
a2dfa883cb
Merge pull request #32049 from leosunli/32039
...
#32039 Make HDFS replication configurable in WriteBufferFromHDFSImpl#WriteBu…
2021-12-06 20:24:29 +03:00
msaf1980
303552f515
graphite: split tagged/plain rollup rules (for merges perfomance)
2021-12-06 16:49:08 +01:00
vxider
2f4f2d9d5e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse
2021-12-06 14:06:00 +00:00
mergify[bot]
52904a4973
Merge branch 'master' into default_for_hdfs
2021-12-06 13:19:49 +00:00
Nikolai Kochetov
f064f2cdaa
Use seq_cst semantic for MergeTreeBackgroundExecutor mertic. ( #32125 )
2021-12-06 15:21:39 +03:00
lgbo-ustc
dd70209623
fixed code style
2021-12-06 18:19:36 +08:00
lgbo-ustc
5913d67553
fixed code style
2021-12-06 16:51:49 +08:00
vxider
e7a4312768
add comments
2021-12-06 08:41:56 +00:00
Nikolai Kochetov
91c4c89c66
Merge pull request #31636 from Algunenano/pull_timeout
...
Check max_execution_time in the pipeline and pulling executors
2021-12-06 11:33:39 +03:00
lgbo-ustc
3c56a5deac
refector
...
1. Make the lru cache pilicy in RemoteReadBufferCache into Common/UnreleasableLRUCache.h
2. If try to use local cached file fail, the RemoteReadBuffer::create() return the original ReadBuffer
3. Remove LocalFileReader
4. RemoteCacheController does not hold a context now, and the download process starts in RemoteReadBufferCache
once a new RemoteCacheController is create successly
5. Make an abstract class RemoteFileMetaDataBase for descripting a remote file meta data.
6. Remote file meta data need to a version, can cache multi-version for a file now
2021-12-06 16:17:32 +08:00
vxider
b68136d1e4
small code style update
2021-12-06 07:12:21 +00:00
leosunli
6f611eec91
Fix bug
...
Signed-off-by: leosunli <lisheng.sun08@gmail.com>
2021-12-06 14:32:32 +08:00
Kseniia Sumarokova
4017bb8f78
Update WriteBufferFromHDFS.h
2021-12-06 14:32:32 +08:00
leosunli
e81a1dbe6a
Make HDFS replication configurable in WriteBufferFromHDFSImpl#WriteBufferFromHDFSImpl
...
Signed-off-by: leosunli <lisheng.sun08@gmail.com>
2021-12-06 14:32:31 +08:00
leosunli
5be58a8839
Make HDFS replication configurable in WriteBufferFromHDFSImpl#WriteBufferFromHDFSImpl
...
Signed-off-by: leosunli <lisheng.sun08@gmail.com>
2021-12-06 14:32:31 +08:00
sunlisheng
ef77f45f59
Make HDFS replication configurable in WriteBufferFromHDFSImpl#WriteBufferFromHDFSImpl
...
Signed-off-by: sunlisheng <lisheng.sls@alibaba-inc.com>
2021-12-06 14:32:31 +08:00
taiyang-li
9d1e63be0f
1. support default expression for storage hdfs; 2. optimize storage hdfs when format is column oriented
2021-12-06 11:54:45 +08:00
lgbo-ustc
01940c3f01
coding refinement
...
1. make remote file meta data be a abstract class
2. make cache controller download process be started by RemoteReadBufferCache
2021-12-06 10:30:59 +08:00
Azat Khuzhin
82e0e9d27c
Fix minmax partition index during merge in case of empty part in future parts
...
It is possible to get empty part in future parts, during merging, that
can be created in case of there is information about this part in
zookeeper, but no replicas has it
(StorageReplicatedMergeTree::createEmptyPartInsteadOfLost())
And this may incorrectly initialize min value, which will be updated
after one more merge (since during that merge there will be no more
information about empty part) or OPTIMIZE.
2021-12-04 21:49:49 +03:00
vxider
78ceb5c883
add illegal arg check
2021-12-04 14:18:10 +00:00
vxider
c522c06755
fix windowview parser
2021-12-04 12:30:04 +00:00
taiyang-li
c678c8101e
fix some bugs
2021-12-04 16:41:35 +08:00
Kseniia Sumarokova
7b1d4631bf
Update FileLogSource.cpp
2021-12-03 18:56:29 +03:00
kssenii
adaa32b41b
Fix inner table name
2021-12-03 15:52:57 +03:00
frank chen
898db5b468
Resolve review comments
...
Signed-off-by: frank chen <frank.chen021@outlook.com>
2021-12-03 19:47:05 +08:00
kssenii
0470525ea3
Fix
2021-12-03 13:39:27 +03:00
tavplubix
17f8193435
Merge pull request #32157 from ClickHouse/fix_active_replicas_count_quorum
...
Fix active replicas count in quorum inserts
2021-12-03 12:39:36 +03:00
SuperDJY
5d7dfc6eb9
fix storage join settings with persistency ( #32066 )
2021-12-03 12:06:58 +03:00
Anton Popov
f6be3d16fd
Merge pull request #24820 from kssenii/versioning
...
Versioning of aggregate function states
2021-12-03 01:41:44 +03:00
tavplubix
4606376734
Update ReplicatedMergeTreeSink.cpp
2021-12-02 21:51:23 +03:00
Alexander Tokmakov
252192bc6d
fix active replicas count in quorum inserts
2021-12-02 21:02:11 +03:00
Anton Ivashkin
98bae1b313
Fix tests
2021-12-02 16:25:45 +03:00
tavplubix
1f4b14f68b
Merge pull request #32119 from ClickHouse/tavplubix-patch-4
...
Fix data race in `removePartAndEnqueueFetch(...)`
2021-12-02 15:25:38 +03:00
taiyang-li
2f4e7e1d4e
merge master
2021-12-02 19:48:21 +08:00
tavplubix
5400c5899d
Merge pull request #32063 from ClickHouse/fix_detach_dir_exists
...
Fix 'directory exists' error when detaching part
2021-12-02 14:04:21 +03:00
tavplubix
e9489ccd6f
Update StorageReplicatedMergeTree.cpp
2021-12-02 13:18:02 +03:00
mergify[bot]
cba9f3f14c
Merge branch 'master' into url_http_header
2021-12-02 09:13:41 +00:00
mergify[bot]
0f19807b97
Merge branch 'master' into Governance/view_comment
2021-12-02 08:19:03 +00:00
taiyang-li
9ec8272186
refactor hive text input format
2021-12-02 16:14:25 +08:00
kssenii
8edf146687
Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning
2021-12-02 07:57:14 +00:00
frank chen
8e9f4949e4
Set Content-Type in HTTP packets issued from URL engine
...
Signed-off-by: frank chen <frank.chen021@outlook.com>
2021-12-02 15:49:34 +08:00
Anton Ivashkin
e0a16a483e
Merge master
2021-12-01 19:03:31 +03:00
Kseniia Sumarokova
87574e8bf6
Merge pull request #31053 from kssenii/rabbit-kafka-select-commit
...
rabbitmq/kafka allow to commit on select only under setting
2021-12-01 18:23:08 +03:00
Amos Bird
8dbc7a8dae
Fix detaching parts with projections
2021-12-01 23:21:17 +08:00
tavplubix
7ae45b9d52
Update IMergeTreeDataPart.cpp
2021-12-01 18:00:40 +03:00
Alexander Tokmakov
57e4f3698c
fix 'directory exists' error when detaching part
2021-12-01 17:24:26 +03:00
Anton Ivashkin
80ab73c691
Fix Zero-Copy replication lost locks, fix remove used remote data in DROP DETACHED PART
2021-12-01 16:11:26 +03:00
Anton Popov
54f51444c0
Merge remote-tracking branch 'upstream/master' into HEAD
2021-12-01 15:49:02 +03:00
tavplubix
b623a387af
Merge pull request #31887 from ClickHouse/fix_cannot_create_empty_part
...
Parse partition key value from `partition_id` when need to create part in empty partition
2021-12-01 15:38:46 +03:00
alesapin
4b3079b0a5
Merge pull request #32037 from excitoon-favorites/flexiblemutations3
...
Minor fixes for `StorageMergeTree`
2021-12-01 13:36:46 +03:00
Vladimir Chebotarev
e8e3411ebc
Minor fixes for StorageMergeTree
.
2021-12-01 11:18:07 +03:00
Kseniia Sumarokova
3ab014d796
Merge pull request #31648 from michael1589/master
...
basic access authentication for http/https
2021-12-01 09:47:55 +03:00
Kseniia Sumarokova
a97938e2d1
Merge pull request #28933 from kssenii/materialized-postgresql-fix
...
MaterializedPostgreSQL: fully support non-default postgres schema
2021-12-01 09:37:12 +03:00
lgbo-ustc
aaa5d8f002
rewrite thread pool in remote file cache
2021-12-01 10:45:25 +08:00
Anton Popov
21c0aa4a1b
Merge pull request #31823 from amosbird/fixnullablekey
...
Fix invalid cast of nullable type when nullable primary key is used
2021-11-30 21:44:27 +03:00
Kseniia Sumarokova
3c348a2998
Merge pull request #8331 from Vxider/window-view
...
Support for Stream Processing
2021-11-30 18:20:12 +03:00
michael1589
a74cf9cfb0
Merge branch 'master' of https://github.com/michael1589/ClickHouse
2021-11-30 20:48:35 +08:00
michael1589
92feada9e6
Merge branch 'ClickHouse:master' into master
2021-11-30 20:48:10 +08:00
michael1589
f2f8826621
build check fail
2021-11-30 20:46:54 +08:00
Kseniia Sumarokova
18e200b1e2
Merge pull request #31967 from ucasfl/fix-filelog
...
Fix FileLog engine unnesessary create meta data directory when create table failed
2021-11-30 15:38:05 +03:00
Alexander Tokmakov
caaae03df3
change to switch-case
2021-11-30 15:29:05 +03:00
mergify[bot]
d729cd50b3
Merge branch 'master' into fixnullablekey
2021-11-30 11:44:35 +00:00
tavplubix
78224ef273
Merge pull request #31738 from ClickHouse/fix_segfault_on_attach_partition
...
Fix segfault on attach parititon
2021-11-30 14:32:50 +03:00
taiyang-li
d213500a3e
remove blank at end of line
2021-11-30 18:23:24 +08:00
kssenii
0e24eebc80
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql-fix
2021-11-30 12:26:10 +03:00
alesapin
438fa60902
Merge pull request #21326 from excitoon-favorites/flexiblemutations2
...
Skip mutations of unrelated partitions in `StorageMergeTree`
2021-11-30 12:15:29 +03:00
lgbo-ustc
b023dd34c0
fixed code style
2021-11-30 17:11:58 +08:00
kssenii
f658a8c181
Small simplification, some comments
2021-11-30 11:16:24 +03:00
taiyang-li
440fa9b69c
implement getMissingValues for ORC/Parquet/Arrow
2021-11-30 15:44:59 +08:00
michael1589
80dd01e66b
style check fail
2021-11-30 15:18:26 +08:00
michael1589
3f56dde858
style check fail
2021-11-30 15:07:18 +08:00
taiyang-li
cacf516e3e
calculate column value by default expression & apply defaults_for_omitted_fields_ in ArrowColumnToCHColumn
2021-11-30 14:52:26 +08:00
feng lv
0efabb39cf
Fix FileLog engine unnesessary create meta data directory when create table failed.
...
fix style
2021-11-30 04:39:55 +00:00
kssenii
b0415b6482
Fix tests under Replicated database engine
2021-11-29 23:34:52 +03:00
Alexander Tokmakov
2cf4b51029
fix
2021-11-29 21:54:46 +03:00
Raúl Marín
a7ae715950
Merge remote-tracking branch 'blessed/master' into pull_timeout
2021-11-29 19:51:18 +01:00
Alexander Tokmakov
56b613068b
fix
2021-11-29 21:47:08 +03:00
Anton Ivashkin
0f9038ebed
Zero-copy: move shared mark outside table node in ZooKeeper
2021-11-29 19:05:31 +03:00
kssenii
2ea4e7c4e7
Better
2021-11-29 15:05:02 +00:00
Amos Bird
29c87b2f44
Fix nullable key
2021-11-29 20:49:01 +08:00
taiyang-li
d0546f5c9c
apply swithc use_local_cache_for_remote_fs
2021-11-29 18:39:50 +08:00
taiyang-li
03e7f0f6f7
extract hivemetastore client from context
2021-11-29 18:23:57 +08:00
kssenii
2f0fe4a21f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbit-kafka-select-commit
2021-11-29 10:08:14 +00:00
taiyang-li
c7a0fe467f
fix code stylke
2021-11-29 16:22:43 +08:00
Vladimir Chebotarev
100e61ab0e
Rebase fix.
2021-11-29 10:15:00 +03:00
taiyang-li
fd4462db64
fix code style
2021-11-29 13:01:03 +08:00
taiyang-li
e67407b5c5
fix code style
2021-11-29 11:30:11 +08:00
michael1589
1bf49ab637
style check fail
2021-11-28 21:51:39 +08:00
michael1589
efeb9b59c8
Merge branch 'ClickHouse:master' into master
2021-11-28 16:59:17 +08:00
michael1589
70264b37a1
style check fail
2021-11-28 16:47:26 +08:00
Alexey Milovidov
1ded1e7181
Remove some trash from build
2021-11-28 08:05:24 +03:00
vxider
e27a158b92
fix typo
2021-11-27 17:53:07 +00:00
michael1589
dbfe637f7b
Merge branch 'ClickHouse:master' into master
2021-11-27 23:30:25 +08:00
Alexander Tokmakov
2fb00172a9
try parse partition key value from partition_id
2021-11-27 15:07:08 +03:00
taiyang-li
08cc4306b6
fix typos
2021-11-27 18:56:43 +08:00
kssenii
be3b4ca8fe
Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning
2021-11-27 09:44:31 +00:00
kssenii
515261f5dd
Better
2021-11-27 09:40:46 +00:00
Alexey Milovidov
870800e54b
Add a comment
2021-11-27 03:00:00 +03:00
Alexey Milovidov
5d2ccd4289
Experiment with the order of sources
2021-11-27 02:55:04 +03:00
Alexey Milovidov
a96e4fe393
More reproducible builds
2021-11-27 02:24:09 +03:00
Raúl Marín
7781fc12ed
Reduce dependencies on ASTSelectWithUnionQuery.h
...
521 -> 77 files requiring changes
2021-11-26 19:27:16 +01:00
vxider
82a53a5e54
fix typo
2021-11-26 18:23:50 +00:00
Raúl Marín
f0ee0724ac
Reduce dependencies on ASTSelectQuery.h
...
243 -> 152
2021-11-26 18:35:24 +01:00
Raúl Marín
b2cfa70541
Reduce dependencies on ASTFunction.h
...
481 -> 230
2021-11-26 18:21:54 +01:00
Raúl Marín
91bf938075
Reduce dependencies on ASTLiteral.h
...
590 -> 537
2021-11-26 17:54:57 +01:00
Raúl Marín
051dddd8df
Reduce dependencies on ASTIdentifier.h
...
Goes from rebuilding 483 objects to 165 when it's modified
2021-11-26 16:49:40 +01:00
alexey-milovidov
d7939a3b61
Merge pull request #31838 from ClickHouse/reproducible-build-3
...
Reproducible builds (3)
2021-11-26 15:48:48 +03:00
Raúl Marín
c498b7ba59
Move limits check to ProcessList
2021-11-26 12:44:39 +01:00
Raúl Marín
be60759e68
Merge remote-tracking branch 'blessed/master' into pull_timeout
2021-11-26 11:37:19 +01:00
Kseniia Sumarokova
c786c0a52a
Merge pull request #31749 from kssenii/clickhouse-dictionary-conf
...
ClickHouse dictionary source support named collections
2021-11-26 10:55:03 +03:00
taiyang-li
d35e2a1c83
Merge branch 'master' into hive_table
2021-11-26 11:44:50 +08:00
Alexey Milovidov
79f6f5a202
More reproducible builds
2021-11-26 05:44:08 +03:00
kssenii
223048d395
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-26 01:06:06 +03:00
michael1589
fe501d4dd4
fix merge error
2021-11-25 23:03:01 +08:00
Vladimir Chebotarev
bb2f21b1ad
Rebase fix.
2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
e414fa01e0
Rebase fix.
2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
c6e73d7b60
Synced clearOldMutations()
with rest of changes.
2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
7bbaa14aee
Better comment.
2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
ec1f909d74
Fixed wrong lock order.
2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
12f36206cf
Deadlock fix.
2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
84ffcb479b
Additional comments.
2021-11-25 17:11:52 +03:00
Vladimir Chebotarev
e0a453aadf
Minor fix.
2021-11-25 17:11:29 +03:00
Vladimir Chebotarev
863f3565ad
Test fixes.
2021-11-25 17:11:28 +03:00
Vladimir Chebotarev
390416b24d
Rebase fix.
2021-11-25 17:11:28 +03:00
Vladimir Chebotarev
30cd133418
Fixed duplication commands bug.
2021-11-25 17:11:28 +03:00
Vladimir Chebotarev
aa3eecbd6d
Fixed bug with frozen mutations.
2021-11-25 17:11:27 +03:00
Vladimir Chebotarev
6599124dba
Attempt to skip mutations of different partitions in StorageMergeTree
.
2021-11-25 17:10:11 +03:00
Kruglov Pavel
b39c19399f
Merge pull request #31691 from kssenii/testing-1
...
Allow named_collections for kafka / rabbit
2021-11-25 14:06:31 +03:00
Alexander Tokmakov
1ab8b5d4df
fix segfault on attach parititon
2021-11-25 13:04:39 +03:00
taiyang-li
72f60cceb9
Merge branch 'master' into hive_table
2021-11-25 17:33:26 +08:00
Kseniia Sumarokova
93cf66df12
Merge pull request #30936 from kssenii/seekable-read-buffers
...
Reduce memory usage for some formats when reading with s3/url/hdfs
2021-11-25 11:19:24 +03:00
kssenii
20c59b66f9
ClickHouse dictionary support named collections
2021-11-25 01:51:38 +03:00
kssenii
46d2fdc5e6
Update
2021-11-24 21:53:53 +03:00
tavplubix
bebee01b34
Merge pull request #31638 from ClickHouse/fix_rename_dictionary
...
Fix rename dictionary
2021-11-24 20:25:35 +03:00
michael1589
8b99138701
Merge branch 'ClickHouse:master' into master
2021-11-24 21:35:36 +08:00
Kseniia Sumarokova
7cf6bb5aa3
Update ExternalDataSourceConfiguration.cpp
2021-11-24 16:13:26 +03:00
kssenii
980c87c466
Add named collection for kafka / rabbit
2021-11-24 14:53:01 +03:00
kssenii
29579962cb
Update test, tiny changes
2021-11-24 12:55:36 +03:00
taiyang-li
4d750c9dc5
fix code typo
2021-11-24 17:52:02 +08:00
Maksim Kita
801c6c1e99
Merge pull request #31119 from nautaa/fix-file-log
...
remove unnecessary assert in StorageFileLog
2021-11-24 12:28:13 +03:00
taiyang-li
13226c9bbf
fix code typo
2021-11-24 16:35:11 +08:00
taiyang-li
89dcef69d5
merge master
2021-11-24 14:38:04 +08:00
Alexander Tokmakov
9237b251d5
allow rename dict in Ordrinary, fix another issue
2021-11-23 20:53:45 +03:00
Kruglov Pavel
b63b47f0f0
Merge pull request #31265 from Avogar/fix-write-buffers
...
Fix and refactor WriteBiffer-s a little
2021-11-23 16:46:09 +03:00
michael1589
2bbb90e6c8
Merge branch 'ClickHouse:master' into master
2021-11-23 20:21:47 +08:00
alexey-milovidov
341f705419
Merge pull request #30599 from ClickHouse/zlib-ng-own-cmake
...
Use our own CMakeLists for `zlib-ng`, `cassandra`, `mariadb-connector-c` and `xz`, `re2`, `sentry`, `gsasl`, `arrow`, `protobuf`.
2021-11-23 13:33:29 +03:00
tavplubix
7a43a87f5b
Use shard and replica name from Replicated
database arguments ( #31488 )
...
* fix another issue
* use shard and replica name from Replicated database
* fix
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-23 12:41:54 +03:00
Raúl Marín
c6d3065885
Check max_execution_time in the pipeline and pulling executors
2021-11-23 09:23:22 +01:00
michael1589
75b0c0abd5
Merge branch 'master' into master
2021-11-23 11:37:46 +08:00
lgbo
996d7125c0
Merge branch 'master' into hive_table
2021-11-23 10:19:02 +08:00
kssenii
7fae3b1cc9
Update tests
2021-11-22 20:57:31 +03:00
tavplubix
667dbef4a0
Merge branch 'master' into fix_rename_dictionary
2021-11-22 18:48:22 +03:00
Alexander Tokmakov
d56950a207
fix rename dictionary
2021-11-22 18:41:35 +03:00
kssenii
4c41e719ed
Add comments
2021-11-22 18:09:45 +03:00
mergify[bot]
a9c1fd1647
Merge branch 'master' into fix-write-buffers
2021-11-22 13:59:31 +00:00
Anton Popov
43cfa4467b
Merge pull request #31476 from CurtizJ/merging-constraints
...
Merging #18787 (Constraints)
2021-11-22 15:57:59 +03:00
mergify[bot]
a7ba3e23a0
Merge branch 'master' into fix-write-buffers
2021-11-22 11:24:27 +00:00
tavplubix
dc6d48ff83
Merge pull request #31292 from stigsb/materialized-mysql-atomic-only
...
Drop support for DatabaseOrdinary in MaterializedMySQL
2021-11-22 14:03:50 +03:00
Nikolai Kochetov
b814f54f50
Merge pull request #31474 from amosbird/projection-improve6
...
Allow partition column to be used for minmax_count projection
2021-11-22 13:01:57 +03:00
michael1589
822289658b
support HTTP/HTTPS basic access authentication
2021-11-22 17:59:30 +08:00
taiyang-li
f9edfcec61
fix build error
2021-11-22 17:31:53 +08:00
kssenii
05c548035f
Some fixes
2021-11-22 11:04:04 +03:00
taiyang-li
d22854e82b
add compile swiych USE_HIVE
2021-11-22 10:52:10 +08:00
Anton Popov
c034491da9
fix style check
2021-11-21 23:02:33 +03:00
Anton Popov
afe8d3c424
refactor merged index conditions
2021-11-21 22:49:34 +03:00
Alexey Milovidov
d604cf5573
Remove the infamous "unbundled" build
2021-11-21 13:58:26 +03:00
tavplubix
711b738dd1
Merge pull request #31542 from ClickHouse/mutations_remove_multimap
...
Remove strange multimap for mutations in StorageMergeTree
2021-11-20 20:41:49 +03:00
Kruglov Pavel
d9c1a0c8ec
Merge branch 'master' into fix-write-buffers
2021-11-20 17:48:24 +03:00
kssenii
ff969b4605
Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers
2021-11-20 15:03:13 +03:00
kssenii
fda66adf52
Correct merge with master
2021-11-20 13:47:55 +03:00
kssenii
29978f9707
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-20 12:13:39 +03:00
kssenii
5c9509d68b
Fix attach
2021-11-20 12:03:39 +03:00
Vitaly Baranov
940b5edbd7
Merge pull request #31509 from vitlibar/split-row-policy-and-quota-headers
...
Split row policy and quota headers
2021-11-20 10:01:18 +03:00
tavplubix
67753e5b83
Update StorageMergeTree.cpp
2021-11-19 20:05:45 +03:00
Alexander Tokmakov
8d7413b0d6
remove strange multimap from mutations
2021-11-19 19:54:43 +03:00
Anton Popov
099c40d251
fix tests
2021-11-19 17:14:56 +03:00
kssenii
9bdad8ab64
Rewrite from DataStreams to Processors
2021-11-19 16:09:12 +03:00
SuperDJY
dd2972b8c3
return fake create query when executing show create table
on system's tables. ( #31391 )
...
* clarify that cannot show create table of system's tables
* clarify that cannot show create table of system's tables in the document
* bypass test style-check for required `database=currentDatabase()` because `show create table` do not have condition
* rename supportsShowCreateTable to isSystemStorage
* build fake create query for show create table of system's tables
* fix tests for show create table on system's table:
1. only build fake create query when cannot get real query
2. only test rocksdb when it's enabled.
* fix test for show create table system.tables
* fix test for ASTCreateQuery set table and database
* change to LOGICAL_ERROR when cannot get in_memory metadata
Co-authored-by: tavplubix <tavplubix@gmail.com>
* implement common getCreateQueryFromStorage
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-19 13:25:55 +03:00
taiyang-li
e8644807fe
merge master and solve conflict
2021-11-19 15:01:58 +08:00
Amos Bird
c47ec31617
fix
2021-11-19 11:51:05 +08:00
Vitaly Baranov
af56b20da7
Rename IAccessEntity::Type -> AccessEntityType and move it to Access/Common.
2021-11-19 02:48:00 +03:00
Vitaly Baranov
06077a2952
Rename Quota::KeyType -> QuotaKeyType and move it to Access/Common.
2021-11-19 00:14:23 +03:00
Vitaly Baranov
6634fcbac7
Rename Quota::ResourceType -> QuotaType and move it to Access/Common.
2021-11-19 00:14:23 +03:00
Vitaly Baranov
33ea7a7262
Rename RowPolicy::ConditionType -> RowPolicyFilterType and move it to Access/Common.
2021-11-19 00:14:23 +03:00
Vitaly Baranov
2883ca012e
Rename RowPolicy::NameParts -> RowPolicyName and move it to Access/Common.
2021-11-19 00:14:23 +03:00
alexey-milovidov
12a471507e
Merge pull request #31169 from sundy-li/notlike-fix
...
ISSUES-30801: Remove not like function into RPNElement
2021-11-18 23:40:57 +03:00
Amos Bird
d1a14d76f1
fix
2021-11-19 02:29:35 +08:00
Stig Bakken
f8c53e839a
fix clang13 warning
2021-11-18 16:53:41 +01:00
Amos Bird
c988a4e770
fix again
2021-11-18 23:09:17 +08:00
kssenii
6a39d871b2
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-18 17:29:11 +03:00
Stig Bakken
ff46e8bb51
Drop support for DatabaseOrdinary in MaterializedMySQL
...
1. Dropped support for DatabaseOrdinary for MaterializeMySQL. It
is marked as experimental, and dropping support makes the code
more maintaible, and speeds up integration tests by 50%.
2. Get rid of thread name logic for StorageMaterializeMySQL wrapping,
use setInternalQuery instead (similar to MaterializedPostgreSQL).
2021-11-18 11:46:51 +01:00
Kruglov Pavel
f27fcf8372
Merge pull request #31004 from Avogar/output-formats
...
Small refactoring in formats
2021-11-17 20:44:46 +03:00
Anton Popov
dfb9bc2a01
minor fixes in constraints
2021-11-17 18:43:02 +03:00
Amos Bird
feb3a12d34
fix
2021-11-17 23:11:23 +08:00
Amos Bird
4cfb105d5a
better
2021-11-17 22:07:56 +08:00
Amos Bird
7b9a19f066
enhance minmax_count projection
2021-11-17 22:05:57 +08:00
alexey-milovidov
1e058fb207
Merge pull request #30190 from azat/ReadBuffer-throw-on-empty
...
Do not allow zero-length reads
2021-11-17 10:21:08 +03:00
mergify[bot]
41fa94f482
Merge branch 'master' into notlike-fix
2021-11-17 07:14:21 +00:00
Nikolay Degterinsky
2f6a565b06
Merge branch 'master' into query_parameters
2021-11-16 10:37:58 +00:00
Nikolai Kochetov
15cd3dc307
Merge pull request #31006 from vzakaznikov/fix_live_view_underusing_cpu
...
Fixing query performance issue in Live Views
2021-11-16 12:43:33 +03:00
Kruglov Pavel
1bbe0df945
Fix perf test
2021-11-16 11:41:50 +03:00
tavplubix
710fbebafc
Merge pull request #30977 from ClickHouse/check_dependencies_on_drop
...
Check dependencies on DROP TABLE
2021-11-16 11:38:42 +03:00
Nikolay Degterinsky
ba50e8387d
Merge branch 'master' into query_parameters
2021-11-15 19:55:54 +00:00
Vitaliy Zakaznikov
63c70f6281
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix_live_view_underusing_cpu
2021-11-15 07:50:27 -05:00
avogar
8f7be52ac4
Update test, remove commented code
2021-11-15 14:58:18 +03:00
Amos Bird
30b06a969b
Cancel vertical merges ( #31057 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-15 14:32:53 +03:00
Alexander Tokmakov
416a82b99a
Merge branch 'master' into check_dependencies_on_drop
2021-11-15 13:35:45 +03:00
alesapin
af820f85d3
Merge pull request #31259 from azat/temporary_directories_lifetime-message-fix
...
Print warning during old directories cleanup in MergeTree only if it is old
2021-11-15 12:56:31 +03:00
kssenii
37f482d478
Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning
2021-11-15 07:31:11 +00:00
alesapin
2a9ed85f23
Merge pull request #31300 from ClickHouse/fix_intersecting_parts_to_do3
...
Remove strange code from mutations
2021-11-15 10:08:32 +03:00
kssenii
f18dcd2287
Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers
2021-11-13 14:38:57 +03:00
mergify[bot]
5d0306ed0c
Merge branch 'master' into notlike-fix
2021-11-12 22:35:10 +00:00
Maksim Kita
38be11a622
Merge pull request #31334 from kitaisreal/bloom-filter-index-check-fix
...
BloomFilter index check fix
2021-11-13 01:26:08 +03:00
Maksim Kita
1b5ff67eaa
BloomFilter index check fix
2021-11-12 12:22:43 +03:00
Nikolai Kochetov
6623c609cf
Merge pull request #19587 from ClickHouse/refactor-pipeline-executor
...
Refactor pipeline executor
2021-11-12 11:49:05 +03:00
Kseniia Sumarokova
074d24fcf3
Merge pull request #31318 from kssenii/fix-progress-numbers-mt
...
Proper progress for numbers_mt
2021-11-12 11:13:32 +03:00
lgbo-ustc
a66a23c2e7
code modification based on the pr comment
2021-11-12 13:17:58 +08:00
kssenii
f46569a46b
Fix
2021-11-12 00:42:36 +03:00
Kseniia Sumarokova
2313981fd7
Merge pull request #31260 from azat/external-cleanup
...
Cleanup extern ProfileEvents/CurrentMetrics and add a style check
2021-11-12 00:02:57 +03:00
Azat Khuzhin
10fa34c73a
Print warning during old directories cleanup in MergeTree only if it is old
2021-11-11 23:57:44 +03:00
Anton Popov
4c6c80b9a2
Merge pull request #31044 from kssenii/fix-storage-merge-with-aliases-and-where
...
Fix StorageMerge with aliases and where
2021-11-11 21:46:02 +03:00
avogar
e5661b9b62
Minor change
2021-11-11 21:09:21 +03:00
tavplubix
de6a6f3227
Merge pull request #31180 from ClickHouse/merge_selecting_backoff
...
Slightly better backoff for merge selecting task
2021-11-11 20:57:40 +03:00
avogar
51831afff8
Fix tests
2021-11-11 20:27:23 +03:00
Kseniia Sumarokova
b3bacac021
Merge pull request #29894 from kssenii/retriable-http
...
Make http read buffer retriable
2021-11-11 19:50:50 +03:00
Nikolai Kochetov
36954a910e
try fix header.
2021-11-11 19:30:59 +03:00
mergify[bot]
58c5981cab
Merge branch 'master' into refactor-pipeline-executor
2021-11-11 16:16:52 +00:00
Alexander Tokmakov
5858a4f74f
remove strange code from mutations
2021-11-11 17:03:33 +03:00
kssenii
d8ef39461f
Fix
2021-11-11 16:10:07 +03:00
tavplubix
ce8893ad43
Merge pull request #31010 from amosbird/narrowlock
...
Only grab AlterLock when we do alter.
2021-11-11 16:04:09 +03:00
Nikolay Degterinsky
7b5954b736
Merge branch 'master' into query_parameters
2021-11-11 11:43:00 +00:00
Nikolai Kochetov
90cf835277
A little bit more refactoring.
2021-11-11 14:41:15 +03:00
Alexander Tokmakov
627dde7aba
Merge branch 'master' into merge_selecting_backoff
2021-11-11 13:43:10 +03:00
taiyang-li
af78116c3f
Merge branch 'master' into hive_table
2021-11-11 11:52:28 +08:00
taiyang-li
deef4d4dbe
add options read_bool_as_uint8 when parse csv
2021-11-11 11:49:54 +08:00
avogar
c521a9131a
Small refactoring of WriteBiffer-s
2021-11-11 02:11:18 +03:00
kssenii
18b9a8f7fd
Fix build check
2021-11-11 02:03:56 +03:00
kssenii
62c70ce5cf
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-11-10 21:16:11 +00:00
Azat Khuzhin
baf14444e6
Cleanup ProfileEvents and CurrentMetrics
2021-11-10 21:15:27 +03:00
Azat Khuzhin
47a18e8ac5
Remove non existing BackgroundPoolTask in ReplicatedMergeTreeQueue
2021-11-10 21:15:26 +03:00
Anton Popov
833652e8f4
Merge branch 'nikvas0/simple_optimizations' of git://github.com/nikvas0/ClickHouse into merging-constraints
2021-11-10 19:35:28 +03:00
kssenii
a2326f5035
Fix
2021-11-10 19:03:54 +03:00
Vitaly Baranov
1579bcfd20
Merge pull request #31178 from vitlibar/backup-engines-and-improvements
...
Backup engines and improvements
2021-11-10 18:20:41 +03:00
mergify[bot]
5084003ed8
Merge branch 'master' into narrowlock
2021-11-10 13:07:07 +00:00
taiyang-li
5170369fde
fix build error
2021-11-10 18:24:01 +08:00
kssenii
f4f0bd8b5c
Fix
2021-11-10 13:16:39 +03:00
kssenii
60ed991c2c
Fix
2021-11-10 11:47:03 +03:00
Vitaly Baranov
e0f475c724
Split backup implementation into two parts to help implementing other backup engines.
2021-11-10 11:03:03 +03:00
taiyang-li
79cf9fb7ce
fix code style
2021-11-10 11:41:20 +08:00
taiyang-li
26988ab757
Merge branch 'master' into hive_table
2021-11-10 11:01:03 +08:00
sundy-li
d8aaac36ec
Add stable order by tests result
2021-11-09 21:34:55 +08:00
sundy-li
45cab9f3b0
Add stable order by tests result
2021-11-09 21:31:31 +08:00
Kruglov Pavel
17085183bf
Merge pull request #31042 from Avogar/hdfs-bad-url
...
Add additional hdfs url check
2021-11-09 16:23:59 +03:00
Alexander Tokmakov
51bd98294e
better merge selecting backoff
2021-11-09 15:26:51 +03:00
taiyang-li
c47bb97fce
compile storage hive only USE_PARQUET AND USE_ORC enalbed
2021-11-09 20:20:45 +08:00
kssenii
ee9ceaf7d4
Better
2021-11-09 14:27:17 +03:00
Amos Bird
33dfed584d
Fix exception message
2021-11-09 18:19:00 +08:00
Amos Bird
94fe925773
Better
2021-11-09 18:02:17 +08:00
Kseniia Sumarokova
581986c0d3
Merge pull request #30997 from kssenii/rabbitmq-fixes
...
RabbitMQ: fix one issue and add more tests
2021-11-09 10:15:01 +03:00
taiyang-li
b042e2b8f8
fix pvs check
2021-11-09 14:38:46 +08:00
sundy-li
3a981de643
ISSUES-30801: Remove not like function into RPNElement
2021-11-09 10:57:37 +08:00
Kseniia Sumarokova
1167e5aae8
Merge pull request #31112 from kssenii/fix-async-reads
...
Fix threadpool read for remote disks
2021-11-08 22:10:30 +03:00
Anton Popov
13b35a6817
Merge remote-tracking branch 'upstream/master' into HEAD
2021-11-08 21:29:16 +03:00
Anton Popov
66973a2a28
Merge remote-tracking branch 'upstream/master' into HEAD
2021-11-08 21:27:45 +03:00
Anton Popov
a7f219b3aa
better sampling in ColumnSparse and fix alter rename column
2021-11-08 21:25:31 +03:00
tavplubix
7079a6abff
Merge pull request #31060 from ClickHouse/fix_intersecting_parts_to_do2
...
Fix intersecting parts in `parts_to_do` 2
2021-11-08 20:08:13 +03:00
mergify[bot]
f55e1439cb
Merge branch 'master' into output-formats
2021-11-08 15:33:45 +00:00
Kseniia Sumarokova
9e3f112d89
Update src/Storages/RabbitMQ/StorageRabbitMQ.h
...
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-08 16:10:22 +03:00
taiyang-li
bb0feaa191
remove defined(ARCADIA_BUILD)
2021-11-08 18:40:41 +08:00
taiyang-li
c5bc968140
Merge remote-tracking branch 'ck/master' into bigo_hive_table
2021-11-08 18:38:14 +08:00
Amr Alaa
ad81977ace
Skip max_partition_size_to_drop check in case of ATTACH PARTITION ... FROM ( #30995 )
...
* Skip checkPartitionCanBeDropped check in case of ATTACH PARTITION ... FROM
* Add integration test
* Fix syntax error
* Fix integration test
* Fix integration test
* Fix integration test
* Skip max_partition_size_to_drop for MOVE PARTITION
2021-11-08 13:07:14 +03:00
kssenii
b4bebc5977
Add comments
2021-11-08 12:01:24 +03:00
mergify[bot]
9606b11903
Merge branch 'master' into fix_intersecting_parts_to_do2
2021-11-08 07:18:42 +00:00
kssenii
90b2a67909
Skip test
2021-11-07 13:25:06 +03:00
kssenii
fdaca4d8be
Better
2021-11-06 19:12:32 +00:00
kssenii
be88441cd6
Much better
2021-11-06 18:46:39 +03:00
nautaa
cc00c6993e
remove unnecessary assert
2021-11-06 21:00:24 +08:00
taiyang-li
dd98fc74b6
fix typos
2021-11-06 11:01:58 +08:00
taiyang-li
7b5d7a0f02
add missing source files
2021-11-06 10:31:15 +08:00
kssenii
9189966106
Fix
2021-11-05 20:01:21 +03:00
taiyang-li
36ca0b296b
implement hive table engine
2021-11-05 19:55:30 +08:00
Anton Popov
84e914e05a
minor fixes near serializations
2021-11-05 01:46:00 +03:00
kssenii
4bc2a29345
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-11-04 14:41:24 +00:00
kssenii
26f6a697b5
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql-fix
2021-11-04 13:25:48 +03:00
Vasily Nemkov
67852e9134
Implemented CREATE [MATERIALIZED|LIVE] VIEW ... COMMENT
2021-11-03 22:32:29 +02:00
Anton Popov
f37d12d16e
keep serialization infos after drops and renames
2021-11-03 23:29:48 +03:00
Alexander Tokmakov
d4677dc6d8
fix intersecting parts in parts_to_do 2
2021-11-03 21:48:17 +03:00
avogar
2dd4393ca1
Small refactoring in formats
2021-11-03 20:07:05 +03:00
kssenii
35a4be601a
Select query commit only with settings
2021-11-03 15:43:58 +03:00
kssenii
ec11179f91
Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers
2021-11-03 14:33:31 +03:00
kssenii
45ea820297
Reduce memory usage for some formats
2021-11-03 14:30:03 +03:00
kssenii
38466cb76f
Storage merge fix aliases with where
2021-11-03 14:17:11 +03:00
Kruglov Pavel
77f5ef476a
Merge branch 'master' into hdfs-bad-url
2021-11-03 14:08:55 +03:00
avogar
3839d521a0
Add additional hdfs url check
2021-11-03 14:01:50 +03:00
Nikita Mikhaylov
59c8ed9b0c
Fixed is_cancelled predicate inside MergeTask ( #30996 )
2021-11-03 13:25:45 +03:00
Vitaly Baranov
1f217aeb5a
Merge pull request #30998 from vitlibar/rename-access-control-manager
...
Rename AccessControlManager
2021-11-03 12:20:17 +03:00
kssenii
285742dcba
Fix tests
2021-11-03 11:57:33 +03:00
Amos Bird
710f7d64e4
Add retry to check alter_partition_version
2021-11-03 15:48:16 +08:00
Vitaliy Zakaznikov
db4a914b07
Reverting change that breaks live view tests.
2021-11-02 20:20:48 -04:00
Anton Popov
46fa062a81
fix tests
2021-11-02 23:30:28 +03:00
Kseniia Sumarokova
065106c299
Merge pull request #30690 from kssenii/partitioned-write
...
Partitioned write for file, hdfs, url storages and table functions
2021-11-02 22:58:16 +03:00
kssenii
b899dd9af5
Better
2021-11-02 22:47:27 +03:00
Anton Popov
e1ab0ad383
fix tests
2021-11-02 20:46:03 +03:00
Vitaliy Zakaznikov
239432009b
Fixing query performance issue in StorageLiveView.cpp by moving to PullingAsyncPipelineExecutor.
2021-11-02 11:36:52 -04:00
kssenii
f662c1829d
Fix
2021-11-02 18:08:10 +03:00
Alexander Tokmakov
56aeff734a
Merge branch 'master' into check_dependencies_on_drop
2021-11-02 16:15:30 +03:00
Vitaly Baranov
afe2c9c040
Rename AccessControlManager -> AccessControl.
2021-11-02 14:06:20 +03:00
Kruglov Pavel
901ebcede6
Merge pull request #30351 from arenadata/ADQM-335
...
output_format_avro_rows_in_file
2021-11-02 12:25:27 +03:00
Vitaly Baranov
a0c38a3dfd
Rename AuthenticationType::MAX_TYPE.
2021-11-02 12:02:22 +03:00
kssenii
9080d2ea52
Fix tests
2021-11-02 07:27:13 +00:00
alesapin
085cb275de
Merge pull request #30826 from azat/replicated-mt-fix-sanity-on-failed-drop
...
Fix possible "The local set of parts of X doesn't look like the set of parts in ZooKeeper" error
2021-11-02 10:15:43 +03:00
Vitaly Baranov
acf4e66771
Merge pull request #30973 from vitlibar/move-access-code
...
Move access-rights source code
2021-11-02 09:57:15 +03:00
Anton Popov
1628f50e51
Merge branch 'master' into sparse-serialization
2021-11-02 06:26:18 +03:00
Anton Popov
9823f28855
fix nested
2021-11-02 06:03:52 +03:00
robot-clickhouse
4289336c27
Auto version update to [21.12.1.1] [54457]
2021-11-02 00:56:45 +03:00
alexey-milovidov
af4a0a9ed2
Merge pull request #29528 from DimasKovas/allow_nulls_first_in_key_condition
...
Support NULLS FIRST in KeyCondition
2021-11-01 23:02:22 +03:00
alexey-milovidov
38f7d1ebc2
Update KeyCondition.cpp
2021-11-01 22:59:57 +03:00
Alexander Tokmakov
2b566c5bdf
basic check for dependencies on drop table
2021-11-01 22:20:18 +03:00
Vitaly Baranov
3bc9bf28f4
Merge pull request #30688 from vitlibar/backup-and-restore-for-log-family
...
Implement BACKUP & RESTORE for Log family
2021-11-01 19:57:39 +03:00
Vitaly Baranov
ab01b9afc8
Split Authentication.h to common and main parts.
2021-11-01 19:13:49 +03:00
Vitaly Baranov
3ed7f8f0b3
Move access-rights' source files needed for parser to a separate target.
2021-11-01 19:13:49 +03:00
Anton Popov
d50137013c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-11-01 16:55:53 +03:00
Anton Popov
a2b98f253e
fix nested
2021-11-01 16:52:13 +03:00
Vitaly Baranov
a1f29d31ea
Support BACKUP & RESTORE for log family.
2021-11-01 12:07:17 +03:00
Vladimir C
2e58a3bf62
Merge branch 'master' into MDB-15168
2021-11-01 11:59:13 +03:00
Vitaly Baranov
8fbd6e3d46
Merge pull request #30941 from vitlibar/fix-flaky-read-tiny-log
...
Fix reading from TinyLog
2021-11-01 11:44:06 +03:00
Azat Khuzhin
60a411581f
Fix possible "The local set of parts of X doesn't look like the set of parts in ZooKeeper" error
...
If during removing replica_path from zookeeper, some error occurred
(zookeeper goes away), then it may not remove everything from zookeeper.
And on DETACH/ATTACH (or server restart, like stress tests does in the
analysis from this comment [1]), it will trigger an error:
The local set of parts of table test_1.alter_table_4 doesn't look like the set of parts in ZooKeeper:
[1]: https://github.com/ClickHouse/ClickHouse/pull/28296#issuecomment-915829943
Fix this, by removing "metadata" at first, and only after this
everything else, this will avoid this error, since on ATTACH such table
will be marked as read-only.
v2: forget to remove remote_replica_path itself
v3: fix test_drop_replica by adding a check for remote_replica_path existence
2021-11-01 08:59:28 +03:00
Azat Khuzhin
ca22e7acfb
Use existing local remote_replica_path var in StorageReplicatedMergeTree::dropReplica()
2021-11-01 08:53:31 +03:00
Anton Popov
8fe3de16c6
fix nested
2021-11-01 05:40:43 +03:00
Anton Popov
c66207f606
fix nested
2021-11-01 05:13:07 +03:00
Vitaly Baranov
d2363d625c
Fix reading from TinyLog.
2021-11-01 04:07:43 +03:00
alexey-milovidov
f652c8ce24
Merge pull request #30852 from ucasfl/modify-table-comment
...
enable modify table comment of rest table engine
2021-10-31 22:12:07 +03:00
alexey-milovidov
ac38f8f459
Merge pull request #30903 from ClickHouse/reimplement-28639
...
Reimplement #28639
2021-10-31 22:10:58 +03:00
Kseniia Sumarokova
ca48c5f302
Merge pull request #30832 from ucasfl/filelog-fix
...
filelog engine tests improve
2021-10-31 21:27:48 +03:00
Vitaly Baranov
d29b73e301
Merge pull request #30689 from vitlibar/refactor-log-family
...
Refactoring of Log family
2021-10-31 18:50:08 +03:00
kssenii
2940d9fd19
Squashed commit of the following:
...
commit a1acc7ed3485bd158cf42f26b2d2a1bca84b7269
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Sun Oct 31 14:47:25 2021 +0000
Fix
commit 12a27d445b
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 29 09:24:53 2021 +0000
Adjutments after merge with master
commit f17e321a73
Merge: 55f1ba857d
11b70a285c
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 29 08:03:25 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 55f1ba857d
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 29 07:38:42 2021 +0000
Small fixes
commit aeba8104d1
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Thu Oct 28 10:28:05 2021 +0000
Some more fixes
commit 82f3754b8a
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Wed Oct 27 20:20:15 2021 +0000
Slightly better
commit 2647b88a66
Merge: 7024f51b55
2bb586bed3
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Wed Oct 27 19:38:19 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 7024f51b55
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Wed Oct 27 18:30:25 2021 +0000
Review fixes and add test
commit 7de5fca075
Merge: 1ecb6ad05d
855b10261c
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Sun Oct 24 17:04:24 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 1ecb6ad05d
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Sat Oct 23 18:53:59 2021 +0000
Better
commit 710ee96878
Merge: 28d2485716
158b4c26b7
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Mon Oct 18 08:31:25 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 28d2485716
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 15 17:27:26 2021 +0000
Some fixes
commit 7c20ca07b7
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 15 12:59:24 2021 +0000
Fix style check
commit ccb02cac56
Merge: 9e4fe0f3c8
d1138a8a25
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 15 12:36:30 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 9e4fe0f3c8
Merge: 9814cb1b45
daed77038b
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Tue Oct 12 09:58:15 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 9814cb1b45
Merge: 1c8b1b1133
969999ff10
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Tue Oct 12 09:49:08 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 1c8b1b1133
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Tue Oct 12 09:33:07 2021 +0000
Better
commit e7dbfff5d2
Merge: 3329b668d6
198adc7ecd
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Tue Oct 12 06:19:15 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-31 17:53:08 +03:00
alexey-milovidov
1285d3bd8c
Merge pull request #30877 from amosbird/projection-fix22
...
Fix invalid header in projection block calculation
2021-10-31 16:30:02 +03:00
mergify[bot]
3cb034880b
Merge branch 'master' into allow_nulls_first_in_key_condition
2021-10-31 12:19:08 +00:00
Alexey Milovidov
c38540786e
Reimplement #28639
2021-10-31 15:11:00 +03:00
alexey-milovidov
34009ea4a3
Merge pull request #30310 from amosbird/projection-fix20
...
Fix IN set filtering when projection is used.
2021-10-31 15:00:45 +03:00
Amos Bird
b3a8ad124f
Fix index analysis for set index
2021-10-31 12:35:20 +08:00
Vitaly Baranov
0e8c9b089f
Keep indices for StorageStripeLog in memory.
2021-10-31 03:52:41 +03:00
Vitaly Baranov
42596b16bc
Make StorageLog.cpp to implement both Log and TinyLog engines.
...
Refactoring of implementation of the Log family.
2021-10-31 03:52:36 +03:00
Amos Bird
d647a2db0c
Fix invalid header in projection block calculation
2021-10-30 17:26:43 +08:00
Kseniia Sumarokova
6035e0498b
Merge pull request #30786 from kssenii/fix-filelog-test
...
Fix test 02022
2021-10-29 22:06:28 +03:00
Anton Popov
0099dfd523
refactoring of SerializationInfo
2021-10-29 20:21:02 +03:00
feng lv
6f12348282
enable modify table comment of some table
2021-10-29 12:31:18 +00:00
Amos Bird
211c3d4d49
Better Projection IN
2021-10-29 20:24:36 +08:00
kssenii
12a27d445b
Adjutments after merge with master
2021-10-29 09:29:35 +00:00
tavplubix
f50b2b651b
Merge pull request #30822 from ClickHouse/fix_29052
...
Fix ambiguity when extracting auxiliary ZooKeeper name
2021-10-29 12:15:29 +03:00
kssenii
f17e321a73
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-29 08:03:25 +00:00
Kseniia Sumarokova
1cc1417ba4
Update StorageFileLog.cpp
2021-10-29 09:53:48 +03:00
feng lv
13a305d648
filelog engine tests improve
...
fix
2021-10-29 06:25:21 +00:00
kssenii
03d7476864
One more fix
2021-10-29 00:50:59 +03:00
tavplubix
bb4a8e91f7
Create StorageReplicatedMergeTree.cpp
2021-10-28 20:25:31 +03:00
Alexander Tokmakov
c1310841d9
fix ambiguity when extracting auxiliary zk name
2021-10-28 19:19:41 +03:00
kssenii
7e2ea97e3c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-28 18:46:21 +03:00
Anton Ivashkin
6cda420b56
Cleanup after fail in localBackup
2021-10-28 17:50:59 +03:00
alexey-milovidov
69bc2a8d2a
Merge pull request #30780 from ClickHouse/remove-cruft
...
Remove cruft
2021-10-28 17:42:18 +03:00
kssenii
d39840376f
Review fixes
2021-10-28 15:44:12 +03:00
kssenii
aeba8104d1
Some more fixes
2021-10-28 10:28:05 +00:00
tavplubix
33ffe11d03
Merge pull request #30346 from ClickHouse/fix_some_fetches_may_stuck
...
Try fix 'some fetches may stuck'
2021-10-28 13:10:15 +03:00
kssenii
3d01fbf603
Review fixes
2021-10-28 11:32:37 +03:00
kssenii
37cd91c0bf
Fix
2021-10-28 07:59:57 +00:00
Alexey Milovidov
8b4a6a2416
Remove cruft
2021-10-28 02:10:39 +03:00
alexey-milovidov
fab8da1c64
Merge pull request #30722 from ucasfl/filelog-engine
...
remove some unneeded header files
2021-10-27 23:35:03 +03:00
kssenii
9461e225bb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-27 22:47:47 +03:00
kssenii
2647b88a66
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-27 19:38:19 +00:00
kssenii
7024f51b55
Review fixes and add test
2021-10-27 19:37:36 +00:00
Azat Khuzhin
a1926b3a55
Fix MergeTreeReaderCompact with empty buffer (max_read_buffer_size=0)
...
CI: https://clickhouse-test-reports.s3.yandex.net/30190/0682d80f603d934eda51c93959164ee29eb52c02/functional_stateless_tests_(debug).html#fail1
2021-10-27 22:25:03 +03:00
tavplubix
ac4a9bcf23
Fix 00975_move_partition_merge_tree ( #30717 )
...
* Revert "Fix race between MOVE PARTITION and merges/mutations for MergeTree"
This reverts commit e9ce859b02
.
* fix
* Update StorageMergeTree.cpp
Co-authored-by: alesapin <alesapin@gmail.com>
2021-10-27 18:19:41 +03:00
Alexander Tokmakov
5e622d4c98
fix another issue
2021-10-27 15:59:26 +03:00
alesapin
2af950d4d5
Merge pull request #30658 from ClickHouse/std_mutex_alter_lock
...
Change `alter_lock` from `RWLock` to `std::timed_mutex`
2021-10-27 11:14:11 +03:00
alesapin
a29711f1d0
Merge pull request #30651 from ClickHouse/fix_intersecting_parts_to_do
...
Fix intersecting parts in `parts_to_do`
2021-10-27 10:52:21 +03:00
alesapin
8749f4a31a
Merge pull request #29043 from nvartolomei/nv/parts-uuid-move-shard-kill
...
Part movements between shards improvements and cancel support
2021-10-27 10:46:00 +03:00
kssenii
20772fde04
For storage
2021-10-27 10:04:17 +03:00
feng lv
4ac120b883
remove some unneeded header files
2021-10-27 04:13:12 +00:00
Dmitry Novik
e971871a95
Merge pull request #30668 from azat/prewhere-always-true-where
...
Fix PREWHERE with WHERE in case of always true PREWHERE
2021-10-26 17:18:50 +03:00
Alexander Tokmakov
6be1e98342
fix
2021-10-26 17:06:48 +03:00
mergify[bot]
ce88a84e88
Merge branch 'master' into nv/parts-uuid-move-shard-kill
2021-10-26 11:09:19 +00:00
alesapin
a679ece0fb
Merge branch 'master' into fix_intersecting_parts_to_do
2021-10-26 14:02:05 +03:00
kssenii
2ba3ee830e
Partitioned write part 2
2021-10-26 14:00:41 +03:00
Alexander Tokmakov
2e7e195e77
change alter_lock to std::timed_mutex
2021-10-26 13:37:00 +03:00
alexey-milovidov
e528bfdb1a
Merge pull request #30565 from ClickHouse/try-to-fix-30397
...
Try to fix #30397
2021-10-26 09:45:45 +03:00
Azat Khuzhin
16cd70aee9
Fix PREWHERE with WHERE in case of always true PREWHERE
2021-10-26 00:02:41 +03:00
mergify[bot]
70097b5c4e
Merge branch 'master' into fix_intersecting_parts_to_do
2021-10-25 17:21:25 +00:00
kssenii
1d743b9259
Partitoned write
2021-10-25 19:23:44 +03:00
Alexander Tokmakov
5cdd9a4b99
fix intersecting parts in parts_to_do
2021-10-25 19:00:55 +03:00
Alexander Tokmakov
94088f8197
minor fixes
2021-10-25 17:01:36 +03:00
Maksim Kita
772c326f2d
Merge pull request #30500 from kitaisreal/dictionaries-read-multiple-threads
...
Dictionaries read support multiple threads
2021-10-25 15:31:50 +03:00
Alexander Tokmakov
075c3a37f4
Merge branch 'master' into fix_some_fetches_may_stuck
2021-10-25 15:28:54 +03:00
alesapin
28bde879ed
Merge pull request #30455 from kssenii/deprecate-setting
...
Deprecate write_final_mark setting
2021-10-25 10:51:49 +03:00
kssenii
52296e8b04
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-25 00:22:32 +03:00
alexey-milovidov
7200cb8bba
Merge pull request #30611 from azat/readbuffer-real-size
...
Replace estimated_size with optional<size> for readFile/createReadBufferFromFileBase
2021-10-24 23:37:30 +03:00
kssenii
13a2a3d307
Merge branch 'master' of github.com:ClickHouse/ClickHouse into deprecate-setting
2021-10-24 23:05:21 +03:00
kssenii
658b33717f
A little nicer
2021-10-24 20:43:34 +03:00
kssenii
7de5fca075
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-24 17:04:24 +00:00
Kseniia Sumarokova
4667ea7883
Merge pull request #29774 from kssenii/remote-connection
...
Predefined configuration for table function remote
2021-10-24 19:38:01 +03:00
Azat Khuzhin
f9b27608f5
Fix reading of columns if offset_in_compressed_file is the same for mark range
...
Fixes: 00078_group_by_arrays
2021-10-24 18:58:22 +03:00
Azat Khuzhin
93c34824c0
Fix explicit 0 size for createReadBufferFromFileBase()
2021-10-24 18:58:22 +03:00
Azat Khuzhin
4599e9191b
Fix explicit 0 size for readFile()
2021-10-24 18:58:22 +03:00
Kseniia Sumarokova
7383bdd5fa
Merge pull request #25969 from ucasfl/filelog-engine
...
Implementation of a table engine to consume application log files in ClickHouse
2021-10-24 10:14:05 +03:00
kssenii
1ecb6ad05d
Better
2021-10-23 19:00:14 +00:00
Kseniia Sumarokova
00d0665bf2
Merge pull request #30477 from kssenii/postgres-fix-query
...
More reliable fetch query in postgres database
2021-10-23 19:07:34 +03:00
kssenii
e04e37916e
Review fixes
2021-10-23 18:20:31 +03:00
kssenii
36d0f67b38
Merge branch 'master' of github.com:ClickHouse/ClickHouse into remote-connection
2021-10-23 17:12:46 +03:00
feng lv
235339d530
fix
2021-10-23 09:35:33 +00:00
kssenii
1fa123ee5c
Properly done
2021-10-23 01:33:17 +03:00
Nikolai Kochetov
ee6bc3883f
Try to fix 30397
2021-10-22 19:25:48 +03:00
Nikolai Kochetov
e00d55c08d
Try to fix 30397
2021-10-22 17:42:20 +03:00
Kseniia Sumarokova
153dd9a895
Update MergeTreeSettings.h
2021-10-22 16:27:01 +03:00
kssenii
39b9e9c258
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-22 15:40:41 +03:00
Filatenkov Artur
1c72421e53
Add columns in columns.sql for INFORMATION_SCHEMA ( #29637 )
...
* add columns in columns.sql for INFORMATION_SCHEMA
2021-10-22 15:18:16 +03:00
Anton Popov
151daf61c1
Merge pull request #30522 from azat/remove-check_columns
...
Remove check_columns argument from MergeTree code (false was never passed)
2021-10-22 14:06:49 +03:00
kssenii
c95a29edac
Fix quoting
2021-10-22 10:07:23 +00:00
feng lv
54dc9693fb
fix
2021-10-22 07:08:08 +00:00
feng lv
5cb783aed0
fix
2021-10-22 02:36:24 +00:00
Maksim Kita
adaa14f8aa
Merge pull request #30502 from kitaisreal/storage-dictionary-fix-potential-configuration-race
...
StorageDictionary fix potential configuration race
2021-10-22 00:14:11 +03:00
Azat Khuzhin
496aa43a9f
Remove check_columns argument from MergeTree code (false was never passed)
2021-10-21 21:24:59 +03:00
kssenii
56f0560c46
Asserts and read till end option
2021-10-21 20:54:03 +03:00
Vitaly Baranov
5695ef55b3
Merge pull request #28125 from vitlibar/fix-writing-storage-log-marks
...
Fix writing marks in StorageLog
2021-10-21 20:10:01 +03:00
Dmitry Novik
58ee783be4
Merge pull request #30293 from amosbird/projection-fix19
...
Fix projections with JOIN alias columns
2021-10-21 17:49:21 +03:00
Maksim Kita
8885748a6c
StorageDictionary fix potential configuration race
2021-10-21 17:25:53 +03:00
Maksim Kita
a3a780bbf5
Dictionaries read support multiple threads
2021-10-21 17:17:53 +03:00
Anton Popov
b1a74af44d
Merge pull request #30180 from CurtizJ/remove-sample-by
...
Allow to remove `SAMPLE BY` expression
2021-10-21 17:09:53 +03:00
tavplubix
4c5104b30d
Merge pull request #30432 from ClickHouse/tavplubix-patch-3
...
Fix segfault on REPLACE PARTITION if session expired
2021-10-21 17:08:57 +03:00
Ilya Golshtein
82f33151e7
output_format_avro_rows_in_file fixes per code review
2021-10-21 02:53:39 +03:00
kssenii
e4e157688d
Review fixes
2021-10-21 01:57:43 +03:00
Nikita Mikhaylov
56869c0ec4
Merge pull request #30360 from nikitamikhaylov/allow-graphite-final
...
Allow to use FINAL clause in SELECT from GraphiteMergeTree
2021-10-20 19:57:44 +03:00
feng lv
6565e1d4b2
fix conflict
2021-10-20 15:22:16 +00:00
kssenii
0a90be8317
Remove write_final_mark setting
2021-10-20 14:13:04 +00:00
Amos Bird
2f615e9176
Use original_query for projection analysis
2021-10-20 21:30:15 +08:00
Nikolai Kochetov
8986de7e50
Merge pull request #30384 from amosbird/projection-fix21
...
Fix crash when minmax_count projection is used with primary key in partition expr
2021-10-20 16:17:13 +03:00
Kseniia Sumarokova
c692155c7e
Merge pull request #30309 from kssenii/fix-file-symlinks
...
Fix symlinks in file table function
2021-10-20 11:09:51 +03:00
tavplubix
5e24f337a0
Update StorageReplicatedMergeTree.cpp
2021-10-20 09:29:41 +03:00
Kseniia Sumarokova
5324cc8359
Merge pull request #30282 from kssenii/fix-local-less-threads
...
Less threads in clickhouse-local, fix Ok. printing
2021-10-19 22:54:28 +03:00
Anton Popov
f1a5f79849
fix sparse serialization
2021-10-19 19:54:20 +03:00
Amos Bird
05d93796dc
Fix minmax_count projection with primary key in partition expr
2021-10-19 23:36:07 +08:00
Maksim Kita
382c82805f
Merge pull request #30352 from kitaisreal/storage-executable-fix-small-issues
...
StorageExecutable fix small issues
2021-10-19 17:43:11 +03:00
Maksim Kita
0f2e23d775
Update StorageExecutable.cpp
2021-10-19 17:41:59 +03:00
feng lv
05fd6f7caf
fix comflict
2021-10-19 12:50:22 +00:00
Nikita Mikhaylov
75487be899
White list of storages that supports final
2021-10-19 12:16:33 +00:00
Alexander Tokmakov
caf972db48
fix
2021-10-19 14:56:04 +03:00
Nikita Mikhaylov
4fbd332bf1
Done
2021-10-19 11:53:55 +00:00
Nikita Mikhaylov
ea2a647724
Merge pull request #30192 from azat/granula-adjust-LOGICAL_ERROR-fix
...
Fix reading from MergeTree with max_read_buffer_size=0
2021-10-19 13:25:55 +03:00
kssenii
e53335bc6f
Better way
2021-10-19 08:21:38 +00:00
Nikolai Kochetov
cc7a3ea9ff
Merge pull request #30322 from ClickHouse/update-mergine-sorted-memory-optimization
...
Update memory optimisation for MergingSorted.
2021-10-19 11:12:50 +03:00
kssenii
df5dc4e991
Adjust MergeTreeIndexReader
2021-10-19 10:51:45 +03:00
kssenii
49106f407f
Fix some checks
2021-10-19 09:34:27 +03:00
Maksim Kita
fb91b1d92b
StorageExecutable fix small issues
2021-10-19 01:04:07 +03:00
Alexander Tokmakov
89fe606d15
try fix 'some fetches may stuck'
2021-10-18 23:16:02 +03:00
Nikita Mikhaylov
d004fd96ed
Merge pull request #30318 from azat/fix-shared-build
...
Move SquashingTransform to Interpreters (to fix split build)
2021-10-18 22:41:01 +03:00
Azat Khuzhin
e576fd17bd
Do not allow reading to empty buffer in MergeTreeReaderStream
...
Changelog:
- Verify that all rows was read in MergeTreeReaderWide
- Ignore some exceptions for Wide parts
- Take max_rows_to_read into account
- Verify that requested rows is not zero (otherwise it is too tricky)
- Simply verify that buffer is not empty
2021-10-18 21:19:34 +03:00
Azat Khuzhin
cd4b33c8c9
Verify that all rows was read in MergeTreeReaderCompact
...
v0: Use fmt-like style exception in MergeTreeReaderCompact
v2: Update the check
2021-10-18 21:19:34 +03:00
Azat Khuzhin
41e6df0f4b
Remove unused offset_columns from MergeTreeReaderWide::readRows()
2021-10-18 21:19:34 +03:00
Ilya Golshtein
d90302aa3b
output_format_avro_rows_in_file
2021-10-18 19:01:06 +03:00
feng lv
ab0d2504e5
fix
2021-10-18 15:44:54 +00:00
kssenii
d5d4817350
Add disk proxies back, add setReadUntilPosition to ReadBuffer
2021-10-18 18:35:11 +03:00
Nikolay Degterinsky
d76976e272
Merge branch 'master' into query_parameters
2021-10-18 17:34:20 +03:00
Anton Popov
d71ffc355a
Merge remote-tracking branch 'upstream/master' into HEAD
2021-10-18 15:18:22 +03:00
Nikolai Kochetov
6e479b301a
Update memory optimisation for MergingSorted.
2021-10-18 12:54:12 +03:00
Anton Popov
71b474793c
Merge pull request #30174 from CurtizJ/better-interfaces
...
Better interfaces for `IDataType` and `ISerialization`
2021-10-18 12:07:04 +03:00
kssenii
710ee96878
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-18 08:31:25 +00:00
feng lv
81fb4bcf76
fix style
2021-10-18 08:14:54 +00:00
kssenii
3d39ea8e37
Fix WHERE
2021-10-18 11:06:30 +03:00
feng lv
0c628726af
fix build
2021-10-18 07:48:58 +00:00
feng lv
1e3df5780c
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
2021-10-18 07:33:11 +00:00
Azat Khuzhin
6d4af3bac1
Move SquashingTransform to Interpreters (to fix split build)
...
clickhouse_common_io requires clickhouse_core:
ld.lld: error: undefined symbol: DB::blocksHaveEqualStructure(DB::Block const&, DB::Block const&)
>>> referenced by SquashingTransform.cpp:92 (/src/ch/clickhouse/src/Common/SquashingTransform.cpp:92)
>>> src/CMakeFiles/clickhouse_common_io.dir/Common/SquashingTransform.cpp.o:(void DB::SquashingTransform::append<DB::Block&&>(DB::Block&&))
>>> referenced by SquashingTransform.cpp:92 (/src/ch/clickhouse/src/Common/SquashingTransform.cpp:92)
>>> src/CMakeFiles/clickhouse_common_io.dir/Common/SquashingTransform.cpp.o:(void DB::SquashingTransform::append<DB::Block const&>(DB::Block const&))
while clickhouse_core requires clickhouse_common_io:
"clickhouse_core" of type SHARED_LIBRARY
depends on "roaring" (weak)
depends on "clickhouse_common_io" (weak)
depends on "clickhouse_common_config" (weak)
depends on "clickhouse_common_zookeeper" (weak)
depends on "clickhouse_dictionaries_embedded" (weak)
depends on "clickhouse_parsers" (weak)
Follow-up for: #30247 (cc @KochetovNicolai)
2021-10-18 10:28:36 +03:00
feng lv
6cf82f859c
fix
2021-10-18 07:27:37 +00:00
feng lv
a32abda322
fix
2021-10-18 07:08:37 +00:00
feng lv
074e02eb14
fix
2021-10-18 06:38:47 +00:00
alexey-milovidov
7beffb04ad
Merge pull request #29495 from ClickHouse/improvement_for_strange_mutations
...
Minor improvement for strange mutations
2021-10-17 20:57:06 +03:00
feng lv
9378b93e41
fix
2021-10-17 14:49:27 +00:00
Kseniia Sumarokova
5633865df1
Update src/Storages/StorageFile.cpp
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2021-10-17 14:16:40 +03:00
Nikolai Kochetov
2a95d7fc87
Merge pull request #29918 from amosbird/projection-improve5
...
Add primary key to minmax_count_projection
2021-10-17 14:04:18 +03:00
kssenii
059fc1de69
Allow symlinks in file storage
2021-10-17 09:11:06 +00:00
Nikolai Kochetov
bfcbf5abe0
Merge branch 'master' into removing-data-streams-folder
2021-10-17 10:42:37 +03:00
alexey-milovidov
4f11cfa59d
Merge pull request #28760 from azat/mutator-forbid-cleaner
...
Forbid cleaning of tmp directories that can be used by an active mutation/merge.
2021-10-17 03:18:01 +03:00
kssenii
4a0bdd296d
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-16 18:35:48 +03:00
Nikolai Kochetov
a08c98d760
Move some files.
2021-10-16 17:03:50 +03:00
alesapin
9418eda122
Merge pull request #30111 from ClickHouse/remove_trash
...
Remove trash from MergeTreeReadPool
2021-10-16 15:41:41 +03:00
Amos Bird
9ceb668a4d
Fix TSan
2021-10-16 18:13:41 +08:00
Amos Bird
77c4a5fa18
Better
2021-10-16 18:13:41 +08:00
Amos Bird
77a2022cf5
Add primary key to minmax_count_projection
2021-10-16 18:13:41 +08:00
Nikolai Kochetov
067eaadadd
Merge branch 'master' into removing-data-streams-folder
2021-10-16 09:46:05 +03:00
Nikolai Kochetov
c668696047
Merge pull request #30171 from ClickHouse/remove-stream-interfaces
...
Remove stream interfaces
2021-10-16 09:34:01 +03:00
feng lv
8b7721ae6f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
2021-10-16 05:14:11 +00:00
Anton Popov
d2ba3bcaa4
Merge pull request #28363 from amosbird/fastload2
...
Speed up part loading for JBOD
2021-10-16 02:37:32 +03:00
Azat Khuzhin
07e8b2b3c7
Do not try to remove temporary paths that is currently in written by merge/mutation
...
v2: rebase against MergeTask
v3: rebase due to conflicts in src/Storages/MergeTree/MergeTreeDataMergerMutator.cpp
v4:
- rebase due to conflicts in src/Storages/MergeTree/MergeTask.cpp
- drop common/scope_guard_safe.h (not used)
2021-10-16 00:43:52 +03:00
Azat Khuzhin
0b3bf43d61
Rewrite MergeTreeData::clearOldTemporaryDirectories() to use early continue
2021-10-16 00:43:51 +03:00
Nikolai Kochetov
fd14faeae2
Remove DataStreams folder.
2021-10-15 23:18:20 +03:00
mergify[bot]
477ea62257
Merge branch 'master' into remove-sample-by
2021-10-15 15:14:17 +00:00
kssenii
759f747080
Fix build
2021-10-15 17:12:34 +03:00
kssenii
7b81766168
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into remote-connection
2021-10-15 12:36:44 +00:00
kssenii
ccb02cac56
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-15 12:36:30 +00:00
kssenii
881ae8617e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-15 15:09:56 +03:00
kssenii
edfb1a5521
Better performance for smaller number of threads
2021-10-15 15:07:39 +03:00
Nikita Mikhaylov
d1138a8a25
Merge pull request #29691 from azat/fix-merge-mutate-memory-tracking
...
Fix memory tracking for merges and mutations
2021-10-15 13:53:52 +03:00
Nikolai Kochetov
ad8a344b46
Move TTL streams and algo
2021-10-15 13:11:57 +03:00
Maksim Kita
7beaeb8b13
Merge branch 'master' into indexcache
2021-10-15 12:59:09 +03:00
Maksim Kita
27fdeef4b6
Merge pull request #29650 from kitaisreal/add-default-database-visitor-support-dict-get
...
AddDefaultDatabaseVisitor support dictGet
2021-10-15 12:28:58 +03:00
kssenii
3995506d37
Adjust range reader for remote fs reads
2021-10-15 11:36:26 +03:00
Azat Khuzhin
2a7a1d8df5
Avoid losing any allocations context from merges/mutations
2021-10-15 01:43:28 +03:00
Azat Khuzhin
8a209a78d7
Set query_id for mutations/merges
...
This will allow to distinguish allocations in trace_log.
2021-10-15 01:43:28 +03:00
Azat Khuzhin
8cc45bea7b
Avoid accounting memory from another mutation/merge
...
Before this path it was possible that one merge/mutation may account
memory from another, due to ThreadStatus::untracked_memory.
And this cause flakiness of 01200_mutations_memory_consumption.
2021-10-15 01:43:28 +03:00
Azat Khuzhin
fd38cbb0df
Fix memory tracking for merges and mutations (by destroying earlier)
...
It fixes only some tiny allocations, and so it should not affect any
huge mutations/merges.
And plus, this should not be a real fix, since peak_memory_usage is
obtained before even destrying this objects, and destroing objects will
unlikely update peak memory usage (although it is possible).
v0: do this in dtors
v2: do this earlier
2021-10-15 01:43:27 +03:00
Azat Khuzhin
e4b39ca99c
Remove unused Block member from MutateTask
...
v0: Fix excessive memory usage in MutateTask
This is relevant only for 01200_mutations_memory_consumption test, since
this is just a block.
v2: just remove unused Block member, since other part had been fixed in #29768
2021-10-15 01:43:27 +03:00
alexey-milovidov
bc1662b9fe
Merge pull request #29946 from azat/log-fix-data-race
...
Fix data-race between LogSink::writeMarks() and LogSource in StorageLog
2021-10-15 01:30:58 +03:00
alexey-milovidov
8d694cbcdc
Merge pull request #29959 from azat/log-data-race-file-checker-fix
...
Fix possible data-race between FileChecker and StorageLog/StorageStripeLog
2021-10-15 01:30:23 +03:00
Anton Popov
7aa6068fb2
Merge remote-tracking branch 'upstream/master' into HEAD
2021-10-14 19:44:08 +03:00
mergify[bot]
92dd528c78
Merge branch 'master' into remove_trash
2021-10-14 14:14:07 +00:00
Anton Popov
476d7a411f
allow to remove SAMPLE BY expression
2021-10-14 17:05:20 +03:00
Maksim Kita
c1f04452de
AddDefaultDatabaseVisitor support dictGet
2021-10-14 16:31:32 +03:00
feng lv
400a31db06
reduce poll timeout
...
fix
2021-10-14 11:45:18 +00:00
Anton Popov
c2d376d0d6
Merge branch 'master' into better-interfaces
2021-10-14 14:33:36 +03:00
Nikolai Kochetov
ab28c6c855
Remove BlockInputStream interfaces.
2021-10-14 13:25:43 +03:00
Nikolai Kochetov
3d3e143c29
Merge pull request #30001 from ClickHouse/remove-streams-from-formats
...
Remove streams from formats.
2021-10-14 12:39:07 +03:00
Maksim Kita
f589084a94
Merge pull request #29899 from Enmk/Governance/dictionary_comment
...
Governance/dictionary comment
2021-10-14 12:35:10 +03:00
Anton Popov
92413aed68
better interfaces for IDataType and ISerialization
2021-10-14 05:36:49 +03:00
feng lv
21f7ecbd9f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
2021-10-14 02:09:51 +00:00
feng lv
3116767834
fix
2021-10-14 02:09:43 +00:00
Maksim Kita
659a46a972
WriteBufferToRabbitMQProduced fixed queue usage
2021-10-14 00:33:18 +03:00
Maksim Kita
04047f76c7
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
d55561422f
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
c9b6c2661b
Refactor ConcurrentBoundedQueue
2021-10-14 00:33:18 +03:00
Azat Khuzhin
eba6410fd5
Fix data-race between LogSink::writeMarks() and LogSource::readData() in StorageLog
...
CI founds [1], TSan report:
WARNING: ThreadSanitizer: data race (pid=497)
Write of size 8 at 0x7b1c00e4e8d8 by thread T922:
4 DB::LogSink::writeMarks() obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:462:72 (clickhouse+0x1665cdaa)
5 DB::LogSink::consume() obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:324:5 (clickhouse+0x1665c216)
Previous read of size 8 at 0x7b1c00e4e8d8 by thread T711:
1 DB::LogSource::readData()::$_0::operator()(bool) const::'lambda'()::operator()() const obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:188:26 (clickhouse+0x16661baf)
9 DB::LogSource::readData() obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:204:20 (clickhouse+0x1665bbcb)
[1]: https://clickhouse-test-reports.s3.yandex.net/29930/4bc90d1dd7dbd4b8a9b6920d00ca24e8b160358e/stress_test_(thread).html#fail1
Fixes : #29470
v2: rework locking, but this produce deadlock for 01499_log_deadlock test
v3: introduce per-file marks mutex
2021-10-14 00:17:45 +03:00
Azat Khuzhin
e4db862d85
Fix possible data-race between FileChecker and StorageLog/StorageStripeLog
2021-10-14 00:16:58 +03:00
Nikolay Degterinsky
63faf0212d
Merge branch 'master' into query_parameters
2021-10-13 23:55:09 +03:00
Nikolai Kochetov
2957971ee3
Remove some last streams.
2021-10-13 21:22:02 +03:00
alesapin
1801ea4955
Merge branch 'master' into remove_trash
2021-10-13 18:10:31 +03:00
feng lv
168020e0db
fix
2021-10-13 14:02:32 +00:00
alesapin
d2dfbb5ab6
Remove trash from MergeTreeReadPool
2021-10-13 15:25:44 +03:00
feng lv
c82fd3491d
fix
...
fix
2021-10-13 11:18:19 +00:00
feng lv
868dbc4bad
use poll replace select
...
fix
fix
2021-10-13 09:13:35 +00:00
mergify[bot]
cfda5592fe
Merge branch 'master' into fix-writing-storage-log-marks
2021-10-13 07:18:33 +00:00
feng lv
74e1900034
fix
2021-10-13 05:23:00 +00:00
Amos Bird
23602f4607
Speed up part loading for JBOD
2021-10-13 12:33:54 +08:00
feng lv
0409b775bf
fix
2021-10-13 02:11:15 +00:00
Nikolay Degterinsky
49c1a52f34
Merge branch 'master' into query_parameters
2021-10-13 03:04:40 +03:00
Azat Khuzhin
e9ce859b02
Fix race between MOVE PARTITION and merges/mutations for MergeTree
...
From time to time 00975_move_partition_merge_tree test got failed, the
reason is that there is merge in progress that writes data to the source
table again:
<details>
2021.10.12 13:20:40.243839 [ 26955 ] {2dbfea50-639e-49ac-9e82-933a00ea04a3} <Debug> executeQuery: (from [::1]:38060) (comment: 00975_move_partition_merge_tree.sql) ALTER TABLE test_move_partition_src MOVE PARTITION 1 TO TABLE test_move_partition_dest;
2021.10.12 13:20:40.244482 [ 26955 ] {2dbfea50-639e-49ac-9e82-933a00ea04a3} <Debug> test_t1tzb2.test_move_partition_dest (cab3b005-d54b-4cdc-8ab3-b005d54becdc): Cloning part /var/lib/clickhouse/store/467/467d7145-b47e-444e-867d-7145b47ea44e/1_2_2_0/ to /var/lib/clickhouse/store/cab/cab3b005-d54b-4cdc-8ab3-b005d54becdc/tmp_move_from_1_21_21_0
...
2021.10.12 13:20:40.373487 [ 378 ] {} <Trace> test_t1tzb2.test_move_partition_src (467d7145-b47e-444e-867d-7145b47ea44e) (MergerMutator): Merged 6 parts: from 1_2_2_0 to 1_11_11_0
...
2021.10.12 13:20:40.379750 [ 26955 ] {2dbfea50-639e-49ac-9e82-933a00ea04a3} <Debug> test_t1tzb2.test_move_partition_dest (cab3b005-d54b-4cdc-8ab3-b005d54becdc): Cloning part /var/lib/clickhouse/store/467/467d7145-b47e-444e-867d-7145b47ea44e/1_15_15_0/ to /var/lib/clickhouse/store/cab/cab3b005-d54b-4cdc-8ab3-b005d54becdc/tmp_move_from_1_28_28_0
</details>
And also remove cleaning of mutations since this will cause deadlock
after doing MOVE PARTITION under
currently_processing_in_background_mutex.
CI: https://clickhouse-test-reports.s3.yandex.net/0/a59c6b1c8eb47ebf77189a491ee0c3980b38e91c/functional_stateless_tests_
Fixes: 00975_move_partition_merge_tree
2021-10-13 00:14:24 +03:00
feng lv
b2a17cb320
fix build and conflict
2021-10-12 16:50:50 +00:00
Kseniia Sumarokova
bb15b57753
Merge pull request #30016 from ucasfl/sample-by-tuple
...
Fix crash of sample by tuple()
2021-10-12 19:46:21 +03:00
Nikolai Kochetov
f2d8cc547f
Fix Kafka source.
2021-10-12 18:09:28 +03:00
Nikolai Kochetov
c36bb9206e
Merge pull request #29879 from amosbird/queryidholderfix
...
Fix potential leak of query_id_holder
2021-10-12 15:42:02 +03:00