Alexander Tokmakov
8b4ec60063
Merge pull request #38587 from ClickHouse/nickitat-patch-2
...
quick fix for 02112_with_fill_interval
2022-06-30 02:46:47 +03:00
mergify[bot]
4cbbfb431d
Merge branch 'master' into dictinct_in_order_optimization
2022-06-29 23:32:17 +00:00
Igor Nikonov
d435532c68
Adapt range search algorithm to high cardinality case
...
+ range search done in steps of some number of rows.
Controled by new
setting `distinct_in_order_range_search_step`. By default 0, i.e.
whole chunk
+ before start binary search, linear probing is done on each step (32
rows currently)
2022-06-29 23:30:35 +00:00
alesapin
8726c7df26
Strangest fix for HDFS test
2022-06-30 01:21:49 +02:00
Igor Nikonov
bd4a208428
Merge pull request #38438 from ClickHouse/distinct_sorted_small_refact
...
Distinct sorted: calculate column positions once
2022-06-30 00:53:17 +02:00
Alexander Tokmakov
4bf1443dae
Update download.sh
2022-06-30 01:00:08 +03:00
Robert Schulze
81bb2242fd
Fix countSubstrings() & position() on patterns with 0-bytes
...
SQL functions countSubstrings(), countSubstringsCaseInsensitive(),
countSubstringsUTF8(), position(), positionCaseInsensitive(),
positionUTF8() with non-const pattern argument use fallback sorters
LibCASCIICaseSensitiveStringSearcher and LibCASCIICaseInsensitiveStringSearcher
which call ::strstr(), resp. ::strcasestr(). These functions assume that
the haystack is 0-terminated and they even document that. However, the
callers did not check if the haystack contains 0-byte (perhaps because
its sort of expensive). As a consequence, if the haystack contained a
zero byte in it's payload, matches behind this zero byte were ignored.
create table t (id UInt32, pattern String) engine = MergeTree() order by id;
insert into t values (1, 'x');
select countSubstrings('aaaxxxaa\0xxx', pattern) from t;
We returned 3 before this commit, now we return 6
2022-06-29 21:41:18 +00:00
Nikita Taranov
7d2e8b0883
clean up
2022-06-29 22:15:12 +02:00
HeenaBansal2009
6bf9c7cd4d
Updated index file for Geo functions
2022-06-29 12:21:05 -07:00
Dmitry Novik
4f7967ab9e
Merge pull request #37887 from azat/union-fix
...
Fix incorrect columns order in subqueries of UNION
2022-06-29 20:40:23 +02:00
alesapin
615070425e
Fix comment
2022-06-29 20:30:23 +02:00
alesapin
8f5582f95e
Review and style fixes
2022-06-29 20:29:50 +02:00
Alexander Tokmakov
cd2cb10f60
another try to fix performance tests
2022-06-29 20:55:46 +03:00
Maksim Kita
09be594c81
Dictionaries added TSA annotations
2022-06-29 19:15:47 +02:00
Suzy Wang
eb3f49426c
Remove zlib in mariadb-connector-c
2022-06-29 10:03:55 -07:00
alesapin
9b387a57ed
Test ipv6 as well
2022-06-29 17:56:59 +02:00
Yatsishin Ilya
1ef92b4c27
fix black again
2022-06-29 15:56:29 +00:00
alesapin
62e7a89f26
Proper fix for ipv4/ipv6 conversion error
2022-06-29 17:53:08 +02:00
Maksim Kita
45c18145ec
Fixed tests
2022-06-29 17:51:27 +02:00
Maksim Kita
65110fdffc
ColumnVector refactor replicate SSE42 optimization
2022-06-29 17:50:25 +02:00
Nikita Taranov
41460dcaca
quick fix for 02112_with_fill_interval
...
Seems like the problem is that now data more often come to FillingTransform in multiple chunks. Don't know why it affects the results, will continue investigation.
2022-06-29 17:37:29 +02:00
Yatsishin Ilya
f4691b0b00
fix black
2022-06-29 15:08:24 +00:00
Dan Roscigno
cf6de30156
Merge pull request #38566 from ClickHouse/rfraposa-patch-2
...
Update zh/tutorial.md
2022-06-29 10:34:54 -04:00
Dan Roscigno
628ac3e1b8
Apply suggestions from code review
2022-06-29 10:34:38 -04:00
Yatsishin Ilya
6f6e814542
Fix test_dictionaries_postgresql
2022-06-29 14:18:12 +00:00
Alexander Tokmakov
baeb1811e1
try to fix performance tests
2022-06-29 16:59:16 +03:00
mergify[bot]
36139eacd7
Merge branch 'master' into dictinct_in_order_optimization
2022-06-29 13:37:16 +00:00
alesapin
67f2fa0ef0
Fix style
2022-06-29 15:18:48 +02:00
Igor Nikonov
3627c6ff36
Perf tests with high cardinality
2022-06-29 13:13:39 +00:00
alesapin
2f03e821bd
Fix stupid bug
2022-06-29 15:08:16 +02:00
Yatsishin Ilya
c86c6cc2d9
Improve postgres tests. Fix flaky test_postgresql_database_engine
2022-06-29 12:54:45 +00:00
Alexander Tokmakov
3ff26939fc
Update run.sh
2022-06-29 15:46:40 +03:00
Anton Popov
c5e0869c46
fix flaky test
2022-06-29 14:20:26 +02:00
Rich Raposa
0b40051883
Update zh/tutorial.md
...
Fix `include` from old mkdocs version
2022-06-29 06:04:02 -06:00
Anton Popov
e78814f3bb
Merge pull request #38371 from CurtizJ/fix-distint-with-limit
...
Fix `DISTINCT` with `LIMIT` in distributed queries
2022-06-29 14:02:41 +02:00
alesapin
ac963a7663
Remove redundant check
2022-06-29 13:55:20 +02:00
Maksim Kita
ea0996674f
Merge pull request #37235 from zzachimed/column_replicate_optimize_v2
...
Improve performance for column replicate for uint32 type. In our benc…
2022-06-29 13:45:22 +02:00
robot-clickhouse
656d0c0f04
Update version_date.tsv and changelogs after v22.6.2.12-stable
2022-06-29 11:24:30 +00:00
Alexander Tokmakov
8246e55002
Merge pull request #38486 from azat/fix-parts-removal
...
Fix parts removal after incorrect server shutdown
2022-06-29 14:17:59 +03:00
Alexander Tokmakov
32c6a944ee
Merge pull request #38541 from Algunenano/rmarin_fix_replicated_create_table_compat
...
Fix table creation to avoid replication issues with pre-22.4 replicas
2022-06-29 14:15:50 +03:00
Maksim Kita
eeae73e0cf
SQL create drop index update implementation
2022-06-29 13:10:30 +02:00
Kruglov Pavel
b9813bcdea
Merge pull request #38356 from kssenii/fix-rabbitmq-with-peekable
...
Fix RabbitMQ with formats based on PeekableReadBuffer
2022-06-29 13:06:10 +02:00
mergify[bot]
9482c99ab8
Merge branch 'master' into sql-insert-format
2022-06-29 11:03:07 +00:00
Kruglov Pavel
77873e75bf
Update TimerDescriptor.cpp
2022-06-29 13:01:14 +02:00
Kruglov Pavel
30fd086b5e
Add logging in Epoll and TimerDescriptor in case of EINTR
2022-06-29 12:59:18 +02:00
Alexander Tokmakov
c3573532c0
Merge pull request #38487 from ClickHouse/add_some_tsa_annotations
...
Add some TSA annotations
2022-06-29 13:57:10 +03:00
Mikhail f. Shiryaev
498a9cc8d4
Terminate instance if docker does not start on post-hook
2022-06-29 12:54:33 +02:00
Yakov Olkhovskiy
78ea290789
add remove command
2022-06-29 06:47:21 -04:00
Alexander Tokmakov
ceb66ade4b
Merge pull request #38335 from ClickHouse/deprecate_ordinary_database
...
Deprecate Ordinary database and old *MergeTree syntax
2022-06-29 13:42:59 +03:00
Kruglov Pavel
5cc662f227
Merge pull request #38511 from azat/fix-schema_inference_with_globs
...
tests: fix 02305_schema_inference_with_globs flakiness
2022-06-29 12:39:38 +02:00