Commit Graph

81890 Commits

Author SHA1 Message Date
Amos Bird
faee95b897
Make ORDER BY tuple almost as fast as ORDER BY columns
We have special optimizations for multiple column ORDER BY: https://github.com/ClickHouse/ClickHouse/pull/10831 . It's beneficial to also apply to tuple columns.

Before:

select * from numbers(300000000) order by (1 - number , number + 1 , number) limit 10;
2.613 sec.

After:

select * from numbers(300000000) order by (1 - number , number + 1 , number) limit 10;
0.755 sec

No tuple:

select * from numbers(300000000) order by 1 - number , number + 1 , number limit 10;
0.755 sec
2022-01-27 21:42:08 +08:00
Maksim Kita
b9fb741c79
Merge pull request #33930 from cnmade/PF202201240930
Translate zh/faq/general/columnar-database: translate to zh
2022-01-24 23:53:43 +01:00
Maksim Kita
c1db61b4ed
Merge pull request #33946 from azat/build-cleanup
Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES)
2022-01-24 23:42:04 +01:00
alexey-milovidov
189ff60f32
Merge pull request #33950 from azat/remove-glibc-compat
Revert glibc compatibility (via .symver) in favor of hermetic build (bundled libc)
2022-01-24 21:10:19 +03:00
Mikhail f. Shiryaev
0eaeabd9d3
Merge pull request #33954 from ClickHouse/style-checker-aarch64
Add on-demand style-checker-aarch64 hosts
2022-01-24 17:04:57 +01:00
Mikhail f. Shiryaev
57b4655fa2
Fix style for pr_info 2022-01-24 16:34:01 +01:00
Mikhail f. Shiryaev
fc1c80f1be
Launch docker images building on on-demand hosts 2022-01-24 15:56:18 +01:00
Mikhail f. Shiryaev
8e8ee8f8d1
Add style-checker-aarch64 to metrics lambda 2022-01-24 15:50:34 +01:00
Azat Khuzhin
4a0facd341 Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES)
There is no more MAKE_*, so remove this alias.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-24 17:28:33 +03:00
Mikhail f. Shiryaev
3c5bdc0054
Merge pull request #33751 from ClickHouse/fix-docker-dependencies
Fix docker dependencies
2022-01-24 15:03:32 +01:00
Mikhail f. Shiryaev
7a1f471d6f
Add tests for process_image_with_parrents 2022-01-24 14:55:57 +01:00
Mikhail f. Shiryaev
d38b4f5440
Add unit tests for python to CI 2022-01-24 14:54:55 +01:00
Mikhail f. Shiryaev
70d997cbda
Fix pylint issues 2022-01-24 14:54:37 +01:00
Mikhail f. Shiryaev
18ef029ed3
Fix issue with building from non-existing tags 2022-01-24 14:54:29 +01:00
Mikhail f. Shiryaev
3531318388
Add tests for get_changed_docker_images 2022-01-24 14:52:07 +01:00
Mikhail f. Shiryaev
aa296c36bb
Fix dummy PRInfo 2022-01-24 14:51:56 +01:00
Azat Khuzhin
37dbff7587 Revert glibc compatibility (via .symver) in favor of hermetic build (bundled libc)
This patch reverts glibc compatibility (via .symver) #29594,
in favor of hermetic build (that provides bundled libc version) #30011

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-24 16:03:56 +03:00
alesapin
0e37e8b4a0
Merge pull request #33941 from ClickHouse/fix_keeper_wrong_snapshot
Fix bug in keeper which can lead to inconsistent snapshots
2022-01-24 15:53:44 +03:00
Ilya Yatsishin
35c03b317e
Merge pull request #33639 from Algunenano/async_metrics_handle_failures
AsynchronousMetrics: Ignore inaccessible sensors
2022-01-24 14:04:07 +03:00
tavplubix
da9a38655b
Merge pull request #33847 from ClickHouse/fix_33806
Fix logical error on RESTORE REPLICA
2022-01-24 13:28:37 +03:00
alesapin
caa9cc4992
Merge pull request #33942 from ClickHouse/fix_keeper_dumper_build
Fix keeper data dumper build
2022-01-24 13:24:52 +03:00
alesapin
8d2750a92a Fix keeper data dumper build 2022-01-24 13:23:58 +03:00
alesapin
ab2aca2699 Fix bug in keeper which can lead to inconsistent snapshots 2022-01-24 13:17:40 +03:00
Maksim Kita
49793553ed
Merge pull request #33929 from den-crane/patch-3
Docs. more ZK tips.md
2022-01-24 10:21:11 +01:00
tavplubix
766786b570
Update StorageReplicatedMergeTree.h 2022-01-24 12:16:13 +03:00
tavplubix
34baca1298
Update src/Storages/StorageReplicatedMergeTree.cpp
Co-authored-by: Bharat Nallan <bharatnc@gmail.com>
2022-01-24 12:12:08 +03:00
tavplubix
2f566d2af9
Update src/Storages/StorageReplicatedMergeTree.cpp
Co-authored-by: Bharat Nallan <bharatnc@gmail.com>
2022-01-24 12:12:03 +03:00
alexey-milovidov
6ee0b18979
Merge pull request #33920 from ClickHouse/fix-if-combinator
Fix aggregate function combinator `-If` with `Nullable` filter argument
2022-01-24 11:43:11 +03:00
alesapin
48c19e88a5
Merge pull request #33926 from ClickHouse/fix_flaky_test
Fix test_replica_is_active flaky test
2022-01-24 10:19:10 +03:00
Alexey Milovidov
58bb1ffecf Shortcut 2022-01-24 08:29:17 +03:00
cnmade
83c1343455 Translate zh/faq/general/columnar-database: translate words adjust 2022-01-24 09:42:47 +08:00
cnmade
37f520505e Translate zh/faq/general/columnar-database: translate adjust 2022-01-24 09:41:03 +08:00
cnmade
bc30dd3892 Translate zh/faq/general/columnar-database: Remove backup file 2022-01-24 09:38:25 +08:00
cnmade
b62c4c47de Translate zh/faq/general/columnar-database: translate to zh 2022-01-24 09:38:00 +08:00
cnmade
ce38c38c98 Translate zh/faq/general/columnar-database: create new file 2022-01-24 09:30:56 +08:00
cnmade
60bfae1bdd Translate zh/faq/general/columnar-database: rename old file 2022-01-24 09:30:08 +08:00
Denny Crane
6630e64f51
Update tips.md 2022-01-23 20:42:08 -04:00
Maksim Kita
7fffe5846f
Merge pull request #33924 from kitaisreal/sql-user-defined-functions-invalid-lambda-crash-fix
SQLUserDefinedFunctions invalid lambda additional cases
2022-01-23 22:06:49 +01:00
alesapin
57dae1e308
Merge pull request #33162 from azat/integration-tests-status
Fix status of SKIPPED integration tests (was incorrectly marked as ERROR)
2022-01-23 21:46:59 +03:00
alesapin
e1c85db593
Merge pull request #33329 from ClickHouse/better_hashmap
Use HashMap and arena with free lists for keeper
2022-01-23 20:17:37 +03:00
Maksim Kita
818966c1a2
Merge pull request #33921 from bharatnc/ncb/h3-improve
explicitly checkAndGetColumn for remaining H3 funcs
2022-01-23 18:08:30 +01:00
Maksim Kita
243a280936 Updated tests 2022-01-23 17:02:43 +00:00
alesapin
51a6d08bff Fix test_replica_is_active flaky test 2022-01-23 19:31:09 +03:00
Maksim Kita
d4d4531dea
Merge pull request #33922 from mlkui/patch-1
Update check-table.md: If `check_query_single_value_result` = 1, the `CHECK TABLE` query shows the general table check status.
2022-01-23 15:53:15 +01:00
bharatnc
6faad9366b fix tests 2022-01-23 06:29:57 -08:00
Maksim Kita
7a47436627
Merge pull request #33913 from kitaisreal/docs-h3-documentation-fix
H3 fix documentation translation
2022-01-23 13:34:52 +01:00
Maksim Kita
711451f497
Merge pull request #33916 from kitaisreal/function-math-unary-remove-macro
FunctionMathUnary remove macro usage
2022-01-23 13:34:09 +01:00
Maksim Kita
f76536c079
Merge pull request #33914 from kitaisreal/dictionaries-added-support-for-date-time-64
Dictionaries added support for DateTime64
2022-01-23 13:21:22 +01:00
mergify[bot]
7cba018ce1
Merge branch 'master' into patch-1 2022-01-23 12:12:34 +00:00
Maksim Kita
c66d5c6dd0
Merge pull request #33794 from kitaisreal/support-cast-from-map-to-array-of-tuple
Support cast from Map to Array of Tuple
2022-01-23 13:10:28 +01:00