Commit Graph

103995 Commits

Author SHA1 Message Date
李扬
873f4b6e61
Merge branch 'master' into array_join_support_map 2022-12-15 10:00:22 +08:00
Dmitry Novik
9b120e3b33 Update test 2022-12-15 01:33:06 +00:00
Dan Roscigno
df823e9a70
Merge pull request #44235 from ClickHouse/fix-indent-on-summingmergetree
Update summingmergetree.md
2022-12-14 20:04:19 -05:00
Alexander Tokmakov
8fd0feb317
Merge pull request #44237 from ClickHouse/tavplubix-patch-1
Add log message
2022-12-15 01:32:49 +03:00
Dmitry Novik
5b7a990425 Add more information about part removal into system.parts table 2022-12-14 22:30:43 +00:00
Igor Nikonov
c099fa9fa3
Merge pull request #44194 from ClickHouse/igor/minor_unix_timestamp_fixes
Minor clang-tidy fixes in fromUnixTimestamp64()
2022-12-14 23:18:07 +01:00
Yakov Olkhovskiy
57a315931a link dbms to parsers examples 2022-12-14 22:05:40 +00:00
Yakov Olkhovskiy
adefd4aa19
include logger 2022-12-14 17:01:15 -05:00
avogar
a94a0d9c85 Fix tests, fix bugs 2022-12-14 21:17:00 +00:00
ltrk2
47455fa1f0 Bring interval subtraction from datetime in line with addition 2022-12-14 15:39:41 -05:00
Azat Khuzhin
98fb76f05f Update tests for replxx reverse search (Use Ctrl-T over Ctrl-R)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 21:22:52 +01:00
Vitaly Baranov
fb8aca8319
Merge pull request #44158 from vitlibar/improve-referential-deps
Improve referential dependencies
2022-12-14 21:17:02 +01:00
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
Dmitry Novik
6249786fbb Fix build 2022-12-14 16:22:59 +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
Dmitry Novik
1df038e39c Merge remote-tracking branch 'origin/master' into refector-function-node 2022-12-14 14:55:30 +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
Maksim Kita
9b5ebf88cf Fixed tests 2022-12-14 15:54:01 +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
avogar
5895fcc21d Forbid paths in timezone names 2022-12-14 13:42:10 +00: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