kssenii
30b92d24f1
Fix
2021-09-25 14:46:03 +00:00
Nikolai Kochetov
ef425310ff
Try use empty sink
2021-09-25 11:36:52 +03:00
Kseniia Sumarokova
b262070eba
Merge pull request #29340 from ClickHouse/fix-msan-disk-web
...
Fix trivial mistake in DiskWebServer
2021-09-25 11:05:29 +03:00
Amos Bird
34017c942e
More fixes
2021-09-25 13:38:56 +08:00
Alexey Milovidov
fe44be522e
Fix assert in table function merge
with database regexp
2021-09-25 05:48:24 +03:00
Alexey Milovidov
06fc466438
Remove window function 'nth_value'
2021-09-25 04:39:38 +03:00
Alexey Milovidov
cd7f9d981c
Remove ya.make
2021-09-25 04:22:54 +03:00
Anton Popov
7628273df4
Merge pull request #29266 from CurtizJ/normalize-asts
...
Normalize ASTs in ColumnsDescription
2021-09-25 04:01:54 +03:00
alexey-milovidov
62d606bb76
Update DiskWebServer.h
2021-09-25 02:58:12 +03:00
Alexey Milovidov
686989f4f1
Remove some uglyness
2021-09-25 02:34:50 +03:00
Alexey Milovidov
566797807f
Remove assorted trash
2021-09-25 02:32:03 +03:00
Alexey Milovidov
a2c2b3a866
Whitespaces
2021-09-25 02:12:26 +03:00
Alexey Milovidov
3284b2c8de
Fix typo in comment
2021-09-25 02:10:10 +03:00
Maksim Kita
63aef6ff95
Merge pull request #29335 from kitaisreal/function-h3-get-faces-optimization
...
Function h3GetFaces optimization
2021-09-25 01:54:17 +03:00
Maksim Kita
830eae6d1f
Merge pull request #29310 from kitaisreal/parser-number-binary-literal-update
...
Parser number binary literal update
2021-09-25 01:35:22 +03:00
Alexey Milovidov
4a44bcaced
Fix trivial mistake in DiskWebServer
2021-09-25 01:33:40 +03:00
feng lv
0009cab962
add virtual columns
2021-09-24 16:44:22 +00:00
Amos Bird
23d3d894e6
Fix projection merges and mutations.
2021-09-24 22:45:50 +08:00
alesapin
3614fb9e37
Merge pull request #29223 from ClickHouse/compressed_logs
...
Compressed logs for keeper
2021-09-24 16:03:26 +03:00
Vladimir C
908ae1dc12
Merge pull request #29075 from vdimir/quantile-overflow
2021-09-24 15:03:15 +03:00
Nikolai Kochetov
193f566568
Fix exception message.
2021-09-24 14:54:39 +03:00
Anton Popov
62dea79b78
better formatting
2021-09-24 14:41:49 +03:00
Maksim Kita
5af3f617f4
Fixed tests
2021-09-24 14:19:46 +03:00
Anton Popov
4017b1eb89
Update src/Storages/ColumnsDescription.cpp
...
Co-authored-by: Vladimir C <vdimir@clickhouse.com>
2021-09-24 14:08:33 +03:00
Maksim Kita
edeaa6d6d8
Function h3GetFaces optimization
2021-09-24 14:06:36 +03:00
Nikolai Kochetov
9d3e8fb9c3
Tiny fix.
2021-09-24 13:41:52 +03:00
Nikolai Kochetov
cc53ba283d
Try fix other tests.
2021-09-24 13:23:28 +03:00
Alexander Tokmakov
165765659d
fix assertion in DDLDependencyVisitor
2021-09-24 13:22:22 +03:00
Vasily Nemkov
1d20014d5d
Fixed clang12 build and updated tests
2021-09-24 13:11:00 +03:00
vdimir
db5477e634
Fix style in QuantileTDigest.h
2021-09-24 13:08:46 +03:00
vdimir
58a756da9e
Handle overflow in quantileTDigest
2021-09-24 13:08:45 +03:00
Vladimir C
604dc8861d
Apply suggestions from code review
...
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-09-24 13:07:24 +03:00
Nikolai Kochetov
e617aeb7a5
Merge pull request #29139 from amosbird/projection-fix17
...
Disable projections when ARRAY JOIN is used.
2021-09-24 11:15:23 +03:00
feng lv
9456c67486
fix
...
fix test
fix
fix
fix
exception handle
2021-09-24 02:59:47 +00:00
bharatnc
52289fa41e
Merge remote-tracking branch 'upstream/master' into ncb/complete-h3-inspection-funcs
2021-09-23 14:51:13 -07:00
Maksim Kita
5047e1a452
Parser number binary literal update
2021-09-24 00:35:41 +03:00
Maksim Kita
1ebb49d939
Revert parse number binary literal
2021-09-24 00:23:15 +03:00
bharatnc
de65461158
Merge remote-tracking branch 'upstream/master' into ncb/complete-h3-inspection-funcs
2021-09-23 13:44:36 -07:00
bharatnc
b13edbfee8
Cast dst_data to ColumnUInt8
2021-09-23 12:37:12 -07:00
Vladimir Chebotarev
0343106692
Fixed logging level for message in S3Common.cpp
.
2021-09-23 21:47:31 +03:00
bharatnc
53a2ebead5
Use const auto * and &
2021-09-23 11:01:38 -07:00
Maksim Kita
193fbf5db0
Parser number binary literal
2021-09-23 21:00:16 +03:00
Amos Bird
983ee004c7
Add empty key description builder.
2021-09-24 01:35:41 +08:00
bharatnc
f02d81be24
Merge remote-tracking branch 'upstream/master' into ncb/complete-h3-inspection-funcs
2021-09-23 08:59:39 -07:00
bharatnc
494c59d2c0
Add more review fixes for h3GetFaces
2021-09-23 08:58:53 -07:00
vdimir
9ca9a66a70
Fix race in StorageSystemRocksDB truncate
2021-09-23 17:03:33 +03:00
alesapin
eb3a651bab
Fix bug found on review
2021-09-23 16:55:50 +03:00
vdimir
81a051e3ee
Use dynamic_pointer_cast instead of dynamic_cast in StorageSystemRocksDB
2021-09-23 16:40:10 +03:00
Anton Popov
0390035963
fix unit test
2021-09-23 16:11:31 +03:00
Maksim Kita
23f865c722
Merge pull request #29282 from azat/fix-connection-timeout
...
Fix connection timeouts (send_timeout/receive_timeout)
2021-09-23 15:30:53 +03:00
Kruglov Pavel
55553026ee
Merge pull request #29206 from azat/strict-external-queries
...
Add ability to disable converting expressions to local filter for external queries
2021-09-23 13:22:12 +03:00
Nikolai Kochetov
998d29ebc7
Merge branch 'master' into rewrite-pushing-to-views
2021-09-23 13:10:27 +03:00
Nikolai Kochetov
562ce8c7c2
Fix virtuals.
2021-09-23 13:01:52 +03:00
Kruglov Pavel
6461391387
Merge pull request #29077 from Avogar/fix-msgpack
...
Improve MsgPack input/output format
2021-09-23 12:46:36 +03:00
Maksim Kita
0341b99c69
Merge pull request #29280 from kitaisreal/full-text-bloom-filter-added-support-for-array-data-type
...
FullText bloom filter index added support for Array data type
2021-09-23 12:34:06 +03:00
Maksim Kita
313f967204
UserDefinedExecutableFunction fix debug message
2021-09-23 12:14:21 +03:00
Maksim Kita
d9e265df2c
Fixed debug message
2021-09-23 12:13:01 +03:00
Maksim Kita
d59986f224
Merge pull request #29278 from kitaisreal/bloom-filter-map-added-support-for-has-function
...
Bloom filter map added support for has function
2021-09-23 12:03:56 +03:00
kssenii
6c1312760f
Remove debug
2021-09-23 07:52:52 +00:00
Kseniia Sumarokova
f7ff14b407
Merge pull request #28577 from kssenii/named-collections
...
Predefined connections and other parameters for external data sources
2021-09-23 10:25:23 +03:00
kssenii
d71b6ad657
Fix
2021-09-23 07:21:08 +00:00
Azat Khuzhin
015695b3bf
Fix connection timeouts (send_timeout/receive_timeout)
...
Query is not executed within sendQuery() function.
INSERT query consist from multiple parts:
- sendQuery()
- write()/writePrepared() -- send Data blocks
- writeSuffix() -- send empty Data block and receive EndOfStream
(see RemoteBlockOutputStream for more info)
So as you can see it is not executed completely from the sendQuery() function.
SELECT query (and others) also send Data blocks to the client after.
And what this means that temporary timeout (via TimeoutSetter) is not
enough, since next query can use timeout from the previous query.
Usually you do not see it, because:
- You don't use custom send_timeout/receive_timeout
- SELECT is fast enough
However it is not the case with INSERT, especially with
insert_distributed_sync=1, since
DistributedBlockOutputStream::writeSuffix() may stack because remote
server still INSERT'ing the data (i.e. creating znodes in zookeeper for
ReplicatedMergeTree, syncing blocks, and similar) that was issued from
DistributedBlockOutputStream::write(), and it will lead to the following
exception:
Code: 209, e.displayText() = DB::NetException: Timeout exceeded while reading from socket (127.1:9000): while receiving packet from ch-47-drt.dpa.semrush.net:9000: Insertion status:
Wrote X blocks and Y rows on shard Z replica 0, 127.1:9000 (average 0 ms per block, the slowest block N ms)
0. DB::Exception::Exception()
1. DB::ReadBufferFromPocoSocket::nextImpl()
2. void DB::readVarUIntImpl<false>(unsigned long&, DB::ReadBuffer&)
3. DB::Connection::receivePacket()
4. DB::RemoteBlockOutputStream::writeSuffix()
...
2021-09-23 09:03:13 +03:00
bharatnc
727182c3a4
Add review fixes
2021-09-22 22:50:33 -07:00
Maksim Kita
ebbefd49c3
FullText bloom filter index added support for Array data type
2021-09-23 02:06:54 +03:00
Vasily Nemkov
cb1ca9b33e
Implemented modifying table comments with ALTER TABLE t MODIFY COMMENT 'value'
2021-09-23 01:14:00 +03:00
Maksim Kita
d5a7e92b97
Bloom filter map added support for has function
2021-09-23 01:10:14 +03:00
Maksim Kita
1bf375e2b7
Merge pull request #29254 from kitaisreal/map-bloom-filter-index-updated
...
Updated bloom filter index for map type to work with mapKeys, mapValues functions
2021-09-23 00:31:14 +03:00
Maksim Kita
2920e124f3
Merge pull request #29267 from kitaisreal/function-has-support-map-type
...
Function has support map type
2021-09-23 00:26:58 +03:00
Nikita Mikhaylov
32aa2ca939
Merge pull request #29257 from nikitamikhaylov/race-merge-task
...
Fix segfault in fast test
2021-09-23 00:12:31 +03:00
mergify[bot]
d69fc35dd9
Merge branch 'master' into compressed_logs
2021-09-22 19:43:16 +00:00
Nikolai Kochetov
4f802d1cea
Fix test_executable_table_function
2021-09-22 22:31:12 +03:00
hhell
fc166570d8
Fix typo in an error message
...
Related: https://github.com/ClickHouse/ClickHouse/issues/20551
2021-09-22 21:33:15 +03:00
Maksim Kita
7eca0a1486
Merge pull request #29258 from vdimir/fuse-quantileBFloat16Weighted
...
Add NameQuantileBFloat16Weighted to GatherFunctionQuantileVisitor
2021-09-22 20:38:55 +03:00
Maksim Kita
93208fca4b
Bloom filter for map data type dded support for IN, mapContains functions
2021-09-22 20:25:10 +03:00
Kseniia Sumarokova
b41a446e8b
Delete getEngineConnectionArguments.h
2021-09-22 19:52:55 +03:00
Maksim Kita
c73808615b
Function has support map type
2021-09-22 19:08:08 +03:00
Anton Popov
8943389d03
normalize ASTs in ColumnsDescription
2021-09-22 18:55:20 +03:00
Kruglov Pavel
b46e4db70e
Fix PVS check 2.0
2021-09-22 18:22:34 +03:00
kssenii
a84fc77b52
Fixes
2021-09-22 18:10:25 +03:00
tavplubix
ba82781e11
Merge pull request #29061 from ClickHouse/remove_some_trash
...
Fix `system.distributed_ddl_queue`
2021-09-22 16:58:29 +03:00
mergify[bot]
c5ef025b64
Merge branch 'master' into fix-msgpack
2021-09-22 13:33:05 +00:00
Nikolai Kochetov
eed4e8c754
Fix progress for insert select.
2021-09-22 16:29:58 +03:00
vdimir
eb1053d931
Add NameQuantileBFloat16Weighted to GatherFunctionQuantileVisitor
2021-09-22 15:53:39 +03:00
mergify[bot]
a3f62af09c
Merge branch 'master' into race-merge-task
2021-09-22 12:42:45 +00:00
Nikita Mikhaylov
558c74e826
Done
2021-09-22 11:52:47 +00:00
Nikolai Kochetov
81bf13a247
Refactor pushing to views.
2021-09-22 13:57:00 +03:00
Kruglov Pavel
7545bff76c
Minor update
2021-09-22 13:47:03 +03:00
alesapin
258ce2436a
Merge pull request #29237 from CurtizJ/better-logging
...
Better diagnostic in ReplicatedMergeTree
2021-09-22 13:45:10 +03:00
alesapin
f980a414ee
Better tests and ability to work without compression
2021-09-22 13:38:06 +03:00
mergify[bot]
627a4fea96
Merge branch 'master' into fix-msgpack
2021-09-22 10:14:18 +00:00
Pavel Kruglov
9ed82fb44a
Fix PVS check
2021-09-22 13:13:05 +03:00
Maksim Kita
92fd6b376f
Updated bloom filter index for map type to work with mapKeys function
2021-09-22 12:45:48 +03:00
Kseniia Sumarokova
192c5397cc
Merge pull request #29211 from kssenii/better-retries-2
...
Fix retries for disk web
2021-09-22 12:37:25 +03:00
alesapin
3a11cc59b0
Rename back
2021-09-22 12:16:56 +03:00
kssenii
b51840a205
Merge branch 'master' of github.com:ClickHouse/ClickHouse into named-collections
2021-09-22 11:45:22 +03:00
Nikolai Kochetov
d018cb7adf
Fry fix executor again.
2021-09-22 11:30:02 +03:00
alesapin
043ef03d42
revert method name
2021-09-22 10:30:15 +03:00
feng lv
f637f4f2d1
remove unused variable
...
update test
update
2021-09-22 07:24:18 +00:00
Nikolai Kochetov
2c7239da66
Fix executor.
2021-09-22 09:49:59 +03:00
bharatnc
bdd9a4a352
Fix style check
2021-09-21 23:40:56 -07:00