Commit Graph

62600 Commits

Author SHA1 Message Date
avogar
835fc9ca76 Add more tests, fix conflicts 2024-08-13 22:37:46 +00:00
Igor Nikonov
98024a723f
Merge pull request #67891 from canhld94/fix_exception_in_destructor
Catch exception in destructor of LocalFileHolder
2024-08-13 21:35:57 +00:00
avogar
55ede2dab6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-13 21:19:17 +00:00
Igor Nikonov
b9ffa929ba Fix: min marks to read overflow with parallel replicas 2024-08-13 21:08:53 +00:00
Michael Kolupaev
5767d7d1b3 Merge remote-tracking branch 'origin/master' into qast 2024-08-13 20:56:06 +00:00
Michael Kolupaev
0133806e6c Fix 2024-08-13 20:55:51 +00:00
avogar
24ddea6945 Fix tests 2024-08-13 20:49:16 +00:00
Max Kainov
a9226f49e7 remove name with cyrillic letter 2024-08-13 20:24:40 +00:00
Michael Kolupaev
f4b8a98d06
Merge pull request #68249 from ClickHouse/rset
Fix 'Refresh set entry already exists'
2024-08-13 20:07:31 +00:00
Michael Kolupaev
074cd7371a Merge remote-tracking branch 'origin/master' into mv4 2024-08-13 20:04:17 +00:00
robot-clickhouse
6af5fedf42 Update autogenerated version to 24.9.1.1 and contributors 2024-08-13 19:26:35 +00:00
Kruglov Pavel
6c8ad63104
Merge pull request #68132 from Avogar/better-dynamic
Reimplement Dynamic type
2024-08-13 19:21:52 +00:00
avogar
c75112827c Fis style 2024-08-13 18:05:27 +00:00
Anton Popov
9833ef0bed slightly better 2024-08-13 17:50:13 +00:00
avogar
f82822c993 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-13 17:14:30 +00:00
avogar
6d2f17ea3b Add more tests 2024-08-13 17:12:38 +00:00
Daniil Ivanik
e02b434d2f
Merge pull request #68238 from ClickHouse/divanik/remove_useless_logs_about_zero_replication
Remove unnecessary logs in MergeTreeData.cpp
2024-08-13 16:21:32 +00:00
Alexander Tokmakov
eddf948246
Merge pull request #68250 from ClickHouse/tavplubix-patch-10
Replace segfault in Replicated database with logical error
2024-08-13 16:15:09 +00:00
Robert Schulze
88f2d2e67d
Bump usearch to v2.7.8 2024-08-13 15:53:21 +00:00
Robert Schulze
98c18eb341
Bump usearch to 2.4.1 2024-08-13 15:53:11 +00:00
Nikolai Kochetov
c5ae139c97 Cleanup. 2024-08-13 15:18:07 +00:00
Nikita Taranov
dd3fa7c3b6
Merge pull request #61793 from nickitat/keep_alive_max_reqs
Implement `max_keep_alive_requests` setting for server
2024-08-13 15:06:43 +00:00
Robert Schulze
2ffcc97af2
Merge pull request #63675 from rschu1ze/vector-search
Initial implementation of vector similarity index
2024-08-13 15:06:20 +00:00
vdimir
4fad666a8b
Merge branch 'master' into vdimir/followup-56996 2024-08-13 17:00:07 +02:00
kssenii
5a6090ad05 Fix 2024-08-13 16:48:12 +02:00
Nikolai Kochetov
04286bc270 Add status to PipelineExecutor. Verify status of pusing pipeline. 2024-08-13 14:45:05 +00:00
Yakov Olkhovskiy
3e8a177622
Merge pull request #61908 from ClickHouse/ci-fuzzer-enable
CI: enable libfuzzer (fixing build and docker)
2024-08-13 14:22:09 +00:00
avogar
710cf1a223 Calculate statistics for paths in shared data 2024-08-13 13:55:57 +00:00
Antonio Andelic
973b240579 Fix min/max time columns 2024-08-13 15:40:45 +02:00
Peter Nguyen
94604126fe
Merge branch 'ClickHouse:master' into add_create_if_not_exists_setting 2024-08-13 07:25:26 -06:00
Yarik Briukhovetskyi
39c25663ae
Merge pull request #67879 from bigo-sg/opt_orc_writer
Avoid allocating unnecessary capacity for array column while writing orc & some minor refactors
2024-08-13 12:51:11 +00:00
vdimir
d2be1bf693
Fix FullSortingJoinTest.AsofGreaterGeneratedTestData with empty data 2024-08-13 12:33:44 +00:00
kevinyhzou
85bd63a2ac rebase and resolve conflict 2024-08-13 19:16:32 +08:00
Robert Schulze
99282e526a
Merge pull request #68235 from sakulali/query_cache_tag
QueryCache: Add tagging
2024-08-13 10:44:10 +00:00
Yarik Briukhovetskyi
086c0f03a6
Merge pull request #65997 from yariks5s/hive_style_partitioning
Implementing Hive-style partitioning
2024-08-13 10:04:21 +00:00
avogar
2896dd51d8 Implemenet prepareForSquashing for ColumnObject 2024-08-13 09:52:43 +00:00
lgbo-ustc
2a51b6c403 fix crash in lag/lead 2024-08-13 14:01:41 +08:00
Yakov Olkhovskiy
93a922f169 merge master 2024-08-13 03:28:25 +00:00
pufit
ae5223854f
Merge pull request #67653 from ClickHouse/pufit/inconsistent-formating-grant-current-grants
Fix inconsistent formatting for `GRANT CURRENT GRANTS`
2024-08-13 03:21:26 +00:00
Alexey Milovidov
b80dd738b0 Fix error 2024-08-13 02:41:00 +02:00
Alexey Milovidov
995b29cb07 Merge branch 'master' of github.com:ClickHouse/ClickHouse into more-strict-tryparse 2024-08-13 02:38:40 +02:00
Michael Kolupaev
5e6f728248 safeGet 2024-08-13 00:35:40 +00:00
Michael Kolupaev
5d8ee17166 Merge remote-tracking branch 'origin/master' into qast 2024-08-12 23:56:11 +00:00
Michael Kolupaev
ddd5a96950 Fix 2024-08-12 23:56:02 +00:00
Michael Kolupaev
f12609440f fashion 2024-08-12 23:09:57 +00:00
Alexey Milovidov
30b2cb606f Merge branch 'master' of github.com:ClickHouse/ClickHouse into format-settings-parsing 2024-08-13 00:01:01 +02:00
Alexey Milovidov
aa38315673 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-trash-in-aws-s3 2024-08-12 23:54:45 +02:00
Kruglov Pavel
01b2e67f2e
Merge branch 'master' into json-data-type 2024-08-12 23:32:35 +02:00
avogar
83cb991f75 Fix special build 2024-08-12 21:30:30 +00:00
avogar
8136e6a452 Update new prepareForSquashing method for ColumnDynamic 2024-08-12 21:29:26 +00:00
János Benjamin Antal
ac6826392d
Merge pull request #67554 from ClickHouse/fix-message-queue-sink-from-http-interface
Fix message queue sink from http interface
2024-08-12 21:29:14 +00:00
Anton Popov
dccf34dc95 fix drift of profile event time 2024-08-12 21:20:57 +00:00
Michael Kolupaev
15ca86db7a Merge remote-tracking branch 'origin/master' into mv4 2024-08-12 21:17:45 +00:00
Michael Kolupaev
c218560639 Don't enable allow_materialized_view_with_bad_select yet, someone has to add support for fixture reuse in test_replicated_database first 2024-08-12 21:14:42 +00:00
János Benjamin Antal
6eb4a71ad3
Merge pull request #68163 from azat/backups-processes
[RFC] Fix settings/current_database in system.processes for async BACKUP/RESTORE
2024-08-12 21:07:55 +00:00
Alexander Tokmakov
5a683796a0
Update DatabaseReplicated.cpp 2024-08-12 22:34:14 +02:00
avogar
03182c7a8f Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-dynamic 2024-08-12 20:29:24 +00:00
Michael Kolupaev
469c1698b0 Fix 'Refresh set entry already exists' 2024-08-12 19:32:13 +00:00
Han Fei
40382451a2
Merge pull request #68186 from rschu1ze/stats-tests-refactoring
Refactor tests for (experimental) statistics
2024-08-12 18:58:19 +00:00
Robert Schulze
c22265b889
Some fixups 2024-08-12 17:45:38 +00:00
avogar
f8011d53d6 Fix data types parsing 2024-08-12 17:14:43 +00:00
Kruglov Pavel
ba85cc8d59
Merge pull request #67043 from Avogar/improve-squashing
Improve columns squashing for String/Array/Map/Variant/Dynamic types
2024-08-12 17:14:15 +00:00
avogar
0c209242b1 Fix build 2024-08-12 16:28:18 +00:00
Nikita Taranov
f7af4c5643 don't report system-wide metrics when cgroup metrics present 2024-08-12 17:27:43 +01:00
Robert Schulze
fe537045c9
Merge remote-tracking branch 'ClickHouse/master' into query_cache_tag 2024-08-12 16:16:32 +00:00
Yarik Briukhovetskyi
3a6e05eb43
try to fix includes 2024-08-12 18:03:42 +02:00
avogar
44e267ec76 Fix conflicts and style check 2024-08-12 15:58:40 +00:00
avogar
cfd854882b Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-12 15:57:57 +00:00
avogar
44d4784da5 Use std::string_view for lookups in hash table 2024-08-12 15:52:39 +00:00
vdimir
848285eabc
Fix OrderByLimitByDuplicateEliminationPass with IGNORE NULLS 2024-08-12 15:40:03 +00:00
Yarik Briukhovetskyi
ea1cd66575
fix tidy 2024-08-12 17:32:43 +02:00
Robert Schulze
fb76cb90b1
Allow un-quoted skip index parameters
Previously, only this syntax to create a skip index worked:

   INDEX index_name column_name TYPE vector_similarity('hnsw', 'L2Distance')

Now, this syntax will work as well:

  INDEX index_name column_name TYPE vector_similarity(hnsw, L2Distance)
2024-08-12 15:32:25 +00:00
Robert Schulze
d2e79f0b92
Rework vector index parameters
USearch (similar to FAISS) allows to specify the distance function,
quantization, and various HNSW meta-parameters for index creation and
sarch. Some users wished for greater configurability, so let's expose
them.

Index creation now requires either
- 2 parameters (with the other 4 parameters taking on default values), or
- 6 parameters for full control

This commit also remove quantization `f64` (that would be upsampling).
2024-08-12 15:32:19 +00:00
Robert Schulze
cc5c64e1ed
Add migration helper for legacy 'annoy' and 'usearch' indexes types
Index types 'annoy' and 'usearch' were removed and replaced by
'vector_similarity' indexes in an earlier commit.

This means unfortuantely, that if customers have tables with these
indexes and upgrade, their database might not start anymore - the
system loads the metadata at startup, thinks something is wrong with
such tables, and halts immediately.

This commit adds support for loading and attaching such indexes back.
Data insert or use (search) return an error which recommends a migration
to 'vector_similarity' indexes. The implementation is generally similar
to what has recently been implemented for 'full_text' indexes [1, 2].

[1] https://github.com/ClickHouse/ClickHouse/pull/64656
[2] https://github.com/ClickHouse/ClickHouse/pull/64846
2024-08-12 15:31:27 +00:00
Robert Schulze
785b6637fa
Rename index type "usearch" to "vector_similarity"
First, index type "vector_similarity" is more speaking and user-friendly
than "usearch". Second, we should not expose the name of the library
doing the job (usearch). Of course, the docs will continue to mention
usearch (credit where credit is due).

Existing setting `allow_experimental_usearch_index` was marked obsolete.
A new settings `allow_experimental_vector_similarity_index` was added.
2024-08-12 15:30:45 +00:00
Robert Schulze
021fad920e
Cosmetics: minor stuff 2024-08-12 15:30:41 +00:00
Robert Schulze
2aa037985b
Cosmetics: simplify inheritance hierarchy 2024-08-12 15:30:38 +00:00
Robert Schulze
901906159d
Cosmetics: ApproximateNearestNeighborInformation --> Info + nest in class 2024-08-12 15:30:35 +00:00
Robert Schulze
6170aad43e
Cosmetics: ApproximateNearestNeighborIndexesCommon --> VectorSimilarityCondition 2024-08-12 15:30:30 +00:00
Robert Schulze
e20eff635e
Cosmetics: variable naming 2024-08-12 15:30:27 +00:00
Robert Schulze
1bf320a1a8
Cosmetics: metric --> distance_function (for consistent terminology) 2024-08-12 15:30:24 +00:00
Robert Schulze
3f47b42d71
Remove funny typedef 2024-08-12 15:30:21 +00:00
Robert Schulze
fb26a9e6d4
Cosmetics: whitespaces 2024-08-12 15:30:18 +00:00
Robert Schulze
0f1765a273
Cosmetics: function naming 2024-08-12 15:30:14 +00:00
Robert Schulze
a8167abca2
Cosmetics: use native types/functions 2024-08-12 15:30:10 +00:00
Robert Schulze
9ad890e399
Cosmetics: whitespaces 2024-08-12 15:30:07 +00:00
Robert Schulze
27a6931a35
Cosmetics: variable naming 2024-08-12 15:29:59 +00:00
Robert Schulze
289c27c804
Introduce version for for index files in persistence 2024-08-12 15:29:02 +00:00
Robert Schulze
74de79e52b
Addd logging of basic statistics 2024-08-12 15:28:46 +00:00
Kruglov Pavel
bba4a90a9c
Merge branch 'master' into better-dynamic 2024-08-12 17:28:09 +02:00
Robert Schulze
8853b3359b
Remove useless templatization
Makes the code cleaner, compile faster, and the binary smaller.
2024-08-12 15:27:06 +00:00
Nikita Taranov
57a614857c address review comments 2024-08-12 16:27:01 +01:00
Robert Schulze
4f23f7754b
Cosmetics 2024-08-12 15:26:05 +00:00
Robert Schulze
7f611681df
Add a similar sanity check as in other skipping indexes 2024-08-12 15:26:01 +00:00
Robert Schulze
f944ef25bb
Better handling of errors during add, search, and save 2024-08-12 15:25:58 +00:00
Robert Schulze
40bed3e20f
Remove support for WHERE-type queries
These kind of vector search similarity queries are rather obscure and
rare in practice. They require the user to specify a maximum distance
which is not intuitive to obtain. Furthermore, these queries are not
natively supported in USearch, so the vector search index had to emulate
these queries.

Therefore simplifying the code base and restricting vector search to
ORDER-BY queries only.
2024-08-12 15:25:52 +00:00
Robert Schulze
abb8e61981
Remove support code for Lp norm in vector search
It is a generalization of other norms, too expensive to calculate and
not relevant in practice. Also, Usearch doesn't support it.
2024-08-12 15:25:48 +00:00
Robert Schulze
65186f0b69
Remove tuple support
Indexes for approximate nearest neighbourhood (ANN) search (USearch) can
be build on columns of type Array(Float32) or Tuple(Float32[, Float32[, ...]]).
In practice, Arrays(Float32) is the only relevant data type.
Arrays store high-dimensional embeddings consecutively (--> cache
locality) and the additional flexibility of different data types in a
tuple is not needed for vector search.

Therefore removing support for ANN indexes over tuple columns to
simplify the code, tests and docs.
2024-08-12 15:25:39 +00:00
Robert Schulze
218421c255
Remove Annoy indexes
Annoy indexes fell out of favor in the community, at least when it comes
to vector databases. Such indexes work okay-ish low dimensions but they
suffers badly from a curse of dimensionality which makes them inapt for
a high number of dimensions.

Now that Annoy is gone, issue (*) also disappears and we can drop
'no-ubsan', 'no-cpu-aarch64', and 'no-asan' from tests.

(*) spotify/annoy#456
2024-08-12 15:24:49 +00:00
Robert Schulze
d7211f9d12
Fix CMake integration of usearch and annoy
Registers usearch and annoy properly via configure_config.cmake and
config.h.in like all other 3rd party libs, instead of (mis)using
target_compile_definitions.
2024-08-12 15:24:18 +00:00
Robert Schulze
a39b9cf643
Un-screw usearch's build description
No directory 'SimSIMD-map' exists, the build only worked because SimSIMD
support in usearch was (accidentally?) disabled. This commit corrects
the build description. SimSIMD support in usearch will be enabled by a
later commit.
2024-08-12 15:24:14 +00:00
divanik
eb3ffb7184 Add supportsReplication 2024-08-12 15:09:16 +00:00
Robert Schulze
85f63b056b
Merge pull request #68135 from ClickHouse/refactor-field-get
Only use Field::safeGet - Field::get prone to type punning
2024-08-12 14:25:11 +00:00
jsc0218
a9d19c7aca Merge remote-tracking branch 'origin/master' into LWDRebuildProj 2024-08-12 14:06:25 +00:00
avogar
8522776c33 Remove unused code 2024-08-12 13:49:01 +00:00
avogar
9834457c26 Fix copying arguments 2024-08-12 13:48:18 +00:00
avogar
a329456146 Fix review comments 2024-08-12 13:47:10 +00:00
Nikita Taranov
633b15d7a4 Merge branch 'master' into cpu_cgroup_aware 2024-08-12 14:18:36 +01:00
Robert Schulze
037a1006fd
Merge remote-tracking branch 'ClickHouse/master' into ci-fuzzer-enable 2024-08-12 12:28:32 +00:00
Anton Popov
3172bf8d76 better accounting of time for merge of projections 2024-08-12 12:23:32 +00:00
Nikita Taranov
2f546fb513
Merge pull request #68098 from aiven-sal/aiven-sal/segfault
Fix UB in hopEnd, hopStart, tumbleEnd, and tumbleStart
2024-08-12 12:09:23 +00:00
avogar
9296d4ecfb Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-12 11:55:39 +00:00
Sema Checherinda
5e836bc20e
Merge pull request #67472 from ClickHouse/chesema-02765
speed up system flush logs
2024-08-12 11:51:55 +00:00
avogar
38f3131e11 Fix review comments 2024-08-12 11:39:36 +00:00
Yarik Briukhovetskyi
8bc89ac8df
Merge branch 'master' into hive_style_partitioning 2024-08-12 11:44:45 +02:00
vdimir
5c54c7025b
Followup for #56996 2024-08-12 08:25:54 +00:00
Robert Schulze
0aa30b10d5
Merge pull request #68069 from rschu1ze/cmake-cleanup
Minor CMake cleanup
2024-08-12 06:43:00 +00:00
Robert Schulze
574c445be9
Refactor tests for (experimental) statistics 2024-08-12 05:56:16 +00:00
Alexey Milovidov
69978dbc6d Merge branch 'master' into format-settings-parsing 2024-08-12 07:11:26 +02:00
Alexey Milovidov
741e1da2bd Merge branch 'master' into fix-trash-in-aws-s3 2024-08-12 06:01:07 +02:00
Alexey Milovidov
1e15574a25 Fix ExternalDistributed 2024-08-12 05:53:43 +02:00
Alexey Milovidov
4866581a67 Fix DeltaLake partitioned by Bool when it is true 2024-08-12 04:59:21 +02:00
李扬
623c530f67
Merge branch 'ClickHouse:master' into opt_lc_name 2024-08-12 10:33:24 +08:00
sakulali
957a0b6ea4 Add a setting query_cache_tag 2024-08-12 08:40:01 +08:00
Alexey Milovidov
c2cb8e6c7d Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-trash-in-aws-s3 2024-08-12 01:04:17 +02:00
Peter Nguyen
868a1e78f2 Add support for new create_if_not_exists setting in InterpreterCreateQuery.cpp 2024-08-11 16:59:52 -06:00
Peter Nguyen
f90b8327be Update SettingsChangesHistory.cpp with new create_if_not_exists settings 2024-08-11 16:59:52 -06:00
Peter Nguyen
967bd05663 Add create_if_not_exists setting to Settings.h 2024-08-11 16:59:52 -06:00
Yakov Olkhovskiy
5c8665c660 fix system.kafka_consumers and doc, fix tidy 2024-08-11 20:40:55 +00:00
Igor Nikonov
51c2e136db
Merge branch 'master' into pr-lost-decimal-conversion 2024-08-11 21:27:18 +02:00
Azat Khuzhin
8a48b33344 Fix settings/current_database in system.processes for async BACKUP/RESTORE
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-11 21:27:08 +02:00
Yakov Olkhovskiy
8e706265e6 fix 2024-08-11 16:29:35 +00:00
Yakov Olkhovskiy
4fec61da55 fix wrong datatype in system.kafka_consumers 2024-08-11 12:35:27 +00:00
Alexander Tokmakov
53bc1b7e35
Revert "Refactor tests for (experimental) statistics" 2024-08-11 13:19:36 +02:00
Robert Schulze
45db564354
Merge pull request #68034 from rschu1ze/stats-tests-refactoring
Refactor tests for (experimental) statistics
2024-08-11 08:43:31 +00:00
Alexey Milovidov
ee3eec0a2a
Update Credentials.cpp 2024-08-11 04:47:26 +02:00
Yakov Olkhovskiy
e93584e741 fix Field conversion to IPv4 2024-08-10 23:02:30 +00:00
Igor Nikonov
9ce97e918b
Merge branch 'master' into patch-2 2024-08-11 00:07:46 +02:00
János Benjamin Antal
79a964bfff Merge remote-tracking branch 'origin/master' into fix-message-queue-sink-from-http-interface 2024-08-10 21:53:57 +00:00
János Benjamin Antal
7aaa038571
Merge pull request #67922 from ClickHouse/fix_trivial_count_non_deterministic_func
Fix wrong `count()` result when there is non-deterministic function in predicate
2024-08-10 21:13:12 +00:00
Yakov Olkhovskiy
80e9269963 allow UInt64 <-> Int64 conversion 2024-08-10 19:39:59 +00:00
alesapin
c945209427
Merge pull request #68003 from ClickHouse/ignore_broken_projections_on_start
Ignore disappeared projections on start
2024-08-10 19:34:40 +00:00
Anton Popov
a925faf8f9
Merge pull request #68053 from CurtizJ/enable-optimize_functions_to_subcolumns_2
Enable setting `optimize_functions_to_subcolumns` by default
2024-08-10 18:32:47 +00:00
Alexey Milovidov
7524b8f767 A slight improvement 2024-08-10 19:55:22 +02:00
Alexey Milovidov
dfedcae505 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-trash-in-aws-s3 2024-08-10 19:52:21 +02:00
Alexey Milovidov
4c4d1e8c65
Merge pull request #67233 from ClickHouse/debug_exec_dict
Debug logging for #67002
2024-08-10 17:41:21 +00:00
Yakov Olkhovskiy
0a8fb05ece fix after merge 2024-08-10 16:23:23 +00:00
Antonio Andelic
3a2be13a93
Merge pull request #67975 from ClickHouse/update-minio-statless
Update minio in stateless tests
2024-08-10 16:15:14 +00:00
Antonio Andelic
16e52b547b
Merge pull request #68106 from ClickHouse/fix-with-retries-data-race
Fix race in `WithRetries`
2024-08-10 15:43:25 +00:00
jsc0218
70727c604a Merge remote-tracking branch 'origin/master' into LWDRebuildProj 2024-08-10 14:41:03 +00:00
Yakov Olkhovskiy
9a45c136b8 merge master 2024-08-10 13:53:32 +00:00
Yakov Olkhovskiy
c1b5b908ba hide Field::get in private, only use Field::safeGet 2024-08-10 13:01:55 +00:00
李扬
1e9e19bb1c
Merge branch 'ClickHouse:master' into opt_orc_writer 2024-08-10 20:28:31 +08:00
avogar
d243feea21 Fix special builds 2024-08-10 11:21:28 +00:00
Igor Nikonov
389ac9e84b Merge remote-tracking branch 'origin/master' into pr-lost-decimal-conversion 2024-08-10 10:47:57 +00:00
jsc0218
c26b3cb445 handle the case of packed storage 2024-08-10 02:27:23 +00:00
avogar
805a2e33bf Fix unit tests 2024-08-10 00:47:43 +00:00
Alexey Milovidov
b4f256ac0b
Merge pull request #68008 from ClickHouse/clickhouse-local-remove-unused-command-line-option
Remove unused CLI option
2024-08-10 00:17:12 +00:00
Alexey Milovidov
e6bbbaadaa
Merge pull request #68107 from ClickHouse/avoid-to-string-conversion-for-cast
Avoid converting type to string and back in _CAST
2024-08-10 00:08:44 +00:00
Alexey Milovidov
ca59370552 Merge branch 'master' into more-strict-tryparse 2024-08-10 01:42:26 +02:00
Alexey Milovidov
eb652adf62 Merge branch 'master' into format-settings-parsing 2024-08-10 00:22:18 +02:00
Alexey Milovidov
cebcc88b31 Fix build 2024-08-10 00:18:54 +02:00
Alexey Milovidov
f18606c608 Merge branch 'master' into fix-trash-in-aws-s3 2024-08-10 00:13:34 +02:00
avogar
c1c32daf01 Fix tests 2024-08-09 21:59:40 +00:00
Alexey Milovidov
e6e06af7bd
Merge pull request #64281 from bigo-sg/extend_inequal_join
`Any/Semi/Anti` join support mixed join conditions
2024-08-09 21:36:31 +00:00
Alexey Milovidov
a79eff9dcf
Merge pull request #67647 from jacobrec/multilinestring
Added support for reading MultiLineString WKTs
2024-08-09 21:35:55 +00:00
avogar
c61eef4a76 Reimplement Dynamic type 2024-08-09 21:17:49 +00:00
Michael Kolupaev
61befa33a4 Fix crash on parquet column type mismatch 2024-08-09 21:10:05 +00:00
Anton Popov
2024d6b976 Merge remote-tracking branch 'upstream/master' into HEAD 2024-08-09 21:00:35 +00:00
Alexey Milovidov
f4173546a9 Remove obsolete test 2024-08-09 21:47:01 +02:00
Alexey Milovidov
b8508b3688 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-trash-in-aws-s3 2024-08-09 21:43:40 +02:00
Alexey Milovidov
ae5982f92a Fix crap 2024-08-09 21:42:16 +02:00
Alexey Milovidov
b421594791 Fix backups 2024-08-09 21:15:27 +02:00
Alexey Milovidov
c65c3768ba Fix .NET 2024-08-09 21:15:18 +02:00
Alexey Milovidov
776eb7ca75 Fix unit test 2024-08-09 20:38:24 +02:00
Alexey Milovidov
0ccac1e7ff Merge branch 'master' into more-strict-tryparse 2024-08-09 20:22:37 +02:00
Alexey Milovidov
a25accdae3 Fix a test 2024-08-09 20:20:09 +02:00
Alexey Milovidov
d8670ecd91 Merge branch 'master' into format-settings-parsing 2024-08-09 20:12:33 +02:00
Sema Checherinda
99b9db9ba7 Merge branch 'master' into chesema-02765 2024-08-09 19:54:44 +02:00
Yarik Briukhovetskyi
701c787eea
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-08-09 17:53:49 +02:00
Aleksei Filatov
e3fded6c94 Log peration error for zk multi request 2024-08-09 15:13:55 +00:00
Anton Popov
c682e35b59
Merge pull request #68052 from CurtizJ/fix-mutations-analyzer
Fix skip of parts in mutation with analyzer
2024-08-09 14:24:31 +00:00
Alexey Milovidov
a74cc601cd A catch-all URL style for S3 2024-08-09 16:04:27 +02:00
Nikita Taranov
b757522fc4 fix build 2024-08-09 14:20:57 +01:00
János Benjamin Antal
2900c7006e Merge remote-tracking branch 'origin/master' into fix-message-queue-sink-from-http-interface 2024-08-09 13:06:58 +00:00
Sema Checherinda
96b54df163 fix bugprone-macro-parentheses 2024-08-09 15:04:03 +02:00
Sema Checherinda
1e67b46b57
Merge pull request #67684 from ClickHouse/chesema-rewrite-storage-policy
rework usage of custom table's disks
2024-08-09 12:36:29 +00:00
Salvatore Mesoraca
1875e8d9cd
Fix UB in tumbleEnd and tumbleStart
This was causing segfaults because of a NULL pointer dereference
2024-08-09 14:06:52 +02:00
Nikita Taranov
3d850f8ceb fix 2024-08-09 13:58:02 +02:00
Nikolai Kochetov
e8f2f65e62 Avoid converting type to string and back in _CAST 2024-08-09 11:51:23 +00:00
Nikita Taranov
ffa1371dde Merge branch 'master' into keep_alive_max_reqs 2024-08-09 12:24:45 +01:00
Antonio Andelic
36c0c4562b Fix race in WithRetries 2024-08-09 13:14:30 +02:00
Anton Popov
7c409c7884
Merge pull request #66084 from morning-color/rows_before_group_by_counter
Add rows_before_aggregation_at_least statistic
2024-08-09 10:36:22 +00:00
taiyang-li
dccb6bdd88 fix failed uts 2024-08-09 18:33:05 +08:00
Graham Campbell
2657e2b3ef
Do not apply redundant sorting removal when there's an offset 2024-08-09 11:08:41 +01:00
Yarik Briukhovetskyi
aebb07884b
Merge branch 'master' into hive_style_partitioning 2024-08-09 11:53:14 +02:00
Antonio Andelic
34fb169aa7 Merge branch 'master' into update-minio-statless 2024-08-09 11:50:17 +02:00
Salvatore Mesoraca
a5e06c7c31 Fix UB in hopEnd and hopStart
This was causing segfaults because of a NULL pointer dereference
2024-08-09 11:48:02 +02:00
Robert Schulze
eec5fe087c
Fix CMake for QATlib 2024-08-09 08:50:52 +00:00
Robert Schulze
a497a23914
Fix CMake for QPL 2024-08-09 08:44:22 +00:00
taiyang-li
ba3fa8a87f Merge branch 'master' into opt_orc_writer 2024-08-09 16:18:17 +08:00
kruglov
1e2eea9f63 Fixed errors when publication name contents symbols except [a-z_] 2024-08-09 11:14:11 +03:00
Robert Schulze
b242a129f8
Fix referenced variable for jemalloc in system.build_options 2024-08-09 08:04:24 +00:00
Robert Schulze
30d8e40772
Fix referenced variable for vectorscan in system.build_options 2024-08-09 08:04:24 +00:00
Robert Schulze
47f429a524
Proper CMake for libfiu 2024-08-09 08:04:24 +00:00
Robert Schulze
f14112fb8a
Merge pull request #67963 from rschu1ze/fix-concurrent_threads_soft_limit_ratio
Fix CPU count detection for `concurrent_threads_soft_limit_ratio` in in containers
2024-08-09 07:58:29 +00:00
taiyang-li
cfc10961ed fix getName() style for columnlowcardinality and columnunique 2024-08-09 15:56:36 +08:00
Robert Schulze
9b94bbc87e
Merge remote-tracking branch 'ClickHouse/master' into stats-tests-refactoring 2024-08-09 07:54:35 +00:00
taiyang-li
6bab57caa7 Merge branch 'master' into opt_lc_name 2024-08-09 14:33:54 +08:00
pufit
21f8b03789
Merge pull request #67655 from ClickHouse/pufit/fuzz-query-revert-revert
FuzzQuery table function (resubmit)
2024-08-09 05:57:43 +00:00
Alexey Milovidov
917920c59e
Merge pull request #67737 from azat/tests-processes-leftovers
Smart handling of processes leftovers in tests
2024-08-09 05:21:12 +00:00
Alexey Milovidov
89ea89ad67
Merge pull request #67885 from canhld94/drop_detached_partition_all
Support DROP DETACHED PARTITION ALL
2024-08-09 05:20:55 +00:00
Alexey Milovidov
d1c64b5027
Merge pull request #67952 from ClickHouse/change-log-level-clickhouse-local
Change log level of an insignificant message in clickhouse-local
2024-08-09 05:20:40 +00:00
Alexey Milovidov
9470ceb34d Minor changes 2024-08-09 05:41:10 +02:00
Alexey Milovidov
8bfe4ee23f Speed up requests when IMDS is not available 2024-08-09 04:57:18 +02:00
Alexey Milovidov
dbd4a6d551 Speed up from 4 sec to 2 sec #52771 2024-08-09 04:41:06 +02:00
Alexey Milovidov
978d36f9fe It's strange that we cared about this 2024-08-09 03:57:47 +02:00
Alexey Milovidov
d0a1ee821b You don't know regular expressions 2024-08-09 03:51:12 +02:00
lgbo-ustc
248da0341a fixed 2024-08-09 09:51:11 +08:00
Alexey Milovidov
6f0f278387 Fix trash (low-quality code) in AWS S3 2024-08-09 03:45:07 +02:00
pufit
5d57155c3e
Merge pull request #67953 from ClickHouse/pufit/correct-error-for-alter-modify-definer
Add an explicit error for `ALTER MODIFY SQL SECURITY` on non-view tables.
2024-08-09 00:16:41 +00:00
pufit
99fbef3340
Merge branch 'master' into pufit/fuzz-query-revert-revert 2024-08-08 20:12:23 -04:00
Anton Popov
8d0c8318ea
Apply suggestions from code review 2024-08-09 00:05:26 +02:00
Nikita Taranov
e501894767
Merge pull request #66320 from waynexia/period-detect
Avoid unneeded calculation in SeriesPeriodDetect
2024-08-08 21:44:54 +00:00
Alexey Milovidov
24dbdace18
Merge pull request #66282 from ClickHouse/vdimir/analyzer_external_query_fix
Properly convert boolean literals in query tree
2024-08-08 19:55:12 +00:00
Alexey Milovidov
0a2cb386f5 Merge branch 'master' into change-log-level-clickhouse-local 2024-08-08 20:54:53 +02:00
jsc0218
27fe047bce Merge remote-tracking branch 'origin/master' into LWDRebuildProj 2024-08-08 18:12:18 +00:00
Alexey Milovidov
63d7697115
Merge pull request #67177 from ClickHouse/vdimir/connection_reset_by_peer_spam_log
Do not spam logs with messages related to connection reset by peer
2024-08-08 17:42:22 +00:00
Robert Schulze
fece58ae82
Merge remote-tracking branch 'ClickHouse/master' into stats-tests-refactoring 2024-08-08 17:38:38 +00:00
Jacob Reckhard
cd69fa5a4c fixed typos 2024-08-08 11:20:55 -06:00
Miсhael Stetsyuk
ef294f0dab
Merge pull request #67913 from ClickHouse/add-replication-lag-and-recovery-time-metrics-resubmit
[resubmit] add replication lag and recovery time metrics
2024-08-08 16:37:30 +00:00
Robert Schulze
076c4a9ce9
Merge pull request #67930 from rschu1ze/fix-stat-assert
Fix stress test error with TDigest statistics
2024-08-08 16:34:58 +00:00
Anton Popov
f9f13a8e41 enable setting optimize_functions_to_subcolumns by default 2024-08-08 16:27:25 +00:00
Anton Popov
e264ecd201 fix skip of parts in mutation with analyzer 2024-08-08 16:22:06 +00:00
Yarik Briukhovetskyi
a5fcf85fb6
Merge branch 'master' into hive_style_partitioning 2024-08-08 17:54:53 +02:00
Duc Canh Le
fdd8d5e5d8 Merge branch 'master' into drop_detached_partition_all
Fix CI
2024-08-08 14:44:10 +00:00
Duc Canh Le
609fe80448 Merge branch 'master' into fix_exception_in_destructor
Fix CI
2024-08-08 14:42:47 +00:00
Anton Popov
05febdfb2b add more events and add tests 2024-08-08 14:07:24 +00:00
János Benjamin Antal
c9adfe246b
Merge pull request #57625 from ClickHouse/kafka-zookeeper
Kafka ZooKeeper
2024-08-08 14:02:27 +00:00
Kruglov Kirill
72bc5cd2e9 Update src/Databases/PostgreSQL/fetchPostgreSQLTableStructure.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-08-08 16:50:53 +03:00
kruglov
cab274e1b6 Fixed error on generated columns in MaterializedPostgreSQL 2024-08-08 16:50:53 +03:00
Yarik Briukhovetskyi
edccd30016
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-08-08 14:52:33 +02:00
Yakov Olkhovskiy
cbfc80a184
Merge pull request #67587 from ClickHouse/fix-create-view-with-recursive
Fix: creation of view with recursive CTE
2024-08-08 12:16:48 +00:00
Nikita Mikhaylov
4c289aa2dc
Merge pull request #64183 from vitlibar/ts-engine
Add new TimeSeries table engine to handle Prometheus protocols
2024-08-08 12:03:12 +00:00
alesapin
ac3dd0a9dc
Merge pull request #67873 from ClickHouse/fix-02597_column_update_tricy_expression_and_replication
[CI Fest] Fix `02597_column_update_tricy_expression_and_replication`
2024-08-08 11:58:37 +00:00
Robert Schulze
b0ba53788a
Refactor tests for (experimental) statistics 2024-08-08 11:21:23 +00:00
Sema Checherinda
117fedd3bb fix style 2024-08-08 12:59:32 +02:00
Sema Checherinda
0939e7f922 Merge branch 'master' into chesema-02765 2024-08-08 12:57:04 +02:00
Sema Checherinda
69ac203c9f fix tests 2024-08-08 12:56:33 +02:00
Sema Checherinda
ec145c86f5
Update src/Disks/DiskFomAST.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-08-08 12:28:52 +02:00