Commit Graph

14660 Commits

Author SHA1 Message Date
flynn
e1e692a968 Fix and update docs 2024-08-25 08:00:16 +00:00
Alexey Korepanov
83fa51f400 PR fixes: update documentation on JSONCompactWithProgress format 2024-08-23 21:42:54 +02:00
vdimir
642657d02c
Merge pull request #68612 from leonkozlowski/docs/fix-merge-tree-primary-key-docs
patch: fix reference to sorting key in primary key docs
2024-08-23 16:29:25 +00:00
avogar
5c5c803fad Update docs 2024-08-23 11:00:03 +00:00
Maxim Dergousov
8c4329964f small cosmetic changes in docs 2024-08-23 12:50:18 +03:00
Robert Schulze
c40c8b7adb
Enable bf16 + f64 quantization, make bf16 the default 2024-08-23 07:32:34 +00:00
Konstantin Bogdanov
69f6ea5083
Update docs/en/sql-reference/functions/hash-functions.md 2024-08-22 22:07:02 +02:00
Dergousov
a2ff8e4384 fix: correct return type inconsistencies in docs 2024-08-22 20:49:56 +03:00
Mark Needham
7c3a013d56
Update newjson.md 2024-08-22 16:53:30 +01:00
János Benjamin Antal
00aa60ca03
Merge pull request #65987 from ClickHouse/fix-docs-for-merge-selecting-sleep
Fix docs
2024-08-22 12:42:31 +00:00
Yarik Briukhovetskyi
e979251859
Merge pull request #68057 from yariks5s/interval_type_conversion
Implement interval data type comparison
2024-08-22 12:15:10 +00:00
Robert Schulze
a1b97d7334
Merge pull request #66933 from bigo-sg/func_overlay
Add functions `overlay[UTF8]`
2024-08-22 11:50:42 +00:00
Shaun Struwig
62054cae66
Update geohash.md 2024-08-22 13:49:16 +02:00
Robert Schulze
76c93d35d8
Merge pull request #68477 from pinsvin00/add-clear-query-cache-tag
Drop query cache by tag
2024-08-22 09:39:22 +00:00
Shaun Struwig
6466f374e0
Update geohash.md 2024-08-22 11:29:33 +02:00
taiyang-li
9d0b3e3937 change as request 2024-08-22 11:32:59 +08:00
Dergousov
7f15f61426 feat: add docs 2024-08-21 22:46:55 +03:00
Dergousov
dfe0beb53b feat: add docs 2024-08-21 22:46:29 +03:00
Yarik Briukhovetskyi
0441b1c425
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-21 19:48:21 +02:00
Kruglov Pavel
f1b1f8afcf
Merge pull request #67875 from Avogar/limits-for-random-settings
Allow to specify min and max for random settings in the test
2024-08-21 15:57:22 +00:00
Pablo Marcos
4965f3403b
Merge pull request #68615 from pamarcos/secure-name-collections-storage
Add storage encryption for named collections
2024-08-21 15:21:12 +00:00
Kruglov Pavel
aa96fd3385
Merge pull request #63798 from Blargian/variant_inference
setting to use Variant data type during schema inference
2024-08-21 13:06:00 +00:00
Kruglov Pavel
34d02304d3
Merge branch 'master' into input_format_json_empty_as_default 2024-08-21 14:50:36 +02:00
Robert Schulze
050af403a7
Merge remote-tracking branch 'ClickHouse/master' into add-clear-query-cache-tag 2024-08-21 09:58:42 +00:00
JackyWoo
2502ca766f Merge branch 'master' into add_statistics_minmax
# Conflicts:
#	src/Storages/Statistics/ConditionSelectivityEstimator.cpp
#	src/Storages/Statistics/Statistics.cpp
#	src/Storages/Statistics/Statistics.h
#	src/Storages/Statistics/StatisticsCountMinSketch.cpp
#	src/Storages/Statistics/StatisticsCountMinSketch.h
#	src/Storages/Statistics/StatisticsTDigest.cpp
#	src/Storages/Statistics/StatisticsTDigest.h
#	src/Storages/Statistics/StatisticsUniq.cpp
#	src/Storages/Statistics/StatisticsUniq.h
2024-08-21 10:56:23 +08:00
Yarik Briukhovetskyi
0d416859b4
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-20 19:13:12 +02:00
János Benjamin Antal
677b28e1ac
Fix docs 2024-08-20 17:04:19 +02:00
Pablo Marcos
dd39218971 Fix style 2024-08-20 14:24:53 +00:00
Pablo Marcos
c56ae57af8 Update documentation 2024-08-20 14:09:13 +00:00
János Benjamin Antal
e547875a9c Improve wording 2024-08-20 14:03:02 +00:00
János Benjamin Antal
d10e65291c Fix docs 2024-08-20 14:03:02 +00:00
leonkozlowski
e416a2b3d2 patch: fix reference to sorting key in primary key docs 2024-08-20 09:42:19 -04:00
Robert Schulze
129d1e387e
Some fixups 2024-08-20 13:36:17 +00:00
Robert Schulze
d80b37001c
Merge pull request #68498 from Blargian/docs_toInterval
[Docs] Update `toInterval*` functions
2024-08-20 12:10:07 +00:00
vdimir
f323c76431
Merge pull request #68461 from linhgiang24/patch-3
Update grant.md to include POSTGRES privilege
2024-08-20 11:09:53 +00:00
Blargian
0407171fce update argument types and fix style 2024-08-20 12:53:31 +02:00
avogar
a5a451efe2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-json-distinct-aggregate-functions 2024-08-20 09:57:46 +00:00
Blargian
abf556d641 review changes 2024-08-20 11:39:47 +02:00
PHO
4b05106cc4 Fix the upper bound of function fromModifiedJulianDay()
The upper bound was supposed to be 9999-12-31 but it was accidentally
set to 9999-01-01.
2024-08-20 17:49:26 +09:00
Yarik Briukhovetskyi
eaeebb4da1
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-19 18:25:45 +02:00
Kseniia Sumarokova
30c9e76dc5
Merge pull request #68497 from petern48/fix_postgresql_setting_default
Fix incorrect default value in docs for postgresql_connection_pool_auto_close_connection
2024-08-19 10:45:35 +00:00
Yarik Briukhovetskyi
0552a1acab
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-19 12:35:50 +02:00
taiyang-li
29a0161cdf change as request 2024-08-19 18:25:01 +08:00
taiyang-li
8eb922036e change as request 2024-08-19 12:45:15 +08:00
Shaun Struwig
4a7fe42001
Merge branch 'master' into variant_inference 2024-08-17 20:20:37 +02:00
Blargian
cb8d9a0564 fix typo 2024-08-17 20:13:35 +02:00
Peter Nguyen
9dee9ecfb4 Fix incorrect default value for postgresql_connection_pool_auto_close_connection in docs 2024-08-17 10:33:35 -06:00
Alexey Milovidov
67bbe6fe98
Merge pull request #68458 from cwurm/patch-4
Update gui.md: Links, formatting, spelling
2024-08-17 00:23:07 +00:00
avogar
4bf9197849 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-json-distinct-aggregate-functions 2024-08-16 22:38:52 +00:00
Justin de Guzman
4b11522990
Update JSON link 2024-08-16 14:06:55 -07:00
avogar
85a813bbed Better example 2024-08-16 17:55:57 +00:00
avogar
32f4b1f891 Add aggregate functions distinctDynamicTypes/distinctJSONPaths/distinctJSONPathsAndTypes 2024-08-16 17:49:38 +00:00
Michael Kolupaev
cb3468f6d1
Merge pull request #58934 from ClickHouse/mv4
Refreshable materialized views improvements
2024-08-16 17:16:28 +00:00
Linh Giang
4f84c82d6d
Update grant.md to include POSTGRES privilege
Added POSTGRES privilege under the SOURCES category as it seems to be missing.
2024-08-16 11:02:44 -06:00
Christoph Wurm
0dba461d7f
Update gui.md: Links, formatting, spelling 2024-08-16 16:46:57 +01:00
Kruglov Pavel
6f7e4ce3aa
Merge branch 'master' into fix-nullable-schema-inference 2024-08-16 15:39:34 +02:00
Kseniia Sumarokova
cb77472478
Merge pull request #68445 from neoman36/named_collection-doc
named-collections.md is updated
2024-08-16 12:29:01 +00:00
neoman36
c542fb57cd named-collections.md is updated 2 2024-08-16 13:01:23 +02:00
Kruglov Pavel
39bc050e5f
Merge pull request #66444 from Avogar/json-data-type
Implement new JSON data type.
2024-08-16 10:29:29 +00:00
neoman36
b76277ca00 named-collections.md is updated 2024-08-16 12:23:20 +02:00
Alexey Milovidov
a4ade2347c
Merge pull request #68308 from rschu1ze/enable-simsimd
Various vector similarity index related fixes
2024-08-16 00:41:56 +00:00
Michael Kolupaev
4b9a2997d0 Merge remote-tracking branch 'origin/master' into mv4 2024-08-16 00:33:30 +00:00
avogar
9f477bb1e7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-15 20:44:01 +00:00
Kruglov Pavel
c4d9944a90
Merge pull request #68382 from Avogar/better-datetime-inference
Improve schema inference of date times
2024-08-15 19:33:37 +00:00
Nikita Taranov
e98c89ebcb
Merge pull request #68164 from petern48/add_create_if_not_exists_setting
Add create_if_not_exists setting
2024-08-15 19:16:00 +00:00
avogar
7f0406a726 Remove JSONEmpty function and allow JSON in empty function 2024-08-15 15:53:09 +00:00
jsc0218
ee4b1eaaed
Merge pull request #68411 from jsc0218/DocForLWDProj
Add Doc for LWD and Projection
2024-08-15 14:43:59 +00:00
jsc0218
fb037bcc72 move to mergetree setting and add more info 2024-08-15 13:48:43 +00:00
divanik
ef1f0e2aaf Fix typo in docs 2024-08-15 13:16:09 +00:00
divanik
6a96eb5a4e Merge branch 'divanik/add_local_and_azure_iceberg_support' of github.com:ClickHouse/ClickHouse into divanik/add_local_and_azure_iceberg_support 2024-08-15 12:58:49 +00:00
Kruglov Pavel
f539507592
Merge branch 'master' into variant_inference 2024-08-15 14:23:20 +02:00
avogar
50a8cee0c5 Update docs 2024-08-15 11:39:04 +00:00
Robert Schulze
38a2b0dcc7
Allow Array(Float64) as type of underlying column 2024-08-15 10:47:55 +00:00
avogar
fed37d24f0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-15 08:02:15 +00:00
Alexey Milovidov
dbbd2c7875
Merge pull request #68248 from rschu1ze/update-usearch
Bump usearch to v2.13.2
2024-08-15 01:24:17 +00:00
Blargian
844cdd8937 update toInterval functions 2024-08-14 20:38:09 +02:00
Marco Vilas Boas
0a1f61fcbd
Merge branch 'ClickHouse:master' into marco-vb/x509-san-support-wildcard 2024-08-14 10:15:30 +01:00
Robert Schulze
6170a8663f
Bump usearch to 2.13.2 2024-08-14 08:04:00 +00:00
taiyang-li
0abca8b7dd fix doc 2024-08-14 09:57:59 +08:00
Michael Kolupaev
ab843c3cf5 Merge remote-tracking branch 'origin/master' into mv4 2024-08-14 00:29:48 +00:00
avogar
55ede2dab6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-13 21:19:17 +00:00
Michael Kolupaev
074cd7371a Merge remote-tracking branch 'origin/master' into mv4 2024-08-13 20:04:17 +00:00
jsc0218
82dfc336be
Merge pull request #68295 from austin-tildei/patch-1
Remove trailing colon in header for consistency
2024-08-13 19:49:24 +00:00
Kruglov Pavel
6c8ad63104
Merge pull request #68132 from Avogar/better-dynamic
Reimplement Dynamic type
2024-08-13 19:21:52 +00:00
jsc0218
2bf9ca6c43
Merge pull request #68245 from jsc0218/SpecialMergeTreeProjMergeDoc
Add Projection Merge Doc
2024-08-13 19:21:01 +00:00
avogar
70708fd5dc Update docs, make better 2024-08-13 19:19:02 +00:00
avogar
f82822c993 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-13 17:14:30 +00:00
Alexis Arnaud
d36176ad85 Support for the input_format_json_empty_as_default setting 2024-08-13 18:30:43 +02:00
Austin Bruch
7e209ebdf6
Remove trailing colon in header for consistency 2024-08-13 12:30:17 -04:00
Daniil Ivanik
f9f41405cc
Merge branch 'master' into divanik/add_local_and_azure_iceberg_support 2024-08-13 18:24:02 +02:00
Yarik Briukhovetskyi
99503dfb03
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-13 18:06:44 +02: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
avogar
0b728e7547 Update docs 2024-08-13 13:56:08 +00:00
Peter Nguyen
94604126fe
Merge branch 'ClickHouse:master' into add_create_if_not_exists_setting 2024-08-13 07:25:26 -06: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
Yarik Briukhovetskyi
d82e9b79da
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-13 12:01:19 +02:00
vdimir
dfb892ba5f
Merge pull request #66616 from Blargian/docs_getXYZ
add documentation for `getSubcolumn` and `getTypeSerializationStreams`
2024-08-13 09:35:44 +00:00
taiyang-li
51a65dca49 fix conflicts 2024-08-13 11:45:48 +08:00
Kruglov Pavel
01b2e67f2e
Merge branch 'master' into json-data-type 2024-08-12 23:32:35 +02:00
Michael Kolupaev
15ca86db7a Merge remote-tracking branch 'origin/master' into mv4 2024-08-12 21:17:45 +00:00
avogar
03182c7a8f Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-dynamic 2024-08-12 20:29:24 +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
Shaun Struwig
aa7a2bcb02
Fix typo 2024-08-12 20:34:02 +02:00
jsc0218
38405dd7cd add projection merge doc 2024-08-12 18:14:22 +00:00
Robert Schulze
c22265b889
Some fixups 2024-08-12 17:45:38 +00:00
Robert Schulze
fe537045c9
Merge remote-tracking branch 'ClickHouse/master' into query_cache_tag 2024-08-12 16:16:32 +00:00
avogar
cfd854882b Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-12 15:57:57 +00:00
marco-vb
2068fbb157 Added support for single wildcard usage in x509 SubjectAltName user identification (both DNS and URI). 2024-08-12 15:39:52 +00: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
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
Kruglov Pavel
bba4a90a9c
Merge branch 'master' into better-dynamic 2024-08-12 17:28:09 +02: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
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
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
divanik
61e616204e Docs correct typos 2024-08-12 14:21:42 +00:00
Peter Nguyen
c817a4e8ad
Update settings.md to clarify create_if_not_exists behavior
Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
2024-08-12 07:45:51 -06:00
divanik
58dd01d8b6 Add docs 2024-08-12 13:45:00 +00:00
avogar
9296d4ecfb Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-12 11:55:39 +00:00
Yarik Briukhovetskyi
8bc89ac8df
Merge branch 'master' into hive_style_partitioning 2024-08-12 11:44:45 +02:00
Robert Schulze
574c445be9
Refactor tests for (experimental) statistics 2024-08-12 05:56:16 +00:00
sakulali
957a0b6ea4 Add a setting query_cache_tag 2024-08-12 08:40:01 +08:00
Peter Nguyen
2af1134c08 Update settings.md docs with new create_if_not_exists settings 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
Vladimir Varankin
d314e5aa45
typos in prometheus.md 2024-08-11 18:37:29 +02:00
Alexander Tokmakov
53bc1b7e35
Revert "Refactor tests for (experimental) statistics" 2024-08-11 13:19:36 +02:00
Robert Schulze
f7e7a884b5
Merge pull request #67962 from Blargian/docs_toDecimalXYZ
Docs:`toDecimal32/64/128/256` and variants
2024-08-11 09:23:40 +00: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
Blargian
e582118544 review changes 2024-08-10 13:09:40 +02:00
Alexey Milovidov
3e43cbe791
Merge branch 'master' into variant_inference 2024-08-09 23:37:27 +02: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
Nikita Taranov
ffa1371dde Merge branch 'master' into keep_alive_max_reqs 2024-08-09 12:24:45 +01:00
Yarik Briukhovetskyi
aebb07884b
Merge branch 'master' into hive_style_partitioning 2024-08-09 11:53:14 +02:00
Robert Schulze
9b94bbc87e
Merge remote-tracking branch 'ClickHouse/master' into stats-tests-refactoring 2024-08-09 07:54:35 +00: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
89ea89ad67
Merge pull request #67885 from canhld94/drop_detached_partition_all
Support DROP DETACHED PARTITION ALL
2024-08-09 05:20:55 +00:00
Justin de Guzman
0071765138
Merge pull request #67940 from ClickHouse/prometheus-documentation
Add documentation for Prometheus protocols and TimeSeries engine.
2024-08-09 01:03:26 +00:00
pufit
99fbef3340
Merge branch 'master' into pufit/fuzz-query-revert-revert 2024-08-08 20:12:23 -04:00
justindeguzman
eb4ea07577 [Docs] Fix broken links 2024-08-08 16:55:39 -07:00
Yarik Briukhovetskyi
0ad6aa09ac
fix style 2024-08-08 22:51:27 +02:00
Yarik Briukhovetskyi
e9659626ad
fix style + add docs 2024-08-08 20:41:15 +02: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
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
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