Commit Graph

42235 Commits

Author SHA1 Message Date
Alexey Milovidov
fae12d5e42 Return NULL or zero when value is not parsed completely in parseDateTimeBestEffortOr* functions 2020-06-14 04:45:03 +03:00
zhang2014
e1317ef8ae ISSUES-7572 fix test failure 2020-06-14 09:44:05 +08:00
Alexey Milovidov
400e9fb64f Allow to drop table if there is no metadata in ZooKeeper; allow to rename 2020-06-14 04:23:53 +03:00
Alexey Milovidov
6c278fee61 Better exception message 2020-06-14 04:07:47 +03:00
Alexey Milovidov
970a8e3ecc Skip empty URL parameters #10749 2020-06-14 03:56:13 +03:00
Alexey Milovidov
30f1f88118 Allow case-insensitive regexps; added a test #11101 2020-06-14 03:43:42 +03:00
Volodymyr Kuznetsov
713f8f0b22
Added groupArrayArray and groupUniqArrayArray to SimpleAggregateFunction 2020-06-13 17:21:33 -07:00
Alexey Milovidov
41afea0165 Fix style 2020-06-14 02:10:25 +03:00
Alexey Milovidov
f2677a7841 Added a test just in case 2020-06-14 01:30:17 +03:00
Alexey Milovidov
844140467e Simplify the code in comparison functions 2020-06-14 01:18:48 +03:00
Alexey Milovidov
a421e7e4b4 Added a test 2020-06-14 00:13:52 +03:00
Alexey Milovidov
2cd82a25f5 Remove trivial count query optimization if row-level security is set #11352 2020-06-13 23:59:20 +03:00
alexey-milovidov
f53da4d36b
Merge pull request #11608 from ClickHouse/fix-nullable-prewhere-type
Fix nullable prewhere type
2020-06-13 20:29:12 +03:00
Alexey Milovidov
d8312d0f00 Remove "fail" from test name; fix typo in test name #11151 2020-06-13 20:25:13 +03:00
Alexey Milovidov
9901e4d528 Remove debug output #11554 2020-06-13 20:20:54 +03:00
alexey-milovidov
3fe4bea56e
Merge pull request #11632 from ClickHouse/merging-extract-all-groups
Minor modifications after merging #11554
2020-06-13 20:20:38 +03:00
Anton Popov
10382e50d1
Merge pull request #11635 from dimarub2000/group_by_in_order_fix
Group by in order fix
2020-06-13 14:21:34 +03:00
Azat Khuzhin
901a657417 Rename 01307_data_skip_bloom_filter to 01307_bloom_filter_index_string_multi_granulas
This better reflects the covered case.
2020-06-13 14:20:42 +03:00
alesapin
3427da1c43 Fix incorrect usage of rows TTL 2020-06-13 13:39:25 +03:00
alesapin
18b58e8483 Revert too strict lock 2020-06-13 12:12:45 +03:00
alesapin
d636cdf4b0 Remove outdated comment 2020-06-13 11:55:03 +03:00
alesapin
31b852c46d Remove redundant locks 2020-06-13 11:53:40 +03:00
alesapin
fcfb6d3bc2 Merge with master 2020-06-13 11:51:07 +03:00
alesapin
5d3de747cd Merge remote-tracking branch 'origin/master' into consistent_metadata4 2020-06-13 11:50:27 +03:00
Tom Bombadil
09a37db2a3
Update clickhouse-benchmark.md (#11619)
* Update clickhouse-benchmark.md

Optimize doc translation for  Simplized-Chinese version,author by TomBombadil

* Update clickhouse-benchmark.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-13 05:48:50 +03:00
Tom Bombadil
558912be7d
Update lazy.md (#11620)
* Update lazy.md

Optimize the doc translation for Simplified-Chinese version.

* Update lazy.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-13 05:47:23 +03:00
zhang2014
de96296e01 ISSUES-7572 fix build failure 2020-06-13 10:17:02 +08:00
alexey-milovidov
0589b1e016
Merge pull request #11637 from ClickHouse/remove-leader-election-1
Remove leader election, step 1: update and check version of "log" node
2020-06-13 04:34:33 +03:00
Alexey Milovidov
22dd47c13f Added a test 2020-06-13 04:34:05 +03:00
Alexey Milovidov
52ac009754 Update versions on merge and mutation 2020-06-13 04:34:05 +03:00
Alexey Milovidov
902774c89c Removed default value of constructor 2020-06-13 04:34:05 +03:00
Alexey Milovidov
833c8178ae Whitespaces 2020-06-13 04:34:05 +03:00
Alexey Milovidov
6869c122a8 Step 1 towards removing leader election: check and modify version of the "log" node 2020-06-13 04:34:05 +03:00
alexey-milovidov
54b77ff967
Merge pull request #11633 from ClickHouse/avoid-errors-using-zk-api
Avoid errors due to implicit int<->bool conversions when using ZK API
2020-06-13 04:32:32 +03:00
Azat Khuzhin
0b1ff4f9cc Update max_rows_to_read in 00945_bloom_filter_index test
The expected values was incorrect, since for strings we have 1 and 10
and there will be at least two index granulas, hence 12 rows.
2020-06-13 01:37:20 +03:00
Alexey Milovidov
a690851586 Fix style 2020-06-13 00:20:59 +03:00
Alexey Milovidov
8985d64237 Fix "Arcadia" build 2020-06-13 00:20:00 +03:00
Azat Khuzhin
7f52b615e0 Fix bloom filters for String (data skipping indices)
bloom filter was broken for the first element, if all of the following
conditions satisfied:
- they are created on INSERT (in thie case bloom filter hashing uses
  offsets, in case of OPTIMIZE it does not, since it already has
  granulars).
- the record is not the first in the block
- the record is the first per index_granularity (do not confuse this
  with data skipping index GRANULARITY).
- type of the field for indexing is "String" (not FixedString)

Because in this case there was incorrect length and *data* for that string.
2020-06-12 22:46:40 +03:00
Alexey Milovidov
f608044690 Fix error 2020-06-12 21:19:16 +03:00
zhang2014
8d9b770da4 ISSUES-7572 fix defaults config level & add replicas_status and prometheus handler 2020-06-13 00:15:02 +08:00
Dmitry
e5897bbfb6 size_t -> ssize_t 2020-06-12 18:59:11 +03:00
alexey-milovidov
fc8da2abd3
Merge pull request #11613 from azat/system.zookeeper-path-prepend-slash
Prepend slash for path while querying system.zookeeper
2020-06-12 18:19:10 +03:00
Alexey Milovidov
72257061d5 Avoid errors due to implicit int<->bool conversions when using ZK API 2020-06-12 18:09:12 +03:00
Nikolai Kochetov
83155e139c Try fix tests. 2020-06-12 17:59:14 +03:00
alesapin
0edf5ff7a2 Fix race condition 2020-06-12 17:32:47 +03:00
Alexey Milovidov
787163d0b4 Minor modifications after merging #11554 2020-06-12 17:03:00 +03:00
alexey-milovidov
13ceaa4779
Merge pull request #11554 from Enmk/extractAllGroups-Horizontal-and-Vertical
extractAllGroupsHorizontal and extractAllGroupsVertical
2020-06-12 16:56:14 +03:00
zhang2014
2c439afc01 ISSUES-7572 fix build failure 2020-06-12 19:17:34 +08:00
zzsmdfj
a2ed8d70a7
update zh-docs-aggregate-functions (#11623) 2020-06-12 14:03:01 +03:00
zhang2014
1c55aa0333 ISSUES-7572 add integration test 2020-06-12 18:19:03 +08:00