Commit Graph

120282 Commits

Author SHA1 Message Date
Alexey Milovidov
4c1f8f38cd Fix CI 2023-07-23 17:30:23 +02:00
Alexey Milovidov
9d2e8e24ff
Merge pull request #52491 from azat/idatabase-cleanup
Remove skip_startup_tables from IDatabase::loadStoredObjects()
2023-07-23 18:28:44 +03:00
Alexey Milovidov
e3c85613c9
Merge pull request #52432 from amosbird/fix_52405
Fix normal projection with merge table
2023-07-23 18:27:51 +03:00
Han Fei
282258a855 fix style 2023-07-23 11:29:29 +02:00
Azat Khuzhin
8013cb1f78 Remove skip_startup_tables from IDatabase::loadStoredObjects()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-23 08:47:50 +02:00
Alexey Milovidov
c8f8a23c71 Fix errors 2023-07-23 06:11:03 +02:00
Alexey Milovidov
4170d1458b Use incbin for resources, part 2 2023-07-23 06:11:03 +02:00
Alexey Milovidov
00d6f2ee08 Use incbin for resources, part 1 2023-07-23 06:11:03 +02:00
Alexey Milovidov
045bb3e1f3
Merge pull request #50738 from ClickHouse/pufit/keeper-client-dns-resolve
More accurate DNS resolve for the keeper connection
2023-07-23 01:46:57 +03:00
Han Fei
ef0dca6261 fix style 2023-07-23 00:37:34 +02:00
Alexey Milovidov
d9d8782684
Merge branch 'master' into dist/optimize_skip_unused_shards-join-fix 2023-07-23 01:29:38 +03:00
Alexey Milovidov
0ef6453935
Merge pull request #52148 from azat/tests/EADDRINUSE
Fix possible EADDRINUSE ("Address already in use") in integration tests
2023-07-23 01:27:47 +03:00
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
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
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
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
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