Kseniia Sumarokova
5edd9e0513
Merge pull request #27198 from kssenii/postgres-db-schema
...
Support schema for postgres database engine
2021-08-05 18:30:47 +03:00
Kruglov Pavel
59a94bd322
Merge pull request #27183 from ClickHouse/fix_detached_parts_name_partsing
...
Fix part name parsing in system.detached_parts
2021-08-05 18:21:03 +03:00
Nikolai Kochetov
fc12310ee8
Revert #24095 . User-level settings will affect queries from view.
2021-08-05 17:17:22 +03:00
Maksim Kita
1ae59b6cce
DatabaseReplicatedWorker logs_to_keep race fix
2021-08-05 17:05:03 +03:00
Maksim Kita
4f0dbae0f9
Merge pull request #27211 from amosbird/betterregex
...
Split mutex into individual regexp construction.
2021-08-05 17:03:44 +03:00
Nikita Mikhaylov
a61c1bcb63
Merge pull request #27224 from georgthegreat/fix-include
...
ADDINCL proper fast_float directory
2021-08-05 16:58:46 +03:00
Yuriy Chernyshov
3432743b31
ADDINCL proper fast_float directory
2021-08-05 16:53:36 +03:00
Maksim Kita
fbeabb060e
Merge pull request #27221 from ClickHouse/filimonov-changelog-readme
...
Update changelog/README.md
2021-08-05 16:47:52 +03:00
Alexander Kuzmenkov
d852207b0e
Merge pull request #25721 from CurtizJ/read-in-order-perf-2
...
Reduce memory usage in queries with `ORDER BY primary_key
2021-08-05 16:13:48 +03:00
Alexey Milovidov
0f832fcf8b
Add missing file
2021-08-05 14:45:38 +03:00
Alexander Kuzmenkov
04da62707e
more careful handling of reconnects in fuzzer
2021-08-05 14:34:13 +03:00
Maksim Kita
71e5cfe3ca
Merge pull request #27134 from FArthur-cmd/compress_output_3473
...
add compression for INTO OUTFILE
2021-08-05 14:20:08 +03:00
filimonov
7b6ae5ee17
Update README.md
2021-08-05 13:19:13 +02:00
Alexander Kuzmenkov
4bc652699f
Merge pull request #27184 from ClickHouse/aku/window-functions
...
mark window functions as ready for general use
2021-08-05 14:18:28 +03:00
Alexander Tokmakov
8e1e53fb68
fix
2021-08-05 14:14:50 +03:00
Nikolay Degterinsky
1e8badcf05
Improve NLP performance test
2021-08-05 11:07:31 +00:00
Maksim Kita
7fdf3cc263
Merge pull request #27180 from kitaisreal/storage-system-replicas-added-column-replica-is-active
...
Storage system replicas added column replica is active
2021-08-05 12:46:53 +03:00
alexey-milovidov
975e0a4d47
Merge pull request #27182 from amosbird/logquerykind
...
Try our best to log query_kind
2021-08-05 12:43:13 +03:00
Maksim Kita
7264c7bf4b
Fixed performance tests
2021-08-05 12:37:15 +03:00
Vladimir C
a774151dec
Merge pull request #27177 from kolsys/server-play-allow-params
2021-08-05 12:10:57 +03:00
Vladimir C
d9b8936256
Update programs/server/play.html
2021-08-05 12:04:13 +03:00
kssenii
e8dd257468
Update DatabaseFactory.cpp
2021-08-05 09:04:00 +00:00
Amos Bird
45a86b1aa4
Remove silly and wrong optimization
2021-08-05 17:01:15 +08:00
Maksim Kita
2ca6b2cfc0
Merge pull request #27155 from kitaisreal/parse-int-unsafe-updated
...
Updated readIntTextUnsafe
2021-08-05 11:37:22 +03:00
Maksim Kita
e64e89eeab
Reverted libunwind
2021-08-05 11:32:53 +03:00
Maksim Kita
aabb1d04bd
Merge pull request #27190 from ClickHouse/aku/perf-settings
...
properly check the settings in perf test
2021-08-05 10:56:39 +03:00
Maksim Kita
6536d9041b
Merge pull request #27195 from azat/fix-sys-block-polling
...
Fix polling of /sys/block
2021-08-05 10:32:01 +03:00
Azat Khuzhin
c806534eee
Update parallel skip_list
2021-08-05 10:29:23 +03:00
kssenii
1e38d48364
Fixes
2021-08-05 07:25:47 +00:00
Azat Khuzhin
bc0af176fe
tests/stateless: add {database} macro for ReplicatedMergeTree in *.sql
2021-08-05 10:24:23 +03:00
Azat Khuzhin
3cda5960ec
check-style: allow currentDatabase() for ReplicatedMergeTree definition too
2021-08-05 10:11:37 +03:00
Azat Khuzhin
09fa82c244
check-style: fix {database} macro pattern
2021-08-05 09:58:21 +03:00
Azat Khuzhin
507eae9aed
check-style: skip *.gen for ReplicatedMergeTree check
2021-08-05 09:51:59 +03:00
Azat Khuzhin
a783b05755
check-style: improve check for ReplicatedMergeTree
2021-08-05 09:50:25 +03:00
Azat Khuzhin
6c61d3731e
check-style: cover *.j2 too
2021-08-05 09:50:09 +03:00
Azat Khuzhin
617cdd5d4d
check-style: add a check for ReplicatedMergeTree in *.sql
2021-08-05 09:49:48 +03:00
Anna
f6a64e9ea4
Update docs/ru/sql-reference/functions/other-functions.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-05 09:29:40 +03:00
Anna
e232fea872
Update docs/ru/sql-reference/functions/other-functions.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-05 09:29:29 +03:00
Anna
71de6f3e03
Update docs/en/sql-reference/functions/other-functions.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-05 09:29:17 +03:00
Anna
1331537064
Update docs/en/sql-reference/functions/other-functions.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-05 09:29:12 +03:00
Anna
ca89cf656d
Update docs/en/sql-reference/functions/other-functions.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-05 09:28:58 +03:00
Anna
4f14ccf3e6
Update docs/en/sql-reference/functions/other-functions.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-05 09:28:52 +03:00
Anna
44b71efb72
Update docs/en/sql-reference/functions/other-functions.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-05 09:27:48 +03:00
Anna
a60640af2f
Update docs/en/sql-reference/functions/other-functions.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-05 09:25:52 +03:00
Kseniia Sumarokova
3d347065a8
Merge pull request #27194 from azat/query_log_used-on-error
...
Save information about used functions/tables/... into query_log on error
2021-08-05 09:15:09 +03:00
Ildus Kurbangaliev
2ed7e02079
Fix snapshots for mapPopulateSeries function
2021-08-05 11:11:41 +05:00
Amos Bird
a1dd7e5c97
Split mutex into individual regexp construction.
2021-08-05 13:59:47 +08:00
Amos Bird
665f735044
Add some test
2021-08-05 10:50:11 +08:00
Azat Khuzhin
dee27fcbb9
Fix on-disk format breakage for secondary indices over Nullable column
...
[1] breaks on disk format (and the relevant change in the:
[1]: https://github.com/ClickHouse/ClickHouse/pull/12455#discussion_r682830812
Too bad that I checked this patchset only for compatibility after
reverting this patch [2] (use case: I've applied it manually, then
revert it, and data skipping indexes over Nullable column had been
broken)
[2]: https://github.com/ClickHouse/ClickHouse/pull/12455#issuecomment-823423772
But this patchset actually breaks compatibility with older versions of
clickhouse for Nullable data skipping indexes after simple upgrade:
Here is a simple reproducer:
--
-- run this with 21.6 or similar (i.e. w/o this patch)
--
CREATE TABLE data
(
`key` Int,
`value` Nullable(Int),
INDEX value_index value TYPE minmax GRANULARITY 1
)
ENGINE = MergeTree
ORDER BY key;
INSERT INTO data SELECT
number,
number
FROM numbers(10000);
SELECT * FROM data WHERE value = 20000 SETTINGS force_data_skipping_indices = 'value_index' SETTINGS force_data_skipping_indices = 'value_index', max_rows_to_read=1;
Now upgrade and run the query again:
SELECT * FROM data WHERE value = 20000 SETTINGS force_data_skipping_indices = 'value_index' SETTINGS force_data_skipping_indices = 'value_index', max_rows_to_read=1;
And it will fail because of on disk format changes:
$ ll --time-style=+ data/*/data/all_1_1_0/skp*.idx
-rw-r----- 1 azat azat 36 data/with_nullable_patch/data/all_1_1_0/skp_idx_value_index.idx
-rw-r----- 1 azat azat 37 data/without_nullable_patch/data/all_1_1_0/skp_idx_value_index.idx
$ md5sum data/*/data/all_1_1_0/skp*.idx
a19c95c4a14506c65665a1e30ab404bf data/with_nullable_patch/data/all_1_1_0/skp_idx_value_index.idx
e50e2fcfa873b232196623d56ab26105 data/without_nullable_patch/data/all_1_1_0/skp_idx_value_index.idx
Note, that there is no stable release with this patch included yet, so
no need to backport.
Also note that you may create data skipping indexes over Nullable
column even before [3].
[3]: https://github.com/ClickHouse/ClickHouse/pull/12455
v2: break cases when granulas has Null in values due to backward
compatibility
2021-08-05 00:19:38 +03:00
Azat Khuzhin
f710f1e954
Cover data skipping indices on disk format (compare with 21.6)
2021-08-05 00:19:32 +03:00