Commit Graph

135428 Commits

Author SHA1 Message Date
pufit
57306706b3
Add definers for views (#54901) 2024-02-22 17:47:50 +01:00
Alexander Tokmakov
97ed2c05b0 Merge branch 'master' into fix_undead_sessions 2024-02-22 14:36:36 +01:00
Alexander Tokmakov
f83ddb1a70
Merge pull request #60303 from ClickHouse/tavplubix-patch-10
Update analyzer_tech_debt.txt
2024-02-22 14:34:35 +01:00
Alexander Tokmakov
0c8aab91e6
Update analyzer_tech_debt.txt 2024-02-22 14:32:30 +01:00
Nikita Taranov
b44e4c6d78
Merge branch 'master' into fix_head_bucket_after_update 2024-02-22 14:32:00 +01:00
Alexey Milovidov
c6c09822e3 Merge branch 'counterexample' of github.com:ClickHouse/ClickHouse into counterexample 2024-02-22 14:29:37 +01:00
Alexey Milovidov
72b8880467 Make the reference correct 2024-02-22 14:29:24 +01:00
Raúl Marín
9c99a2dd2a Maybe better 2024-02-22 13:20:57 +01:00
Raúl Marín
b83b7a7ab7 Stress test: Include the first sanitizer block message in the report 2024-02-22 12:59:12 +01:00
Nikolai Kochetov
c3f925da0a
Merge pull request #60164 from kitaisreal/copy-s3-file-gcp-fallback-to-buffer-copy
Copy S3 file GCP fallback to buffer copy
2024-02-22 12:53:15 +01:00
Nikolai Kochetov
0e6b55ad35
Merge pull request #60220 from kitaisreal/system-backups-system-backup-log-add-query-id-and-error-stacktrace
Tables system.backups and system.backup_log add query_id and error stacktrace
2024-02-22 12:43:52 +01:00
kssenii
222323f293 Fix 2024-02-22 12:38:13 +01:00
Alexey Milovidov
2a3c9b288a Merge branch 'master' of github.com:ClickHouse/ClickHouse into counterexample 2024-02-22 12:33:15 +01:00
Raúl Marín
5684a14160 Ignore valid 'No such key errors' in stress tests 2024-02-22 11:47:43 +01:00
Kseniia Sumarokova
fb7924cdb1
Merge pull request #60233 from ClickHouse/hide-sensitive-info-in-s3-queue
Hide sensitive info for s3queue
2024-02-22 11:37:15 +01:00
Robert Schulze
2d2acd6bf9
Merge pull request #60202 from rschu1ze/vector-dot-product
Vectorize `dotProduct`
2024-02-22 11:19:31 +01:00
Robert Schulze
ae597d86dd
Merge remote-tracking branch 'rschu1ze/master' into vector-dot-product 2024-02-22 10:16:28 +00:00
Robert Schulze
d2cb434be9
Merge remote-tracking branch 'ClickHouse/master' into revert-59450-order-by-all-ambiguities 2024-02-22 10:12:14 +00:00
Robert Schulze
d638820478
Merge remote-tracking branch 'ClickHouse/master' into iaadeflate_upgrade_qpl_v1.4.0 2024-02-22 10:07:49 +00:00
Alexey Milovidov
330043af30 Fix integration test_backup_restore_s3 2024-02-22 10:58:05 +01:00
Alexey Milovidov
659d960990
Merge pull request #60245 from Algunenano/enforce_cloud_sync
Make cloud sync required
2024-02-22 10:11:01 +01:00
Azat Khuzhin
a4f765cae7
Improve performance of SELECTs with active mutations (#59531)
* Configure keeper for perf tests

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Improve performance of SELECTs with active mutations

getAlterMutationCommandsForPart() can be a hot path for query execution
when there are pending mutations.

- LOG_TEST - it is not only check one bool, but actually a bunch of
  atomics as well.

- Return std::vector over std::map (map is not required there) - no
  changes in performance.

- Copy only RENAME_COLUMN (since only this mutation is required by
  AlterConversions).

And here are results:

run|result
-|-
SELECT w/o ALTER|queries: 1565, QPS: 355.259, RPS: 355.259
SELECT w/ ALTER unpatched|queries: 2099, QPS: 220.623, RPS: 220.623
SELECT w/ ALTER and w/o LOG_TEST|queries: 2730, QPS: 235.859, RPS: 235.859
SELECT w/ ALTER and w/o LOG_TEST and w/ RENAME_COLUMN only|queries: 2995, QPS: 290.982, RPS: 290.982

But there are still room for improvements, at least MergeTree engines
could implement getStorageSnapshotForQuery().

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Add AlterConversions::supportsMutationCommandType(), flatten vector<vector<MutationCommand>>

* Work around what appears to be a clang static analysis bug

---------

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Co-authored-by: Michael Kolupaev <michael.kolupaev@clickhouse.com>
2024-02-22 08:51:10 +00:00
Antonio Andelic
4625f38803 Remove bad check in Keeper 2024-02-22 09:08:13 +01:00
Antonio Andelic
1b238d1180
Merge pull request #59460 from ClickHouse/keeper-logs-cache
Keeper log cache
2024-02-22 09:03:41 +01:00
santrancisco
b6771d0098
Fix .tar test 2024-02-22 12:55:43 +11:00
kothiga
0bc7c0a558
Addressing feedback. 2024-02-21 17:01:16 -08:00
Alexey Milovidov
0c113529f9
Update 02996_index_compaction_counterexample.sql 2024-02-21 22:51:26 +01:00
Michael Kolupaev
865ae80e7c Counterexample 2024-02-21 22:49:29 +01:00
Alexey Milovidov
ba157a10fd Add a long test that could find errors in index analysis
Add a long test that could find errors in index analysis

Update test
2024-02-21 22:49:24 +01:00
Robert Schulze
7930c2a993
Better! 2024-02-21 20:31:49 +00:00
Raúl Marín
9f23f478c4 Merge remote-tracking branch 'blessed/master' into enforce_cloud_sync 2024-02-21 20:35:02 +01:00
Raúl Marín
82ba2ebdb2 Revert "Generate a conflict"
This reverts commit 5fc28c536c.
2024-02-21 20:34:56 +01:00
Alexander Tokmakov
64a80f1011
Fix default path when path is not specified in config (#59654)
* Update Server.cpp

* Update SentryWriter.cpp

* Update Keeper.cpp

* Update SentryWriter.cpp
2024-02-21 20:33:39 +01:00
Max K
e7a560f94d
Merge pull request #59939 from ClickHouse/ci_integration_tests_to_mysql8_migration
CI: integration tests to mysql80
2024-02-21 20:33:00 +01:00
Raúl Marín
8915f0d23e Merge remote-tracking branch 'blessed/master' into i60232 2024-02-21 20:21:38 +01:00
Raúl Marín
10be5da3fb
Merge pull request #60253 from ClickHouse/revert-59032-cpu-scheduler-and-cc
Revert "Support resource request canceling"
2024-02-21 20:20:19 +01:00
Raúl Marín
453d4d30cf
Revert "Support resource request canceling" 2024-02-21 20:19:00 +01:00
Alexander Tokmakov
fcfea17657
Update gtest_storage_log.cpp 2024-02-21 20:16:14 +01:00
Alexander Tokmakov
400c3d4224
Update 01158_zookeeper_log_long.reference 2024-02-21 20:12:18 +01:00
kothiga
692b31e467
Fix http exception codes. 2024-02-21 10:53:49 -08:00
Raúl Marín
5fc28c536c Generate a conflict 2024-02-21 19:18:47 +01:00
Robert Schulze
52afa46e23
Revert "Replace ORDER BY ALL by ORDER BY *" 2024-02-21 19:05:20 +01:00
Raúl Marín
07c9deed41 Make cloud sync required 2024-02-21 18:40:00 +01:00
Raúl Marín
5c01cc512d Add test for 60232 2024-02-21 18:33:06 +01:00
Max K
613bb8f387
Merge pull request #60236 from ClickHouse/ci_aarch_style_checker_for_run_confog
CI: use aarch runner for runconfig job
2024-02-21 18:14:01 +01:00
Max Kainov
da50758eb6 CI: use aarch style checker for CI config job
#do_not_test
2024-02-21 16:59:41 +00:00
Robert Schulze
5d6bc6f566
Merge pull request #60235 from rschu1ze/doc-lin-reg
Docs: Correct variable names for `simpleLinearRegression`
2024-02-21 17:47:00 +01:00
Raúl Marín
33cd7c25b1
Merge pull request #60154 from Algunenano/settings_check
Add setting history check to stateless tests
2024-02-21 17:37:26 +01:00
Nikolai Kochetov
0e9d7f3540
Merge pull request #60037 from ClickHouse/fix-01656_test_query_log_factories_info-for-analyzer
Fix 01656_test_query_log_factories_info with analyzer.
2024-02-21 17:37:15 +01:00
Robert Schulze
5ea3afb06e
Docs: Correct variable names for simpleLinearRegression
Fixes: #59729
2024-02-21 16:29:47 +00:00