Commit Graph

103101 Commits

Author SHA1 Message Date
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
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
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
ab8432f293
Merge pull request #44227 from azat/revert-43922-builtin-skim
Revert "Builtin skim"
2022-12-14 21:05:37 +03: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
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
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
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
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
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
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
Alexey Milovidov
4124a04daf
Update CHANGELOG.md 2022-12-14 06:37:02 +03:00
Alexey Milovidov
191ac7b6f6
Update CHANGELOG.md 2022-12-14 05:17:08 +03:00
Alexey Milovidov
0e511af784
Merge pull request #44208 from ClickHouse/changelog-22.12
Add changelog for 22.12
2022-12-14 05:15:42 +03:00
Alexey Milovidov
4c984be520 Add changelog for 22.12 2022-12-14 03:14:06 +01:00
Alexey Milovidov
ac87288993
Merge pull request #43922 from azat/builtin-skim
Builtin skim
2022-12-14 02:48:28 +03:00
Alexey Milovidov
c93b7741b3
Merge branch 'master' into builtin-skim 2022-12-14 02:30:21 +03:00
Alexey Milovidov
7a43cf69ad
Merge pull request #44201 from ClickHouse/tylerhannan-patch-1
Update README.md
2022-12-14 02:04:25 +03:00
Alexey Milovidov
edf5248cec
Merge pull request #44203 from ClickHouse/revert-43123-ADQM-623
Revert "Add function 'age'"
2022-12-14 02:03:28 +03:00
Alexander Tokmakov
ec09a66fbb fix flaky test (I'm too lazy to create separate PR for this) 2022-12-13 21:49:32 +01:00
Alexey Milovidov
4549b14027
Revert "Add function 'age'" 2022-12-13 23:28:09 +03:00
Alexander Tokmakov
f4c8281ccc avoid outdating part twice 2022-12-13 21:24:26 +01:00
Tyler Hannan
a6c3872c18
Update README.md
Updated to Seattle as that is the name of the group
2022-12-13 21:14:36 +01:00
Alexander Tokmakov
f9d63de22f
Merge pull request #43468 from lingtaolf/feature/add_create_database_query
Add engine_full column to system.databases
2022-12-13 23:00:42 +03:00
Vladimir C
fd1f32ceec
Merge pull request #44200 from ClickHouse/fix-error-in-decimal-functions 2022-12-13 20:02:06 +01:00
Vladimir C
5b354b1248
Fix style 2022-12-13 19:40:08 +01:00
Tyler Hannan
6cdf3d93d7
Update README.md
Updating release and meetup detail
2022-12-13 19:23:42 +01:00
Alexey Milovidov
bb20733120 Fix documentation after #42438 2022-12-13 19:13:37 +01:00
Vitaly Baranov
d7eccb4581
Merge pull request #43940 from azat/backups/gcs
Fix BACKUP TO S3 for Google Cloud Storage
2022-12-13 19:04:52 +01:00
Alexander Tokmakov
4360c81dc2
Merge pull request #44190 from ClickHouse/tavplubix-patch-1
Remove misleading message from logs
2022-12-13 20:40:44 +03:00
Alexander Tokmakov
bdeb46bdf4
Merge branch 'master' into tavplubix-patch-1 2022-12-13 20:39:42 +03:00
Nikolay Degterinsky
443bc3e656
Merge pull request #43719 from evillique/password_complexity_rules
Add password complexity rules
2022-12-13 17:56:45 +01:00
Nikolay Degterinsky
95748f54fb
Merge pull request #43749 from bigo-sg/improve_concat
Add function concatWithSeparator
2022-12-13 17:14:07 +01:00
Anton Popov
4d02b480da fix flaky test 2022-12-13 14:25:20 +00:00
Antonio Andelic
2c57f2bd1f Remove wrong assert 2022-12-13 14:11:08 +00:00
Kruglov Pavel
a4525bb98f
Merge pull request #43826 from ucasfl/filelog-fix
Use disk operation to serialize and deserialize meta files of StorageFilelog
2022-12-13 14:14:42 +01:00
Alexander Tokmakov
a4df1cff52
Update ReplicatedMergeTreeQueue.cpp 2022-12-13 16:04:47 +03:00
Alexander Tokmakov
371e85d854
Merge pull request #44157 from ClickHouse/fix_session_expired_on_startup
Ignore "session expired" errors after BC check
2022-12-13 15:10:36 +03:00
Alexander Tokmakov
09a2b21238
Merge pull request #44160 from ClickHouse/tavplubix-patch-1
Fix incorrect assertion
2022-12-13 15:07:02 +03:00