Igor Nikonov
2d33661594
Merge branch 'master' into fix-potentially-bad-code
2023-07-22 22:48:07 +02:00
Azat Khuzhin
0b258dda4e
Reproducible builds for Rust
...
From now on cargo will not download anything from the internet during
builds. This step had been moved for docker image builds (via cargo
vendor).
And now cargo inside docker.io/clickhouse/binary-builder will not use
any crates from the internet, so we don't need to add --offline for
cargo commands in cmake (corrosion_import_crate()).
Also the docker build command had been adjusted to allow following
symlinks inside build context, by using tar, this is required for Rust
packages.
Note, that to make proper Cargo.lock that could be vendored I did the
following:
- per-project locks had been removed (since there is no automatic way to
sync the workspace Cargo.lock with per-project Cargo.lock, since cargo
update/generate-lockfile will use only per-project Cargo.toml files
apparently, -Z minimal-versions does not helps either)
- and to generate Cargo.lock with less changes I've pinned version in
the Cargo.toml strictly, i.e. not 'foo = "0.1"' but 'foo = "=0.1"'
then the Cargo.lock for workspace had been generated and afterwards
I've reverted this part.
Plus I have to update the dependencies afterwards, since otherwise there
are conflicts with dependencies for std library. Non trivial.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-22 22:46:22 +02:00
robot-ch-test-poll3
c9eb144e15
Merge pull request #50826 from ucasfl/is_obsolete
...
Add a column is_obsolete to system.settings and similar tables
2023-07-22 22:43:11 +02:00
Alexey Milovidov
f6a20f4d05
Merge branch 'master' into remove-wrong-code
2023-07-22 20:23:33 +02:00
Alexey Milovidov
d25cd0d0b6
Partial revert
2023-07-22 20:21:33 +02:00
Alexey Milovidov
378da4b8f6
Merge branch 'master' into maybe-better-tests
2023-07-22 20:20:51 +02:00
Alexey Milovidov
6aabb1d94f
Merge pull request #52445 from ClickHouse/session-timezone-caveats
...
Add a note about potential caveats for the "session_timezone" setting
2023-07-22 21:18:00 +03:00
Igor Nikonov
82adef03ab
Merge remote-tracking branch 'origin/master' into fix_remove_redundant_distinct_with_view
2023-07-22 18:10:24 +00:00
Igor Nikonov
2c6bc31847
Test is not dependent on new analyzer
2023-07-22 18:07:22 +00:00
Alexey Milovidov
89d646cef0
Merge pull request #52127 from ClickHouse/fix-system-licenses
...
Enumerate hard forks in the `system.licenses` table.
2023-07-22 20:54:31 +03:00
Alexey Milovidov
7a24de801d
Fix test
2023-07-22 19:53:45 +02:00
Alexey Milovidov
afdda489bd
Fix test
2023-07-22 19:53:16 +02:00
Igor Nikonov
c60090ccbd
Add test with materialize() + fix
2023-07-22 17:43:22 +00:00
Alexey Milovidov
2ee149a100
Merge branch 'master' into fix_52405
2023-07-22 20:41:01 +03:00
Alexey Milovidov
758ec9fa92
Merge pull request #52297 from amosbird/fix_52055
...
Don't use minmax_count projections when counting nullable columns
2023-07-22 20:39:12 +03:00
Alexey Milovidov
46122bdf4a
Merge pull request #51988 from ClickHouse/fix-performance-test-regexp-cache
...
Fix performance test for regexp cache
2023-07-22 20:29:53 +03:00
Alexey Milovidov
b73ec36f68
Merge branch 'sql-fetch-allow-without-offset' of github.com:ClickHouse/ClickHouse into sql-fetch-allow-without-offset
2023-07-22 18:41:42 +02:00
Alexey Milovidov
4fbd667687
Merge branch 'master' into sql-fetch-allow-without-offset
2023-07-22 18:41:32 +02:00
Alexey Milovidov
5a3f872a4b
Merge branch 'master' into integration-tests-fix-disaster-2
2023-07-22 19:37:59 +03:00
Alexey Milovidov
b869466a6a
Merge branch 'master' into sparse-columns-by-default
2023-07-22 19:34:29 +03:00
Alexey Milovidov
2467eaf32d
Merge pull request #52392 from azat/netlink-provider
...
Rename TaskStatsInfoGetter into NetlinkMetricsProvider
2023-07-22 19:14:15 +03:00
Alexey Milovidov
88cd1851f0
Merge pull request #52448 from ClickHouse/fix-terrible-trash
...
The implementation of AnyHash was non-conformant.
2023-07-22 19:13:36 +03:00
alesapin
835c36cbf3
Merge pull request #52419 from ClickHouse/implement_borders_for_sampling_memory_profiler
...
Add an ability to specify allocations size for sampling memory profiler
2023-07-22 18:13:26 +02:00
Alexey Milovidov
36815363a6
Merge pull request #52449 from ClickHouse/remove-hashid
...
Remove `hashid`
2023-07-22 19:12:44 +03:00
Han Fei
dab954a92d
do not throw exception in OptimizedRegularExpressionImpl::analyze
2023-07-22 18:10:54 +02:00
Alexey Milovidov
a57fc914e0
Merge pull request #52466 from ClickHouse/revert-52206-aiven-sal/siphash_fix_pr
...
Revert "Re-add SipHash keyed functions"
2023-07-22 19:10:23 +03:00
Alexey Milovidov
9e25c60b69
Merge branch 'master' into more-changes
2023-07-22 18:36:31 +03:00
Alexey Milovidov
0b5730ffd0
Merge branch 'master' into fix-system-licenses
2023-07-22 17:53:46 +03:00
Alexey Milovidov
126ee1d886
Merge branch 'master' into session-timezone-caveats
2023-07-22 17:53:17 +03:00
Alexey Milovidov
04462333d2
Merge pull request #52327 from amosbird/fix_50183
...
Add back missing projection QueryAccessInfo.
2023-07-22 17:50:03 +03:00
Alexey Milovidov
363201270c
Update 01710_query_log_with_projection_info.sql
2023-07-22 17:49:53 +03:00
Han Fei
2e67a8927b
Merge pull request #52451 from ClickHouse/fix-optimized-regular-expression
...
Check recursion depth in OptimizedRegularExpression
2023-07-22 16:24:35 +02:00
Alexey Milovidov
a092c17313
Merge branch 'master' into fix-race-in-disk-web
2023-07-22 16:53:27 +03:00
Alexey Milovidov
db9c7c477f
Merge pull request #52397 from StianBerger/patch-1
...
Update date-time-functions.md
2023-07-22 16:49:18 +03:00
Kseniia Sumarokova
d34f2bed07
Merge pull request #51386 from bigo-sg/fix_hdfs_read_buffer_heap_overflow
...
Fix heap overflow in read buffer from hdfs when read_until_position is not zero
2023-07-22 15:00:58 +02:00
Kseniia Sumarokova
6f71adcca2
Merge branch 'master' into filesystemCacheSizeLimitMetric
2023-07-22 14:47:50 +02:00
Kseniia Sumarokova
e26dc1e494
Merge pull request #52435 from Algunenano/filecache_syscalls
...
Reduce the number of syscalls in FileCache::loadMetadata
2023-07-22 14:47:02 +02:00
alesapin
6416fb6eed
Merge branch 'master' into add_delay_for_replicated
2023-07-22 12:11:39 +02:00
Kseniia Sumarokova
5ca6c97832
Update gtest_lru_file_cache.cpp
2023-07-22 12:03:20 +02:00
vdimir
b98dce16e2
Merge pull request #52187 from canhld94/range_dict_no_direct_join
2023-07-22 10:48:24 +02:00
vdimir
8a2dbb8b9c
Merge pull request #52464 from ClickHouse/vdimir/analyzer_skip_02815
2023-07-22 10:48:05 +02:00
vdimir
c3c6560c95
Add 02815_range_dict_no_direct_join to analyzer_tech_debt.txt
2023-07-22 08:44:19 +00:00
Azat Khuzhin
20625d75ab
Fix optimize_skip_unused_shards with JOINs
...
In case of JOIN query may contains conditions for other tables, while
optimize_skip_unused_shards was pretty dumb and failed to skip such
columns.
Fix this by removing JOIN before applying this optimization.
v2: restriction for analyzer
v3: ignore 01940_custom_tld_sharding_key under analyzer
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Co-Authored-By: Alexey Milovidov <milovidov@clickhouse.com>
2023-07-22 07:45:33 +02:00
Amos Bird
05bdcdf13c
Merge branch 'master' into fix_52055
2023-07-22 12:27:21 +08:00
李扬
e8fe485330
Merge branch 'master' into comment_improve_ch_to_arrow
2023-07-22 11:43:32 +08:00
Alexey Milovidov
a19f9534c0
Merge pull request #52409 from ClickHouse/fix-countsubstrings-hang
...
Fix `countSubstrings()` hang with empty needle and a column haystack
2023-07-22 06:12:21 +03:00
Alexey Milovidov
e7967e5aab
Merge branch 'master' into fix_52405
2023-07-22 06:09:25 +03:00
Alexey Milovidov
de2016261e
Get rid of it
2023-07-22 05:08:27 +02:00
Alexey Milovidov
21ffce0ff2
Check regular expression depth
2023-07-22 05:06:02 +02:00
Alexey Milovidov
cda42e6dd4
Add a test
2023-07-22 05:05:51 +02:00