Commit Graph

73037 Commits

Author SHA1 Message Date
Artur
cfb9875acf Trigger Build 2021-09-30 13:47:12 +00:00
Artur
fcebf7b985 correct tests 2021-09-29 11:29:24 +00:00
Filatenkov Artur
aaf6785359
Merge branch 'ClickHouse:master' into add_CORS 2021-09-24 15:40:37 +03:00
Filatenkov Artur
7bbd08cb5d
Update HTTPHandler.cpp 2021-09-24 15:40:27 +03:00
robot-clickhouse
7fec999d47 Update version_date.tsv after release 21.8.7.22 2021-09-24 15:37:54 +03:00
Vladimir C
908ae1dc12
Merge pull request #29075 from vdimir/quantile-overflow 2021-09-24 15:03:15 +03:00
robot-clickhouse
704cfd2bb0 Update version_date.tsv after release 21.9.4.35 2021-09-24 14:50:03 +03:00
vdimir
152942aedf
Update 02029_quantile_sanitizer.sql 2021-09-24 13:08:46 +03:00
vdimir
db5477e634
Fix style in QuantileTDigest.h 2021-09-24 13:08:46 +03:00
vdimir
241e66cd2d
Add new test 02029_quantile_sanitizer, restore 01779_quantile_deterministic_msan 2021-09-24 13:08:46 +03:00
vdimir
58a756da9e
Handle overflow in quantileTDigest 2021-09-24 13:08:45 +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
Maksim Kita
628073492a
Merge pull request #29209 from bharatnc/ncb/complete-h3-inspection-funcs
H3 - add missing inspection funcs
2021-09-24 09:31:37 +03: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
5abd14e73f
Merge pull request #29309 from kitaisreal/revert-parse-number-binary-literal
Revert parse number binary literal
2021-09-24 00:24:11 +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
Kseniia Sumarokova
0ef410c0b8
Merge pull request #29308 from excitoon/patch-13
Fixed logging level for message in `S3Common.cpp`
2021-09-23 22:20:30 +03:00
Vladimir Chebotarev
0343106692
Fixed logging level for message in S3Common.cpp. 2021-09-23 21:47:31 +03:00
Nikolay Degterinsky
c3cf4b48d4
Merge pull request #29099 from sevirov/sevirov-DOCSUP-14537-document_the_log_queries_probability_setting 2021-09-23 21:20:16 +03:00
bharatnc
53a2ebead5 Use const auto * and & 2021-09-23 11:01:38 -07:00
Maksim Kita
004602a328
Merge pull request #29304 from kitaisreal/parser-number-binary-literal
Parser number binary literal
2021-09-23 21:00:37 +03:00
Maksim Kita
193fbf5db0 Parser number binary literal 2021-09-23 21:00:16 +03:00
Maksim Kita
d766fc47c4 Updated tests 2021-09-23 20:54:35 +03:00
Amos Bird
983ee004c7
Add empty key description builder. 2021-09-24 01:35:41 +08:00
Ivan Blinkov
af30a17822
Merge pull request #29297 from ClickHouse/blinkov-patch-22
[docs] return strict mode of mkdocs
2021-09-23 20:24:28 +03:00
Dmitriy
c1c6b62fa6
Update docs/ru/operations/settings/settings.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2021-09-23 19:32:04 +03:00
Dmitriy
1f4614e683
Update docs/ru/operations/settings/settings.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2021-09-23 19:31:39 +03: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
Ivan Blinkov
661074e756
[docs] return strict mode of mkdocs 2021-09-23 17:25:39 +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
Nikita Mikhaylov
e8ab9feb94
Merge pull request #29265 from ClickHouse/fix_yaml_test
Fix YAML integration tests
2021-09-23 15:12:38 +03:00
Nikita Mikhaylov
e5431eb576
Merge pull request #29042 from bbkas/patch-1
Alignment with the russian version: Manipulating Key Expressions
2021-09-23 15:05:27 +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
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
alesapin
941724bc11 Fix test rocksdb 2021-09-23 12:19:30 +03:00
Maksim Kita
1b99f43911
Merge pull request #29286 from kitaisreal/user-defined-executable-function-fix-debug-message
UserDefinedExecutableFunction fix debug message
2021-09-23 12:14:57 +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
alesapin
d1bb8d666e Move all yaml tests to clickhouse config 2021-09-23 11:08:40 +03:00
Kseniia Sumarokova
2c0b59576e
Merge pull request #29285 from kssenii/remove-debug
Remove debug stderr
2021-09-23 10:54:32 +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
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