Commit Graph

729 Commits

Author SHA1 Message Date
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
13ceaa4779
Merge pull request #11554 from Enmk/extractAllGroups-Horizontal-and-Vertical
extractAllGroupsHorizontal and extractAllGroupsVertical
2020-06-12 16:56:14 +03:00
Alexey Milovidov
11c79e1371 Fix JSON in clickhouse-benchmark; add test 2020-06-11 20:53:33 +03:00
alexey-milovidov
89df9915bb
Merge pull request #11592 from ClickHouse/replicated-merge-tree-create-drop-race-garbage
Fix race conditions in CREATE/DROP of different replicas of ReplicatedMergeTree
2020-06-11 17:11:38 +03:00
tavplubix
1777bd0273
Merge pull request #11467 from hexiaoting/showcreate
Add "SHOW CLUSTER(s)" queries support
2020-06-11 12:01:28 +03:00
Vasily Nemkov
50a184acac extractAllGroupsHorizontal and extractAllGroupsVertical
Split tests, fixed some error messages

Fixed test and error reporting of extractGroups
2020-06-11 11:03:17 +03:00
alexey-milovidov
c7be0d6bc0
Merge pull request #11578 from ClickHouse/fix_10240
Fix query_id of http queries
2020-06-11 06:55:04 +03:00
alexey-milovidov
9c20afbc81
Merge pull request #11579 from ClickHouse/fix_11490
Fix segfault in SHOW CREATE TABLE
2020-06-11 06:54:47 +03:00
alexey-milovidov
9e688307cb
Merge pull request #11580 from ClickHouse/fix-bug-prewhere-in-subquery
Fix prewhere in subquery
2020-06-11 06:53:44 +03:00
Alexey Milovidov
c0f8a3b5f2 Added a test 2020-06-11 06:27:20 +03:00
Vitaly Baranov
d6e16629ae
Merge pull request #11028 from Potya/master
Support numeric parameters in Number and String data types
2020-06-10 23:23:59 +03:00
tavplubix
982c85ac6c
Update 01293_show_clusters.reference 2020-06-10 21:13:16 +03:00
Alexander Tokmakov
3f389c1a19 try fix flacky test 2020-06-10 20:58:55 +03:00
Nikolai Kochetov
e2c6d09019 Added test. 2020-06-10 18:06:55 +03:00
Alexander Tokmakov
08073903ed fix query_id of http queries 2020-06-10 17:24:42 +03:00
Alexander Tokmakov
9166ddea41 fix segfault in show create table 2020-06-10 15:53:12 +03:00
alexey-milovidov
8e05558a5f
Merge pull request #11540 from ClickHouse/fix-direct-io
Fix direct IO with PREWHERE
2020-06-09 23:53:09 +03:00
alexey-milovidov
324f2ee3ce
Merge pull request #11543 from azat/flacky-01293_system_distribution_queue
Fix 01293_system_distribution_queue flackiness
2020-06-09 23:51:25 +03:00
Nikolai Kochetov
5cc2f318c9
Merge pull request #11495 from vzakaznikov/live_view_support_for_prewhere
Adding support for PREWHERE in live view tables.
2020-06-09 19:09:17 +03:00
alesapin
e3ae0734c9 Better test 2020-06-09 18:04:56 +03:00
alesapin
a5268b7c46
Update 01079_parallel_alter_detach_table_zookeeper.sh 2020-06-09 13:05:01 +03:00
alesapin
96cdeecd81 Better parallel tests 2020-06-09 13:03:22 +03:00
alesapin
30b02b20e5 Merge branch 'master' into fix-direct-io 2020-06-09 12:39:51 +03:00
Azat Khuzhin
ba4d964388 Add comments for 01281_group_by_limit_memory_tracking test 2020-06-09 11:18:08 +03:00
Azat Khuzhin
1a6c1d1796 Fix 01293_system_distribution_queue test flackiness 2020-06-09 11:18:04 +03:00
Ilya Yatsishin
822c19ddad
Merge pull request #11537 from ClickHouse/usability-exception-message-parse-columns-declaration-list
Better exception message when cannot parse columns declaration list
2020-06-09 09:55:40 +03:00
hexiaoting
75075a7b2b Add DISTINCT keyword when show clusters 2020-06-09 10:39:37 +08:00
Alexey Milovidov
09b9a308cb Fix obvious race condition in test 2020-06-09 05:03:22 +03:00
alesapin
223f45685f Review fixes 2020-06-09 05:03:22 +03:00
alesapin
bdeafe830b Better comment 2020-06-09 04:48:30 +03:00
alesapin
508e0f44d1 Fix modify test 2020-06-09 04:48:30 +03:00
Alexey Milovidov
6936da4e5d Fix bad test 2020-06-09 03:42:56 +03:00
Alexey Milovidov
6ee6b751be Added failing test #11539 2020-06-09 03:38:47 +03:00
alexey-milovidov
91d06c7e4f
Merge pull request #11523 from ClickHouse/fixing_01079_tests
Fixing test and benign race condition during table drop
2020-06-09 02:02:39 +03:00
alesapin
ce73b30505 Review fixes 2020-06-08 21:08:55 +03:00
alesapin
5db83dad07 Better comment 2020-06-08 18:18:33 +03:00
alesapin
68bd636c9c Fix modify test 2020-06-08 18:16:01 +03:00
Alexey Milovidov
7ba2d7e15f Changed timeouts in test 2020-06-08 15:35:57 +03:00
Vitaliy Zakaznikov
5fe67c4292 * Removing supportsPrewhere() from StorageLiveView.h as it is not valid.
* Updating test to check using PREWHERE in query against live view table.
* Updating test to check using PREWHERE in the stored query against the table that does
  not support PREWHWERE.
2020-06-08 13:12:40 +02:00
Alexey Milovidov
4216f2fe37 Merge branch 'master' into fix-aggregation-state-exception-safety-memory-leak 2020-06-08 06:31:20 +03:00
hexiaoting
75768413ad fix errors found by Style Check 2020-06-08 10:23:57 +08:00
Alexey Milovidov
e507f6b836 More crystallized test 2020-06-08 02:01:04 +03:00
Alexey Milovidov
d5443293a3 Added a test 2020-06-08 01:49:26 +03:00
Vitaliy Zakaznikov
75c97ca82a Adding support for PREWHERE in live view tables. 2020-06-08 00:19:23 +02:00
Alexey Milovidov
d8d245354d Added a test 2020-06-07 20:30:55 +03:00
Alexey Milovidov
d3d02a67f4 Speed up build by removing old example programs 2020-06-06 19:19:16 +03:00
alexey-milovidov
3e84b17cf8
Merge pull request #11394 from azat/system.distribution_queue
Add system.distribution_queue table
2020-06-06 18:59:59 +03:00
Anton Popov
5c42408add
Merge pull request #9113 from dimarub2000/group_by_in_order_optimization
[WIP] Optimization of GROUP BY with respect to table sorting key.
2020-06-06 14:25:59 +03:00
alexey-milovidov
42534959e3
Merge pull request #11421 from livace/fix_point_in_polygon_with_nan
Fix pointInPolygon with nan
2020-06-06 12:37:19 +03:00
alexey-milovidov
050ef9eb54
Merge pull request #11455 from azat/INSERT-SELECT-FINAL-pipeline-stuck
Fix Pipeline stuck for INSERT SELECT FINAL
2020-06-06 12:36:07 +03:00