Commit Graph

116019 Commits

Author SHA1 Message Date
János Benjamin Antal
c3d6e4c915 Fix docs 2023-06-05 12:36:19 +00:00
János Benjamin Antal
5cb2d8b4e2 Update failing tests 2023-06-05 12:32:25 +00:00
János Benjamin Antal
28eb9562b8 Remove the usage of SHOW USER PROCESSES from tests 2023-06-05 12:29:11 +00:00
János Benjamin Antal
90e9df9109 Revert "Add SHOW USER PROCESSES query"
This reverts commit d28b4181e9.
2023-06-05 12:27:46 +00:00
János Benjamin Antal
1713dbe631 Grant select on system tables to test user 2023-06-05 12:07:05 +00:00
János Benjamin Antal
e140cad10c Clean up includes 2023-06-05 10:18:36 +00:00
János Benjamin Antal
256f713d6b Add docs for system.user_processes 2023-06-05 10:18:25 +00:00
János Benjamin Antal
a224c8936c Fix minor issues in documentation 2023-06-05 10:18:07 +00:00
János Benjamin Antal
4225cab2e8 Rewrite bugprone shell script command 2023-06-05 08:34:25 +00:00
János Benjamin Antal
96fe4b5107 Add tests 2023-06-02 16:57:46 +00:00
János Benjamin Antal
d28b4181e9 Add SHOW USER PROCESSES query 2023-06-02 16:57:36 +00:00
János Benjamin Antal
a0901b1d1c Add tests 2023-06-02 15:33:38 +00:00
János Benjamin Antal
5e17adc9c0 Add system.user_processes table 2023-06-02 14:08:14 +00:00
Han Fei
17261e52da
Merge pull request #50307 from ZhiguoZh/20230527-toyyyymm
Optimize predicate with toYYYYMM converter
2023-06-01 16:51:45 +02:00
Dan Roscigno
d302eae85e
Merge pull request #50433 from DanRoscigno/add-explain-video-to-docs
add explain video to docs
2023-06-01 10:31:38 -04:00
Dan Roscigno
c70aa9592b
Merge pull request #50419 from ClickHouse/reddit-fixes
Reddit dataset fixes
2023-06-01 10:30:56 -04:00
Robert Schulze
45b1fcdeda
Merge pull request #50315 from arenadata/ADQM-810
Add new function toLastDayOfWeek()
2023-06-01 16:19:14 +02:00
DanRoscigno
97e120ee3c add explain video to docs 2023-06-01 09:31:05 -04:00
Robert Schulze
42c26c1d67
Merge pull request #50403 from ClickHouse/bump-c-ares
Bump c-ares to v1.19.1
2023-06-01 15:21:52 +02:00
Nikita Taranov
e5c21e588a
Update app.py (#50407) 2023-06-01 15:19:47 +02:00
Mikhail f. Shiryaev
9089360688
Merge pull request #50415 from ClickHouse/build-report-pending
Mark the builds without results as pending
2023-06-01 14:53:09 +02:00
Alexander Tokmakov
e1d044dfd7
Merge pull request #50392 from ClickHouse/fix_materialized_mysql_poll_timeout
Fix poll timeout in MaterializedMySQL
2023-06-01 15:16:59 +03:00
Robert Schulze
73fb2081c1
Merge pull request #50210 from arenadata/ADQM-880
clickhouse-client: disallow usage of `--query` and `--queries-file` at the same time
2023-06-01 14:16:20 +02:00
Alexander Tokmakov
a97b180ff3
Merge pull request #50426 from ClickHouse/revert-50245-msan-siphash-keyed
Revert "Fix msan issue in keyed siphash"
2023-06-01 15:07:41 +03:00
Alexander Tokmakov
9a2b3afb7e
Revert "Fix msan issue in keyed siphash" 2023-06-01 15:02:32 +03:00
Mikhail f. Shiryaev
de7179876e
Merge pull request #47151 from ClickHouse/increase-vm-max_map_count
Update ubuntu_ami_for_ci.sh
2023-06-01 13:54:21 +02:00
Kruglov Pavel
7485962443
Merge pull request #50343 from Avogar/fix-bit-shift-func
Fix bitShift* functions with both constant arguments
2023-06-01 13:53:36 +02:00
SmitaRKulkarni
06432929a7
Merge pull request #50339 from ClickHouse/43983_Updated_to_hold_lock_fetch_part
Improved fetch part by holding directory lock longer
2023-06-01 13:42:34 +02:00
Mikhail f. Shiryaev
6a5ae6558a
Add comment for usage of prepare-ci-ami.sh 2023-06-01 12:58:03 +02:00
Alexander Tokmakov
3444dfda8c
Merge pull request #50408 from CheSema/reuse_s3_mocks
reuse s3_mocks, rewrite test test_paranoid_check_in_logs
2023-06-01 13:21:17 +03:00
Alexander Tokmakov
05c90f8987
Merge branch 'master' into reuse_s3_mocks 2023-06-01 13:20:23 +03:00
Alexey Milovidov
a44c00c926
Merge pull request #50411 from ClickHouse/remove-something
Remove something
2023-06-01 13:14:24 +03:00
Sema Checherinda
72dde838cb
Merge pull request #50342 from CheSema/fix-test-profile-events
do not fix the event list in test
2023-06-01 11:30:50 +02:00
rfraposa
86e97f5f5c Update reddit-comments.md 2023-06-01 03:19:23 -06:00
Kseniia Sumarokova
d0cfb32ac0
Merge pull request #50362 from kssenii/fix-async-buffer
Fix after #50109
2023-06-01 11:14:29 +02:00
Kseniia Sumarokova
064c15f2ab
Merge branch 'master' into fix-async-buffer 2023-06-01 11:13:54 +02:00
Sema Checherinda
de62c9e558
Merge pull request #50410 from ClickHouse/clang-17-2
Support clang-17
2023-06-01 10:48:58 +02:00
Robert Schulze
669b795ec8
Merge pull request #50245 from rschu1ze/msan-siphash-keyed
Fix msan issue in keyed siphash
2023-06-01 10:04:59 +02:00
Robert Schulze
578711e8e5
Merge branch 'master' into bump-c-ares 2023-06-01 09:56:50 +02:00
Robert Schulze
793513419b
Merge pull request #50402 from rschu1ze/bump-libxml2
Bump libxml2 to 2.10.4
2023-06-01 09:55:54 +02:00
Robert Schulze
4c29e06ba2
Merge pull request #50404 from rschu1ze/bump-gsasl
Fix CVE-2022-2469
2023-06-01 09:52:03 +02:00
Mikhail f. Shiryaev
bcbce15cde
Mark the builds without results as pending 2023-06-01 08:51:44 +02:00
Zhiguo Zhou
3d0f336643 Optimize predicate with toYYYYMM converter
Like toYear(PR #50062), the predicate with toYYYYMM could also be
optimized with its preimage. For example, we could transform the
predicate "toYYYYMM(c) = 202305" to "c >= '2023-05-01' AND c <=
'2023-05-31'", so that the invocation of toYYYYMM is avoided. The
similar transformation also applies to other comparisons.

This commit extends OptimizeDateFilterInPlaceVisitor by having it
recognize the toYYYYMM converter in the WHERE/PREWHERE clauses and
replace it with the above tranformed predicate in-place at the AST
level.
2023-06-01 10:20:45 +08:00
Alexey Milovidov
fb86fe8f9d Remove useless code 2023-06-01 03:08:05 +02:00
Alexey Milovidov
956c399b2a Remove useless code 2023-06-01 03:04:29 +02:00
Alexey Milovidov
75de3ffba8
Merge branch 'master' into fix-async-buffer 2023-06-01 03:40:28 +03:00
Alexey Milovidov
8e6100b0f9 Merge branch 'clang-17-2' 2023-06-01 01:33:23 +02:00
Alexey Milovidov
c54abdb4f8 Support clang-17 2023-06-01 01:32:03 +02:00
Sema Checherinda
0aa30ef129 reuse s3_mocks, rewrite test test_paranoid_check_in_logs 2023-06-01 01:29:37 +02:00
Nikita Mikhaylov
3543d95980
Parallel replicas always skip unavailable ones (#50293) 2023-05-31 22:10:33 +02:00