Commit Graph

73125 Commits

Author SHA1 Message Date
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
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
vdimir
9af2e4891d
Cleanup test rocksdb_race_long.sh 2021-09-23 16:19:39 +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
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
Mark Andreev
155c9773a6
Fix table schema for hits_100m_obfuscated
Add schema for hits_100m_obfuscated (copy from play.clickhouse.com instance)
2021-09-23 14:55:53 +03:00
vdimir
1bb48cbe72
Add test for segfault in StorageEmbeddedRocksDB, issue #29227 2021-09-23 13:54:12 +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
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
alexey-milovidov
0b0be96f43
Update github-events.md 2021-09-22 23:56:42 +03:00
mergify[bot]
d69fc35dd9
Merge branch 'master' into compressed_logs 2021-09-22 19:43:16 +00:00
alesapin
65f2395165
Merge pull request #29268 from ClickHouse/add_missed_test
Add missed keeper jepsen config
2021-09-22 22:41:58 +03:00
Maksim Kita
be256cc9ed
Merge pull request #29270 from hhell/patch-1
Fix typo in an error message
2021-09-22 21:36:04 +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
6dc41ad653 Fixed tests 2021-09-22 20:31:49 +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
alesapin
dbff8fd03b Add missed keeper jepsen config 2021-09-22 19:27:11 +03:00
Dmitriy
8f9a45ea05
DOCSUP-14458: Edit and translate to Russian (two settings and subBitmap function) (#28996)
* Edit and translate to Russian

Выполнил перевод на русский язык.

* Update settings.md

Поправил документацию.

* Update docs/ru/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/sql-reference/functions/bitmap-functions.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/sql-reference/functions/bitmap-functions.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/sql-reference/functions/bitmap-functions.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update bitmap-functions.md

Обновил описание.

* Update docs/ru/sql-reference/functions/bitmap-functions.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/sql-reference/functions/bitmap-functions.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/functions/bitmap-functions.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/sql-reference/functions/bitmap-functions.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/sql-reference/functions/bitmap-functions.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update subBitmap function

Поправил описание функции subBitmap.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-22 19:12:31 +03:00