Commit Graph

103440 Commits

Author SHA1 Message Date
Azat Khuzhin
cf0e0436be skim: do not panic if terminal is not available
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 21:01:48 +01:00
Azat Khuzhin
082f57c40d clickhouse-client: rebind original non-fuzzy search to C-T
I decided to bind fuzzy to a regular C-R, so that everyone will notice
it, and keep an old behaviour for expect tests, or if someone do not
need fuzzy search (or want blasignly fast search, since skim is slightly
slower).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 21:01:48 +01:00
Azat Khuzhin
e7c5b48d84 rust: fix buidling modules with CMAKE_BUILD_TYPE in a different case
Before this patch corrosion requires that CMAKE_BUILD_TYPE matches the
CMAKE_CONFIGURATION_TYPES, which is
"RelWithDebInfo;Debug;Release;MinSizeRel", so that said, that if you
were using CMAKE_BUILD_TYPE=debug, it will not work.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:58:34 +01:00
Azat Khuzhin
f8c17d4a66 rust: reuse RUST_CXXFLAGS for skim
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:58:17 +01:00
Azat Khuzhin
92d70c66e8 corrosion: export path to FindRust.cmake in CMAKE_MODULE_PATH
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:58:09 +01:00
Joanna Hulboj
d32452d90c Fixed use-after-free of BLAKE3 error message
As std::string is not POD there sadly was no warning from the compiler.
2022-12-14 19:57:41 +00:00
Azat Khuzhin
82aaad61aa Integrate skim into the client/local
Note, that it can the fail the client if the skim itself will fail,
however I haven't seen it panicd, so let's try.

P.S. about adding USE_SKIM into configure header instead of just compile
option for target, it is better, because it allows not to recompile lots
of C++ headers, since we have to add skim library as PUBLIC. But anyway
this will be resolved in a different way, but separatelly.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:57:41 +01:00
Azat Khuzhin
28737a503c Configure rustc compiler properly
Right now it works for host platforms because of gcc package, that
includes gcc-cross sysroot.

Use bundled sysroot from contrib instead.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:57:29 +01:00
Azat Khuzhin
dab6919411 Add rust target folder to gitignore
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:57:22 +01:00
Azat Khuzhin
f2264bf9b0 rust/BLAKE3: remove eXecutable bit from CMakeLists
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:57:11 +01:00
Azat Khuzhin
440aa50588 corrosion: clean rules (remove useless message)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:57:01 +01:00
Alexander Tokmakov
903780033e
Update StorageSystemDatabases.cpp 2022-12-14 22:30:23 +03:00
Dan Roscigno
8870beb42e
Update summingmergetree.md 2022-12-14 13:55:42 -05:00
Alexey Milovidov
c67dfc6968
Update CHANGELOG.md 2022-12-14 21:46:43 +03:00
Alexey Milovidov
1ae0e2a3da
Merge pull request #44228 from DanRoscigno/22.12-changelog
December changelog edits
2022-12-14 21:42:45 +03:00
Alexander Tokmakov
f6eb790a9b
Merge branch 'master' into tavplubix-patch-2 2022-12-14 21:22:47 +03:00
Alexander Tokmakov
864e65862d
Merge pull request #44223 from hanfei1991/hanfei/create-async-blocks
create async_blocks zk path for old replicated tables and add a flag
2022-12-14 21:21:43 +03:00
Alexander Tokmakov
126cf4fdef
Merge branch 'master' into hanfei/create-async-blocks 2022-12-14 21:10:54 +03:00
Maksim Kita
335f8ed83d
Merge pull request #43897 from ClickHouse/vdimir/analyzer-storage-join
Join engine works with analyzer
2022-12-14 21:06:43 +03:00
Alexander Tokmakov
ab8432f293
Merge pull request #44227 from azat/revert-43922-builtin-skim
Revert "Builtin skim"
2022-12-14 21:05:37 +03:00
Dmitry Novik
3ab294be82 Also count waiting on global mutext 2022-12-14 18:05:07 +00:00
Alexey Milovidov
9231df4bee
Update src/Core/SettingsChangesHistory.h
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2022-12-14 20:40:23 +03:00
Dmitry Novik
1e5fdbdef0 Add ThreadsInOvercommitTracker metric 2022-12-14 16:56:19 +00:00
DanRoscigno
e19be861be clarify FIPS change is for testing 2022-12-14 10:24:55 -05:00
DanRoscigno
6ac4586577 clarify FIPS change is for testing 2022-12-14 10:21:33 -05:00
Dale Mcdiarmid
22e8477b2a cross link dictionaries + udf posts£ 2022-12-14 15:01:15 +00:00
Anton Popov
c6b6b0ad7d
Merge pull request #44173 from CurtizJ/fix-fetch-projection
Fix `LOGICAL_ERROR` if fetch of projection was stopped
2022-12-14 15:55:26 +01:00
Dan Roscigno
4be11267a3
Merge branch 'master' into 22.12-changelog 2022-12-14 09:31:06 -05:00
DanRoscigno
02d3b1a256 edits 2022-12-14 09:28:31 -05:00
Azat Khuzhin
67fa185611
Revert "Builtin skim" 2022-12-14 17:17:19 +03:00
Anton Popov
3593377f23
Merge pull request #44159 from ClickHouse/prevent-delete-nested-if-empty-part
Prevent dropping nested column if it creates empty part
2022-12-14 15:04:15 +01:00
Han Fei
623af800c2
Update src/Storages/StorageReplicatedMergeTree.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2022-12-14 14:29:04 +01:00
Han Fei
34a589a7d8 create async_blocks zk path for old replicated tables and add a flag "async_insert_deduplicate" 2022-12-14 14:06:12 +01:00
Anton Popov
6bfe11e9b8 fix clang-tidy 2022-12-14 13:04:24 +00:00
Antonio Andelic
d0905fe408
Fix typo 2022-12-14 13:43:23 +01:00
Maksim Kita
19d9e8d064
Merge pull request #43999 from ClickHouse/if-transform-strings-to-enum-pass
Support `optimize_if_transform_strings_to_enum` in new analyzer
2022-12-14 15:39:42 +03:00
kssenii
250ad8889e Merge remote-tracking branch 'upstream/master' into use-new-named-collections-code 2022-12-14 13:37:55 +01:00
Ivan Blinkov
6d90f39315
Recommend Slack over Telegram in the "Question" issue template 2022-12-14 15:27:51 +03:00
Antonio Andelic
ff42a68940 Fix ReadonlyReplica 2022-12-14 12:02:12 +00:00
Mikhail f. Shiryaev
9a422974ab
Timeout stress-tests after 2.5 hours 2022-12-14 12:51:35 +01:00
Mikhail f. Shiryaev
16b2d5dfd1
Improve TeePopen typing and structure 2022-12-14 12:51:34 +01:00
Sema Checherinda
fdecb85dc4
Merge pull request #44156 from CheSema/fix_flaky_test_attach_detach
make calls to be sure that parts are deleted
2022-12-14 12:39:39 +01:00
Alexander Tokmakov
816eba6149
Merge pull request #44202 from ClickHouse/fix_an_assertion_in_transactions
Fix an assertion in transactions
2022-12-14 14:25:09 +03:00
Alexander Tokmakov
3f336190a7
Update run.sh 2022-12-14 14:21:21 +03:00
Vladimir C
06ff93d801
Merge pull request #39129 from unbyte/issue-28967
closes https://github.com/ClickHouse/ClickHouse/issues/28967
2022-12-14 12:17:44 +01:00
kssenii
5fb448153b Fix overriding values 2022-12-14 10:15:25 +01:00
Antonio Andelic
b2cce09004
Merge pull request #44184 from ClickHouse/close-grpc-channel-in-tests
Close GRPC channels in tests
2022-12-14 09:47:36 +01:00
kssenii
81ef9f5eb6 Fix style check 2022-12-14 09:13:01 +01:00
Alexey Milovidov
f1fb323b1e
Update CHANGELOG.md 2022-12-14 07:52:35 +03:00
Alexey Milovidov
766bb7ee55
Update CHANGELOG.md 2022-12-14 06:45:41 +03:00