JackyWoo
e3caa6f096
some fixes
2022-09-13 21:21:35 +08:00
Kruglov Pavel
17621b5607
Merge branch 'master' into fix-totals-extremes
2022-09-13 14:36:31 +02:00
Mikhail Filimonov
d2d8c179b6
Add unreserved_space column to system.disks
2022-09-13 13:16:18 +02:00
Robert Schulze
fac1be9700
chore: restore SYSTEM RELOAD MODEL(S) and moniting view SYSTEM.MODELS
...
- This commit restores statements "SYSTEM RELOAD MODEL(S)" which provide
a mechanism to update a model explicitly. It also saves potentially
unnecessary reloads of a model from disk after it's initial load.
To keep the complexity low, the semantics of "SYSTEM RELOAD MODEL(S)
was changed from eager to lazy. This means that both statements
previously immedately reloaded the specified/all models, whereas now
the statements only trigger an unload and the first call to
catboostEvaluate() does the actual load.
- Monitoring view SYSTEM.MODELS is also restored but with some obsolete
fields removed. The view was not documented in the past and for now it
remains undocumented. The commit is thus not considered a breach of
ClickHouse's public interface.
2022-09-12 19:33:02 +00:00
Kruglov Pavel
060adfbe93
Merge branch 'master' into new-json-formats
2022-09-12 19:37:46 +02:00
DanRoscigno
a3826c4b3f
move title to frontmatter
2022-09-12 13:27:52 -04:00
avogar
8ac2fc7b26
Don't outout totals/extremes in all row formats, update docs
2022-09-12 17:21:40 +00:00
Sergei Trifonov
fe88a7991d
Merge branch 'master' into readonly-settings-allow
2022-09-12 16:20:40 +02:00
Roman Vasin
bc2c2130fc
Add documentation for enable_date32_results option
2022-09-12 09:09:01 +00:00
Rich Raposa
b9e9d776f0
Update delete.md
2022-09-09 15:55:57 -06:00
rfraposa
4af246a2e0
Feedback
2022-09-09 13:59:21 -06:00
Aleksandr
503398ac96
Merge branch 'master' into docs_table_function_update
2022-09-09 20:54:28 +02:00
Rich Raposa
9870957621
Update docs/en/sql-reference/statements/delete.md
...
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2022-09-09 12:16:54 -06:00
Rich Raposa
50789126a8
Update docs/en/sql-reference/statements/delete.md
...
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2022-09-09 12:15:59 -06:00
Rich Raposa
34c2c4bb52
Merge branch 'master' into lightweight-delete
2022-09-09 12:13:51 -06:00
Nikolay Degterinsky
6dcaa9f14d
Merge pull request #41106 from vincentbernat/fix/docs-sync
...
docs: mention SYNC modifier for DROP and DETACH statements
2022-09-09 20:12:47 +02:00
avogar
9abc6a9c3f
Fix typos
2022-09-09 15:10:00 +00:00
DanRoscigno
afe3717761
move title to frontmatter to allow inclusion in other docs
2022-09-09 08:34:42 -04:00
avogar
ae7f9abd32
Add documentation
2022-09-09 12:04:49 +00:00
Sergei Trifonov
76eb001e78
add test for changeable_in_readonly + fix SQL in docs
2022-09-09 14:01:29 +02:00
rfraposa
18f5b5e5b0
Add docs for lightweight deletes
2022-09-08 16:05:56 -06:00
Alexey Milovidov
4d7097f47a
Merge pull request #41080 from kssenii/add-documentation-for-cache
...
Add documentation for filesystem cache
2022-09-09 00:03:16 +03:00
Alexey Milovidov
9199656175
Merge pull request #41082 from peter279k/remove_strange_train
...
Remove strange release trains
2022-09-09 00:01:35 +03:00
Denny Crane
132727d212
Doc. Fix links.
2022-09-08 14:37:42 -03:00
Sergei Trifonov
f92b6a6176
Merge branch 'master' into readonly-settings-allow
2022-09-08 17:44:32 +02:00
Alexey Milovidov
928c1cd0d4
Merge pull request #40967 from ClickHouse/alexey-milovidov-patch-4
...
Update tips.md about filesystems
2022-09-08 16:56:27 +03:00
Vincent Bernat
fab1b40928
docs: mention SYNC modifier for DROP and DETACH statements
2022-09-08 15:21:59 +02:00
Kseniia Sumarokova
7f086a94a7
Update storing-data.md
2022-09-08 12:34:58 +02:00
Vladimir C
90647cb0c5
Merge pull request #39970 from SachinSetiya/majority_quorum
...
Add majority_insert_quorum setting
2022-09-08 11:31:33 +02:00
Robert Schulze
c16707ff00
chore: delete obsolete modelEvaluate() function + SYSTEM.MODELS view
...
- The deleted function modelEvaluate() was superseded by
catboostEvaluate().
- Also delete the external model repository, as modelEvaluate() was it's
last user. Additionally remove the system view SYSTEM.MODELS for
inspecting the repository.
- SYSTEM RELOAD MODELS is also obsolete. HOWEVER, it was retained and
made a no-op instead of deleted.
Why?
The reason is that RBAC in distributed setups works by storing
privileges (granted and revoked) as plain SQL statements in Keeper.
Nodes read these statements at startup and parse them. If a privilege
for SYSTEM RELOAD MODELS exists but parser doesn't recognize it
nodes would fail to come up.
Considered but rejected alternatives:
- Ignore SYSTEM RELOAD MODELS during parsing RBAC privileges and
return an error for regular SYSTEM RELOAD MODELS SQL. Special-case
of no-op behavior, too brittle.
- Remove SYSTEM RELOAD MODELS manually from Keeper via command-line
manipulation of Keeper nodes or via SQL by dropping the privileges.
Needs user intervention during upgrade.
2022-09-08 09:10:11 +00:00
Robert Schulze
60f9f6855d
feat: implement catboost in library-bridge
...
This commit moves the catboost model evaluation out of the server
process into the library-bridge binary. This serves two goals: On the
one hand, crashes / memory corruptions of the catboost library no longer
affect the server. On the other hand, we can forbid loading dynamic
libraries in the server (catboost was the last consumer of this
functionality), thus improving security.
SQL syntax:
SELECT
catboostEvaluate('/path/to/model.bin', FEAT_1, ..., FEAT_N) > 0 AS prediction,
ACTION AS target
FROM amazon_train
LIMIT 10
Required configuration:
<catboost_lib_path>/path/to/libcatboostmodel.so</catboost_lib_path>
*** Implementation Details ***
The internal protocol between the server and the library-bridge is
simple:
- HTTP GET on path "/extdict_ping":
A ping, used during the handshake to check if the library-bridge runs.
- HTTP POST on path "extdict_request"
(1) Send a "catboost_GetTreeCount" request from the server to the
bridge, containing a library path (e.g /home/user/libcatboost.so) and
a model path (e.g. /home/user/model.bin). Rirst, this unloads the
catboost library handler associated to the model path (if it was
loaded), then loads the catboost library handler associated to the
model path, then executes GetTreeCount() on the library handler and
finally sends the result back to the server. Step (1) is called once
by the server from FunctionCatBoostEvaluate::getReturnTypeImpl(). The
library path handler is unloaded in the beginning because it contains
state which may no longer be valid if the user runs
catboost("/path/to/model.bin", ...) more than once and if "model.bin"
was updated in between.
(2) Send "catboost_Evaluate" from the server to the bridge, containing
the model path and the features to run the interference on. Step (2)
is called multiple times (once per chunk) by the server from function
FunctionCatBoostEvaluate::executeImpl(). The library handler for the
given model path is expected to be already loaded by Step (1).
Fixes #27870
2022-09-08 09:01:32 +00:00
Alexey Milovidov
9544b8fdd6
Merge pull request #40996 from ClickHouse/vdimir/issue-40994
...
Minor update doc for mysql_port
2022-09-08 02:39:12 +03:00
Alexey Milovidov
84a00e3992
Merge pull request #41087 from peter279k/improve_clickhouse_start
...
Improve clickhouse start command
2022-09-08 02:35:02 +03:00
Kseniia Sumarokova
eb53df48d1
Update storing-data.md
2022-09-07 22:26:52 +02:00
Kseniia Sumarokova
3af51f4340
Update storing-data.md
2022-09-07 22:21:46 +02:00
Denny Crane
a75eb5ad84
Update date-time-functions.md
2022-09-07 15:59:23 -03:00
Denny Crane
0071ef9e38
Update date-time-functions.md
2022-09-07 15:56:31 -03:00
peter279k
945299de99
Remove strange release trains
2022-09-08 01:24:12 +08:00
peter279k
1ae54d3d16
Improve clickhouse start command
2022-09-08 01:18:27 +08:00
Kseniia Sumarokova
4cb07bd48d
Merge branch 'master' into add-documentation-for-cache
2022-09-07 17:52:53 +02:00
Kseniia Sumarokova
6f06633df6
Update storing-data.md
2022-09-07 13:59:39 +02:00
vdimir
000ba8a60d
Use insert_qurum = auto instead of majority_insert_quorum
2022-09-07 11:19:27 +00:00
Sachin
ade4337978
Add majority_insert_quorum setting
...
majority_insert_quorum is defined as (number_of_replicas/2)+1. Insert
will be successful only if majority of quorum have applied it. If
insert_quorum and majority_insert_quorum both are specified, max of
both will be used.
2022-09-07 11:19:24 +00:00
kssenii
613c688331
Add documentation for cache
2022-09-07 13:12:19 +02:00
peter279k
b716988991
Remove non-existed released trains
2022-09-07 18:39:38 +08:00
DanRoscigno
3073da9ba5
move doc
2022-09-06 18:39:06 -04:00
Sergei Trifonov
2a55741dcb
Merge branch 'master' into readonly-settings-allow
2022-09-06 20:29:41 +02:00
DanRoscigno
7032a1b267
move title to frontmatter
2022-09-06 11:14:55 -04:00
Sergei Trifonov
6217559175
Merge branch 'master' into readonly-settings-allow
2022-09-06 16:10:48 +02:00
Filatenkov Artur
7949b3fb74
Merge branch 'master' into annoy
2022-09-06 11:23:15 +03:00
FArthur-cmd
7f311ad03c
add words about setting to docs
2022-09-05 13:20:49 +00:00
Kruglov Pavel
582216a3ca
Merge pull request #39919 from pzhdfy/UniqSketch
...
UniqThetaSketch support set operation such as union/intersect/not
2022-09-05 13:42:14 +02:00
Vladimir C
8c3c3e7667
Minor update doc for mysql_port
2022-09-05 12:39:39 +02:00
Antonio Andelic
3a0581e990
Merge pull request #40543 from Lloyd-Pottiger/feat/support-read-only-for-embeddedrocksdb
...
Add read-only support for EmbeddedRocksDB
2022-09-05 09:31:07 +02:00
Alexey Milovidov
8ea7b9c978
Merge pull request #40980 from ClickHouse/alexey-milovidov-patch-5
...
Update replicated.md
2022-09-05 03:18:25 +03:00
Alexey Milovidov
f8e72eb7cb
Update replicated.md
2022-09-05 01:02:42 +03:00
Alexey Milovidov
053a2186b5
Update replicated.md
2022-09-05 01:01:23 +03:00
Alexey Milovidov
6a7593ec53
Merge branch 'master' into alexey-milovidov-patch-4
2022-09-04 20:30:15 +03:00
Alexey Milovidov
deeaea004d
Merge pull request #40295 from cyber-moon/patch-1
...
Add description of {condition}-keyword
2022-09-04 04:57:30 +03:00
Alexey Milovidov
7c3c367e01
Update tips.md
2022-09-04 04:18:57 +03:00
Alexey Milovidov
001733b6d0
Merge pull request #40921 from FrankChen021/mac_doc
...
Update doc about building on macOS
2022-09-04 04:05:34 +03:00
Alexey Milovidov
46f40c0c41
Merge pull request #40949 from AVMusorin/doc_generate_random_fix
...
Doc. optional params for GenerateRandom table
2022-09-04 03:54:51 +03:00
Alexey Milovidov
1963baa11e
Merge pull request #40964 from ClickHouse/fix-docs-formatting
...
Fix formatting of notes box in documentation
2022-09-04 03:39:39 +03:00
Denny Crane
dd19b0856e
Doc. mapApply, mapFilter, mapUpdate ( #40961 )
...
* Update tuple-map-functions.md
* Update tuple-map-functions.md
2022-09-04 00:43:39 +02:00
Denny Crane
f2de8ff8ff
Doc. commpressions http.md ( #40959 )
2022-09-04 00:42:47 +02:00
Robert Schulze
385427ade8
Fix formatting of notes box in documentation
...
Follow-up to PR #38435
2022-09-03 17:25:14 +00:00
Robert Schulze
5cff329439
Merge branch 'master' into typo-role-grants
2022-09-03 18:32:41 +02:00
Alexey Milovidov
1768a82a53
git checkout c4b8137d31
docs/en/getting-started/example-datasets/uk-price-paid.md
2022-09-03 06:45:18 +02:00
Aleksandr Musorin
69b9d34b10
docs. optional params for GenerateRandom table
2022-09-02 17:25:10 +02:00
Sergei Trifonov
005b2588d8
Merge branch 'master' into readonly-settings-allow
2022-09-02 16:37:43 +02:00
Sergei Trifonov
014d109175
fix build, fix docs, fix comments, logical fixes, test are still to be fixed and new test are to be added
2022-09-02 16:20:09 +02:00
Frank Chen
0f3003e37b
Add ccache brew install
list
2022-09-02 16:01:31 +02:00
Robert Schulze
53836bbeeb
Fix typo
...
The system view is called 'role*_*grants', documented on page
'role*-*grants.md'.
2022-09-02 12:49:50 +00:00
Lloyd-Pottiger
5a6b2106b5
Merge branch 'master' of github.com:ClickHouse/ClickHouse into feat/support-read-only-for-embeddedrocksdb
2022-09-02 18:10:00 +08:00
Lloyd-Pottiger
59dccd6e49
fix test
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-09-02 11:14:49 +08:00
DanRoscigno
6efd07cbc8
correct statement
2022-09-01 20:32:06 -04:00
DanRoscigno
662eed214f
correct statements
2022-09-01 20:28:25 -04:00
Dan Roscigno
a733381821
Merge branch 'master' into update-nav
2022-09-01 16:56:43 -04:00
DanRoscigno
3e9225aafa
move title to frontmatter, remove orig article link
2022-09-01 12:24:03 -04:00
Ivan Blinkov
a947487afe
[docs] fix link markdown
2022-09-01 18:16:13 +03:00
Александр
97e55ca2f5
Merge branch 'master' into docs_table_function_update
2022-09-01 14:01:32 +02:00
Dan Roscigno
29ac78a92b
Update uk price paid ( #40828 )
2022-09-01 13:32:33 +02:00
Fangyuan Deng
bc7d661668
Merge branch 'master' into UniqSketch
2022-09-01 19:31:53 +08:00
Denny Crane
e3af5a7a11
Doc. Added ON CLUSTER cluster in couple places ( #40874 )
2022-09-01 13:31:22 +02:00
pzhdfy
acec516271
add docs
2022-09-01 19:31:01 +08:00
Aleksandr Musorin
310e1484f6
docs - updated optional parameters for table functions
2022-09-01 13:28:56 +02:00
MaceWindu
21ab72365a
Update integrations.md
...
Add linq2db to list of third-party libraries
2022-09-01 11:39:27 +02:00
Robert Schulze
56eece40ec
Merge pull request #40736 from LevyCory/add-offset-to-formatDateTime
...
Add timezone offset support to `formatDateTime`
2022-09-01 09:50:17 +02:00
Robert Schulze
912663b719
Revert "Move CatBoost evaluation into clickhouse-library-bridge"
2022-08-31 20:54:43 +02:00
Robert Schulze
ca01286028
Merge pull request #39629 from ClickHouse/catboost-bridge
...
Move CatBoost evaluation into clickhouse-library-bridge
2022-08-31 16:16:11 +02:00
DanRoscigno
50f9b12af8
review feedback
2022-08-31 09:12:48 -04:00
Dan Roscigno
ddac1b3f11
Merge pull request #40560 from DanRoscigno/add-backup
...
Add backup restore docs
2022-08-31 08:19:00 -04:00
Robert Schulze
40468d3304
Fix typo in docs
2022-08-30 20:45:31 +00:00
FArthur-cmd
e7abc06c89
Revert "Revert "Add Annoy index""
...
This reverts commit 6fdfb964d0
.
2022-08-30 15:26:56 +00:00
Denny Crane
0d7cc82267
Update string-functions.md
2022-08-30 11:08:23 -03:00
DanRoscigno
f72b341e8b
add status info
2022-08-30 09:34:08 -04:00
Alexander Tokmakov
6fdfb964d0
Revert "Add Annoy index"
2022-08-30 15:10:10 +03:00
Andrey Zvonov
93f9abf130
upd2
2022-08-30 14:41:40 +03:00
Andrey Zvonov
14adea8792
fix error in docs
2022-08-30 14:40:26 +03:00
Kseniia Sumarokova
c88db2ef97
Merge pull request #40751 from kssenii/fix-mysql-timeouts
...
Fix issue with mysql db / table function timeouts
2022-08-30 11:59:01 +02:00
Robert Schulze
cc4225109f
Merge pull request #37215 from Vector-Similarity-Search-for-ClickHouse/annoy-2
...
Test failures are unrelated, merging.
2022-08-30 09:25:57 +02:00
DanRoscigno
d712a91a20
add alternatives
2022-08-29 19:36:20 -04:00
DanRoscigno
0abeebd3ca
updated with dev help
2022-08-29 19:29:10 -04:00
Alexey Milovidov
0190c56faf
Merge pull request #40770 from den-crane/patch-40
...
Doc. Fix cache dictionaries doc.
2022-08-30 02:19:32 +03:00
DanRoscigno
3a65d58c13
updated with dev help
2022-08-29 18:33:26 -04:00
Cory Levy
1e2eee7146
Remove unnecessary backslashes in markdown sql blocks
2022-08-29 16:31:31 -04:00
Robert Schulze
64a6aa328e
fix: broken links in documentation (hopefully)
2022-08-29 20:27:06 +00:00
Robert Schulze
6b2b3c1eb3
feat: implement catboost in library-bridge
...
This commit moves the catboost model evaluation out of the server
process into the library-bridge binary. This serves two goals: On the
one hand, crashes / memory corruptions of the catboost library no longer
affect the server. On the other hand, we can forbid loading dynamic
libraries in the server (catboost was the last consumer of this
functionality), thus improving security.
SQL syntax:
SELECT
catboostEvaluate('/path/to/model.bin', FEAT_1, ..., FEAT_N) > 0 AS prediction,
ACTION AS target
FROM amazon_train
LIMIT 10
Required configuration:
<catboost_lib_path>/path/to/libcatboostmodel.so</catboost_lib_path>
*** Implementation Details ***
The internal protocol between the server and the library-bridge is
simple:
- HTTP GET on path "/extdict_ping":
A ping, used during the handshake to check if the library-bridge runs.
- HTTP POST on path "extdict_request"
(1) Send a "catboost_GetTreeCount" request from the server to the
bridge, containing a library path (e.g /home/user/libcatboost.so) and
a model path (e.g. /home/user/model.bin). Rirst, this unloads the
catboost library handler associated to the model path (if it was
loaded), then loads the catboost library handler associated to the
model path, then executes GetTreeCount() on the library handler and
finally sends the result back to the server. Step (1) is called once
by the server from FunctionCatBoostEvaluate::getReturnTypeImpl(). The
library path handler is unloaded in the beginning because it contains
state which may no longer be valid if the user runs
catboost("/path/to/model.bin", ...) more than once and if "model.bin"
was updated in between.
(2) Send "catboost_Evaluate" from the server to the bridge, containing
the model path and the features to run the interference on. Step (2)
is called multiple times (once per chunk) by the server from function
FunctionCatBoostEvaluate::executeImpl(). The library handler for the
given model path is expected to be already loaded by Step (1).
Fixes #27870
2022-08-29 20:26:45 +00:00
Dan Roscigno
76a45aa750
Merge branch 'master' into add-backup
2022-08-29 16:23:53 -04:00
Denny Crane
fe0f18f21d
Update external-dicts-dict-layout.md
2022-08-29 15:19:15 -03:00
Kseniia Sumarokova
c5c48e44ea
Merge branch 'master' into fix-mysql-timeouts
2022-08-29 19:33:29 +02:00
DanRoscigno
76a3212fc8
replace symlinks
2022-08-29 12:26:17 -04:00
DanRoscigno
c4b8137d31
replace symlinks
2022-08-29 12:19:50 -04:00
Filatenkov Artur
d73f661732
Merge branch 'master' into annoy-2
2022-08-29 17:33:13 +03:00
kssenii
0a6c4b9265
Fix
2022-08-29 16:20:53 +02:00
Sergei Trifonov
899bf99d44
Merge branch 'master' into readonly-settings-allow
2022-08-29 14:35:05 +02:00
alesapin
7ce0afc0df
Merge pull request #40670 from Avogar/kafka
...
Add setting to disable limit on kafka_num_consumers
2022-08-29 10:53:35 +02:00
Cory Levy
deb2a97020
Add docs
2022-08-28 22:28:34 -04:00
DanRoscigno
b50fa8b5a9
replace symlinks
2022-08-28 17:34:50 -04:00
Dan Roscigno
96cd94196e
Merge branch 'ClickHouse:master' into add-more-slugs
2022-08-28 12:06:37 -04:00
DanRoscigno
fad2e071eb
replace symlinks with includes
2022-08-28 11:58:59 -04:00
DanRoscigno
5d1e3ee4d8
remove duplicate
2022-08-28 11:04:51 -04:00
DanRoscigno
5b5fcc56aa
add slugs
2022-08-28 10:53:34 -04:00
Alexey Milovidov
ddff5e9145
Merge pull request #40712 from ClickHouse/ci-cmake-self-extractable
...
cmake: Disable default ENABLE_CLICKHOUSE_SELF_EXTRACTING
2022-08-28 17:12:19 +03:00
DanRoscigno
db1a3b717c
add slugs
2022-08-28 09:58:27 -04:00
DanRoscigno
c4caa35cfd
add frontmatter dashes
2022-08-28 09:53:52 -04:00
Robert Schulze
df934d8762
Merge pull request #40217 from zvonand/zvonand-minmax
...
Fix conversion Date32 / DateTime64 / Date to narrow types
2022-08-28 09:42:39 +02:00
Yakov Olkhovskiy
d96f32d655
Update developer-instruction.md
2022-08-27 23:46:09 -04:00
Alexey Milovidov
6e564b18bf
Merge pull request #40600 from FrankChen021/check_url_arg
...
Validate the CompressionMethod parameter of URL table engine
2022-08-27 19:29:55 +03:00
Alexey Milovidov
859defa687
Merge pull request #40680 from DanRoscigno/add-slugs-everywhere
...
Add slugs everywhere
2022-08-27 00:05:22 +03:00
Mikhail f. Shiryaev
12bbc4a276
Merge pull request #40681 from ClickHouse/obsolete-tgz
...
Fix clickhouse-server doinst.sh
2022-08-26 22:04:34 +02:00
DanRoscigno
79f8e1c03c
add slugs to all docs
2022-08-26 15:49:26 -04:00
Sergei Trifonov
c5d1bbf680
reimplement with <allow> tag
2022-08-26 21:20:00 +02:00
Mikhail f. Shiryaev
3f967b1822
Fix _includes/install/tgz.sh script for linux
2022-08-26 20:57:38 +02:00
Alexey Milovidov
eac54c0375
Merge pull request #40671 from vmihailenco/chore/uptrace
...
chore: add Uptrace tool and go-clickhouse client
2022-08-26 21:11:16 +03:00
FArthur-cmd
f3d0083e57
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into annoy-2
2022-08-26 13:53:53 +00:00
Vladimir Mihailenco
d23d42251f
chore: add Uptrace tool and go-clickhouse client
2022-08-26 16:04:33 +03:00
avogar
e31bba7731
Add docs
2022-08-26 12:52:15 +00:00
Peignon Melvyn
18c75d8ca9
Update settings.md
...
Fix according to: aaafb797c0/src/Core/Settings.h (L586)
2022-08-26 12:27:16 +02:00
Lloyd-Pottiger
0d33327eda
Merge branch 'master' into feat/support-read-only-for-embeddedrocksdb
2022-08-26 15:36:21 +08:00
DanRoscigno
ad56971e61
add text
2022-08-25 16:25:39 -04:00
Dan Roscigno
c9dea66f8d
Merge pull request #38308 from DanRoscigno/38284-add-grouping-function-docs
...
38284 add grouping function docs
2022-08-25 16:03:31 -04:00
DanRoscigno
5847c5cdbd
reducing samples
2022-08-25 15:46:48 -04:00
Alexey Milovidov
64b8b8294d
Update grouping_function.md
2022-08-25 22:01:13 +03:00
Sergei Trifonov
6af43e7676
Merge branch 'master' into readonly-settings-allow
2022-08-25 17:27:03 +02:00
Sergei Trifonov
856a2f5956
Allow to modify constrained settings in readonly mode
2022-08-25 17:24:24 +02:00
Frank Chen
6f8af95e34
Update doc
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-08-25 14:49:43 +08:00
Lloyd-Pottiger
9d7ace3286
Merge branch 'master' into feat/support-read-only-for-embeddedrocksdb
2022-08-24 23:52:34 +08:00
Dan Roscigno
9972e758e4
Merge branch 'master' into add-backup
2022-08-23 21:20:53 -04:00
DanRoscigno
7bc08900ec
added config for backup dest
2022-08-23 21:13:40 -04:00
DanRoscigno
cf2a6dab32
add selects
2022-08-23 20:43:09 -04:00
DanRoscigno
e617532d40
wip
2022-08-23 19:16:15 -04:00
zvonand
6ad02fd687
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-minmax
2022-08-24 01:12:38 +03:00
zvonand
e257f9d0cd
update docs, tests + small fixes
2022-08-24 01:09:14 +03:00
zvonand
a9fd733871
updated docs
2022-08-24 01:09:14 +03:00
Andrey Zvonov
f40bd2194f
Update docs/en/sql-reference/functions/date-time-functions.md
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-08-23 23:42:19 +03:00
Andrey Zvonov
b54a04d48f
Update docs/en/sql-reference/functions/date-time-functions.md
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-08-23 23:42:01 +03:00
Andrey Zvonov
6c1fa6844f
Update docs/en/sql-reference/functions/date-time-functions.md
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-08-23 23:41:19 +03:00
Andrey Zvonov
946223df20
Update docs/en/sql-reference/functions/date-time-functions.md
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-08-23 23:41:01 +03:00
Andrey Zvonov
e4f00e2f15
Update docs 1
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-08-23 23:40:34 +03:00
Denny Crane
add65a17e7
Update index.md
2022-08-23 15:02:44 -03:00
Denny Crane
a790725bea
Update index.md
2022-08-23 14:35:33 -03:00
Denny Crane
f93bb53c1f
Update index.md
2022-08-23 14:32:56 -03:00
Andrey Zvonov
52159b77d0
Merge branch 'master' into zvonand-minmax
2022-08-23 17:18:57 +03:00
Lloyd-Pottiger
ac3cf0beb4
add read_only option
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-23 20:58:57 +08:00
Kseniia Sumarokova
7acad11b90
Merge pull request #40504 from den-crane/patch-38
...
Doc. Example named-collections + clickhouse database
2022-08-23 10:51:02 +02:00
Antonio Andelic
a87a762b0c
Merge pull request #39973 from ClickHouse/keeper-listen-host
...
Support `interserver_listen_host` in Keeper
2022-08-23 09:03:08 +02:00
Antonio Andelic
0765495be1
Merge pull request #39986 from Lloyd-Pottiger/feat/support-ttl-for-embeddedrocksdb
...
Support TTL for EmbeddedRocksDB
2022-08-23 08:27:47 +02:00
Denny Crane
e6912c86b9
Update named-collections.md
2022-08-22 19:36:01 -03:00
Denny Crane
7428193a82
Update named-collections.md
2022-08-22 19:17:39 -03:00
FArthur-cmd
9222e41a5b
add test and docs
2022-08-22 19:00:20 +00:00
Lloyd-Pottiger
85a1a36167
remove read_only option
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-22 23:31:55 +08:00
zvonand
d789dabc9d
Fixed , updated docs
2022-08-22 17:36:56 +03:00
zvonand
963d838647
updated docs
2022-08-22 17:36:56 +03:00
Alexey Milovidov
766a3a0e11
Merge pull request #40473 from den-crane/patch-37
...
Doc. Some notes about insert deduplication
2022-08-22 02:52:36 +03:00
Alexey Milovidov
1a5e08fb65
Update settings.md
2022-08-22 02:19:18 +03:00
Denny Crane
6e329686b8
Update settings.md
2022-08-21 19:31:46 -03:00
Denny Crane
dc40e4b935
Update merge-tree-settings.md
2022-08-21 17:30:13 -03:00
Denny Crane
069e2cf4a0
Update settings.md
2022-08-21 17:27:47 -03:00
Denny Crane
244b7aa118
Update merge-tree-settings.md
2022-08-21 17:17:06 -03:00
Denny Crane
b6329293a9
Update date-time-functions.md
2022-08-21 16:45:13 -03:00
Denny Crane
c926d04c21
Update date-time-functions.md
2022-08-21 16:42:40 -03:00
Antonio Andelic
af02c76a3c
Merge branch 'master' into keeper-listen-host
2022-08-21 18:43:55 +02:00
Alexey Milovidov
34a07a5db0
Update datetime64.md
2022-08-21 17:22:40 +03:00
FArthur-cmd
1e8910f048
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into annoy-2
2022-08-21 08:45:03 +00:00
Denny Crane
54374e22e6
Update date-time-functions.md
2022-08-19 15:09:40 -03:00
Alexey Milovidov
5f4d4fd878
Merge pull request #40362 from den-crane/patch-33
...
Doc. ReplacingMergeTree Example
2022-08-19 15:52:40 +03:00
Alexey Milovidov
b6388583b3
Merge pull request #40366 from DanRoscigno/update-zero-copy-replication
...
update for setting change
2022-08-19 15:48:35 +03:00
Sergei Trifonov
7c18d5b34f
Merge pull request #40348 from ClickHouse/threads-soft-limit-rename
...
split concurrent_threads_soft_limit setting into two
2022-08-19 13:39:32 +02:00
Robert Schulze
24615059fb
Merge pull request #40319 from ClickHouse/custom-error-code-in-throwif
...
Allow custom error code in throwIf
2022-08-19 09:49:35 +02:00
DanRoscigno
23b054617e
update for setting change
2022-08-18 16:05:44 -04:00
Denny Crane
01a1aa8518
Update replacingmergetree.md
2022-08-18 16:35:54 -03:00
Denny Crane
e653583e87
Update replacingmergetree.md
2022-08-18 16:29:06 -03:00
Sergei Trifonov
2262717a1b
Merge branch 'master' into threads-soft-limit-rename
2022-08-18 19:32:53 +02:00
Jonathan-Ackerman
22bd572d78
Update docs for max_replica_delay_for_distributed_queries ( #40174 )
...
A replica is unusable if its lag is greater than or equal to the
value of max_replica_delay_for_distributed_queries. However, the
current documentation says that a replica is only unusable if it lags
more than the set value.
Also, when the value of max_replica_delay_for_distributed_queries
is read, if it is 0, then a replica is considered up to date
right away without checking its delay. This behavior should be
documented.
2022-08-18 19:09:46 +02:00
Vladimir C
277310f4e7
Merge pull request #40345 from DanRoscigno/fix-replacingmergetree-doc-indent
...
fix indent
2022-08-18 17:27:21 +02:00
Sergei Trifonov
42a711015f
split concurrent_threads_soft_limit setting into two: concurrent_threads_soft_limit_{num,ratio_to_cores}
2022-08-18 14:51:08 +02:00
DanRoscigno
229f18766e
fix indent
2022-08-18 08:13:41 -04:00
Nikolai Kochetov
5a85531ef7
Merge pull request #38286 from Avogar/schema-inference-cache
...
Add schema inference cache for s3/hdfs/file/url
2022-08-18 13:07:50 +02:00
Kruglov Pavel
d7056376eb
Merge pull request #40068 from Avogar/schema-inference-hints
...
Allow to specify structure hints in schema inference
2022-08-18 12:19:45 +02:00
Lloyd-Pottiger
d9cfda905c
Merge branch 'master' into feat/support-ttl-for-embeddedrocksdb
2022-08-18 16:27:13 +08:00
Antonio Andelic
26b7117b6c
Merge branch 'master' into keeper-listen-host
2022-08-18 07:05:20 +00:00
546
0c11645867
update path in test.md
...
`lexer_fuzzer.cpp` path has changed.
2022-08-18 14:56:22 +08:00
Robert Schulze
f121941916
feat: allow custom error code for SQL function throwIf()
2022-08-17 21:14:40 +00:00
Nikita Taranov
ce89660432
Update "Queries with Parameter" docs ( #40317 )
...
* impl
* Update docs/en/interfaces/cli.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2022-08-17 22:31:50 +02:00
Lloyd-Pottiger
19c4385881
Merge branch 'master' into feat/support-ttl-for-embeddedrocksdb
2022-08-17 22:17:10 +08:00
Denny Crane
d5465d32e1
Update settings.md
2022-08-17 09:38:06 -03:00
Ramazan Polat
5a1ac13072
By default, enable_positional_arguments=1
2022-08-17 15:12:19 +03:00
avogar
8dd54c043d
Merge branch 'master' of github.com:ClickHouse/ClickHouse into schema-inference-cache
2022-08-17 11:47:40 +00:00
Stephan
5252d41fdb
Provide missing documentation for arrayWithConstant
...
Documentation of `arrayWithConstant(l, const)`-function, as this was not part of the documentation so far.
2022-08-17 13:21:03 +02:00
Stephan
9242c2adb4
Add description of {condition}-keyword
...
Using the {condition}-keyword for Dictionaries is supported since a few weeks (see https://github.com/ClickHouse/ClickHouse/issues/33746 ). This PR adds a corresponding documentation.
2022-08-17 11:56:48 +02:00
Antonio Andelic
105073ea7b
update docs
2022-08-17 09:31:16 +00:00
Rich Raposa
a3a124cc34
Added --ask-password option to documentation ( #40289 )
2022-08-17 00:20:10 +02:00
avogar
e1ff996ec3
Allow to specify structure hints in schema inference
2022-08-16 09:46:57 +00:00
Denny Crane
f574b49825
Update array-join.md
2022-08-15 16:45:07 -03:00
Denny Crane
f3b349fd18
Update array-join.md
2022-08-15 16:42:55 -03:00
Denny Crane
73f51a0f19
doc array-join
2022-08-15 16:40:48 -03:00
DanRoscigno
d47fa94ded
promote to H1 to fix case in title
2022-08-15 13:22:10 -04:00
DanRoscigno
71409f8f67
trying tags with Algolia
2022-08-15 11:08:46 -04:00
FArthur-cmd
1d048432a1
update contrib and update cmake
2022-08-15 14:35:51 +00:00
Dan Roscigno
d921935b80
Merge pull request #40235 from DanRoscigno/add-title-field-to-create-user
...
add title frontmatter to create/user
2022-08-15 09:31:23 -04:00
DanRoscigno
ced68e9298
add title frontmatter
2022-08-15 09:27:20 -04:00
avogar
c4ff3ffeea
Rename settings
2022-08-15 12:45:18 +00:00
Lorenzo Mangani
5f90de93e3
Update gui.md
2022-08-14 11:00:57 +02:00
Lorenzo Mangani
297e49ff6c
Add metrico applications (qryn, clickhouse-mate)
2022-08-14 10:53:51 +02:00
Alexey Milovidov
5d549a7583
Merge pull request #40182 from ClickHouse/minor-build-changes
...
Minor build changes
2022-08-13 22:48:01 +03:00
Alexey Milovidov
a6a51f4fb8
Minor build changes
2022-08-13 06:39:20 +02:00
Alexey Milovidov
2b7fe3dea3
Remove obsolete "build Debian package" instruction
2022-08-13 05:54:13 +03:00
Alexey Milovidov
fe544cd87c
Merge pull request #40150 from vsrsvas/patch-1
...
Update replicated.md
2022-08-13 05:03:05 +03:00
Alexey Milovidov
0dc183921f
Merge pull request #40172 from DanRoscigno/fix-note-in-mergetree-engine
...
fix note in mergetree engine doc
2022-08-12 22:39:52 +03:00
DanRoscigno
364088d47b
fix note
2022-08-12 14:40:09 -04:00
Igor Nikonov
5768e40ef7
Fix incorrect queries in example
...
Setting insert_deduplication_token: fix incorrect queries in example
2022-08-12 17:18:02 +02:00
vsrsvas
0a9c3c6e8b
Update replicated.md
2022-08-12 16:18:51 +05:30
Robert Schulze
55ff546322
Fix typo
2022-08-11 20:42:59 +00:00
Dan Roscigno
35ee71a908
Merge pull request #40110 from ClickHouse/fix-docs-for-39287
...
Fix documentation of "modulo(a, b)"
2022-08-11 16:14:28 -04:00
Robert Schulze
aa42a42e0f
Fix documentation of "modulo(a, b)"
...
Fixes #39287
ClickHouse uses the same semantics for modulo on floats as Python, i.e.
4.2 % 2.0 = 0.2
and not as previously documented:
4.2 % 2.0 --> (drop decimal places) --> 4 % 2 = 0.
Fixed the documentation.
2022-08-11 08:23:43 +00:00
Alexey Milovidov
8374f31306
Merge pull request #39425 from arenadata/ADQM-485
...
Add support of dates from year 1900 to 2299 for Date32 and DateTime64
2022-08-11 05:01:53 +03:00
DanRoscigno
b268e4206a
remove indent as it causes codeblock
2022-08-10 20:09:43 -04:00
Alexey Milovidov
53097b3d65
Merge pull request #40015 from tbragin/master
...
Add parseDateTime64BestEffortUS* functions
2022-08-10 20:00:50 +03:00
Lloyd-Pottiger
c5d81e160c
add functionality test
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-10 23:10:52 +08:00
Lloyd-Pottiger
5488a392ab
address comments
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-10 21:20:25 +08:00
FArthur-cmd
0ab937afbb
small update
2022-08-10 09:55:07 +00:00
Alexey Milovidov
26f3f56bc8
Merge pull request #40030 from ClickHouse/best-effort-func-cleanup
...
Cleanup docs of parseDateTime*() function family
2022-08-10 04:44:05 +03:00
Tanya Bragin
be51187f85
Update tests to use UTC, and docs to consistent order
2022-08-09 17:27:06 -07:00
Robert Schulze
76cc0cdc27
Remove redundancy in documentation of parseDateTimeBestEffortUS[OrNull|OrZero]()
...
The documentation of functions
- parseDateTimeBestEffortUS(),
- parseDateTimeBestEffortUSOrNull() and
- parseDateTimeBestEffortUSOrZero()
previously repeated the text of functions
- parseDateTimeBestEffort(),
- parseDateTimeBestEffortOrNull() and
- parseDateTimeBestEffortOrZero().
In the docs of the first function, the duplication was removed and we
now emphasize the difference to the non-US version more clearly.
The docs of the second and third functions were just stripped of the
duplication. Chinese docs did not mention the US-date variants, hence
nothing was changed in them.
2022-08-09 16:54:06 +00:00
Lloyd-Pottiger
7ecaf58981
revise docs
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-09 21:48:49 +08:00
Kruglov Pavel
99b9e85a8f
Merge pull request #39646 from Avogar/more-formats
...
Add more Pretty formats
2022-08-09 13:59:47 +02:00
Robert Schulze
7c59331e0e
Make examples for function 'parseDateTimeBestEffort()' less ambiguous
...
"12/12" and "12-12" could be interpreted as MM/DD or DD/MM and therefore
were not great examples.
2022-08-09 08:56:05 +00:00
Tanya Bragin
eb61db3b67
initial changes to close #37492
2022-08-08 19:45:00 -07:00
Robert Schulze
5a434577f6
Mention how the build can be speed up by disabling self-extraction
2022-08-08 13:01:32 +00:00
DanRoscigno
51928ebbac
add example
2022-08-05 13:23:53 -04:00
avogar
9b1a267203
Refactor, remove TTL, add size limit, add system table and system query
2022-08-05 16:20:15 +00:00
Alexey Milovidov
23353c376f
Update docs/en/sql-reference/aggregate-functions/grouping_function.md
...
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-08-05 07:17:50 +03:00
Denny Crane
3f4baa7658
Update mergetree.md
2022-08-04 23:49:19 -03:00
alesapin
29273d2bc1
Merge pull request #39847 from nityanandagohain/patch-1
...
Extra semicolon removed from the TTL example
2022-08-04 14:48:10 +02:00
nathanbegbie
b4c3ff0cef
typo: PostgerSQL -> PostgreSQL
2022-08-03 16:01:24 +03:00
nathanbegbie
de91875b5e
Revert "typo: PostgerSQL -> PostgreSQL"
...
This reverts commit fda8b113dc
.
2022-08-03 15:59:36 +03:00
nathanbegbie
fda8b113dc
typo: PostgerSQL -> PostgreSQL
2022-08-03 15:54:58 +03:00
Nityananda Gohain
0b82fb7816
Extra semicolon removed from the TTL example
...
This PR removes an extra semicolon from the TTL example.
2022-08-03 12:52:06 +05:30
Anton Popov
f94d4d4877
Merge branch 'master' into hash-functions-map
2022-08-02 13:26:54 +02:00
Nikolay Degterinsky
755a4c3ecf
Merge pull request #39794 from melvynator/patch-5
...
Update settings.md
2022-08-01 19:10:15 +02:00
Alexey Milovidov
3de747a6e2
Merge pull request #39746 from ClickHouse/cleanup-projection-setting
...
Cleanup usages of `allow_experimental_projection_optimization` setting, part 1
2022-08-01 19:21:30 +03:00
Anton Popov
2a841d0860
update docs for hash functions
2022-08-01 14:22:40 +00:00
Peignon Melvyn
a63fb07f54
Update settings.md
2022-08-01 16:20:33 +02:00
Ilya Yatsishin
c882bdc88e
Merge pull request #35968 from ClickHouse/interserver_listen_port
2022-08-01 13:57:17 +02:00
Robert Schulze
49a708ff29
Merge pull request #39596 from ClickHouse/move-woboq
...
Merge Woboq code browser page into "Getting Started" document
2022-08-01 13:44:33 +02:00
Kruglov Pavel
dfdfabec94
Merge pull request #39218 from evillique/file_default_value
...
Add default argument to the function `file`
2022-08-01 13:04:19 +02:00
Robert Schulze
c9e1364cd0
Temporarily restore Woboq pages
2022-08-01 08:39:22 +00:00
Alexey Milovidov
6a2f7d0c8f
Merge branch 'master' into interserver_listen_port
2022-07-31 22:51:38 +03:00
Robert Schulze
dd030c6b48
Add anchor
2022-07-31 13:01:35 +00:00
Robert Schulze
52d08d9db4
Merge pull request #39520 from ClickHouse/no-split-binary
...
Remove SPLIT_BINARY
2022-07-31 14:23:31 +02:00
Robert Schulze
9de69a021c
Fix documentation
2022-07-31 07:44:25 +00:00
Alexey Milovidov
f80a4c184e
Merge branch 'master' into interserver_listen_port
2022-07-31 01:22:32 +03:00
Alexey Milovidov
441f2feb49
Cleanup usages of allow_experimental_projection_optimization
setting, part 1
2022-07-30 23:40:21 +02:00
Robert Schulze
b52843d5fd
Merge pull request #37951 from zvonand/dt64_timeslots
...
Fix timeSlots for DateTime64
2022-07-30 20:49:05 +02:00
Alexey Milovidov
45d9bb5270
Update grouping_function.md
2022-07-30 05:27:28 +03:00
Alexey Milovidov
1ab7d68a99
Update grouping_function.md
2022-07-30 05:25:57 +03:00
Alexey Milovidov
99ccbd21f6
Update grouping_function.md
2022-07-30 05:25:31 +03:00
Alexey Milovidov
df627a3e4d
Merge pull request #39172 from ClickHouse/DanRoscigno-patch-2
...
Update performance-test.md
2022-07-30 05:23:14 +03:00
Rich Raposa
b08bdfcfc2
Update gui.md
...
Typo in clickcat description
2022-07-29 07:25:29 -06:00
Robert Schulze
3d1797f75f
Merge remote-tracking branch 'origin/master' into no-split-binary
2022-07-29 12:17:43 +00:00
qinghuan wang
4047a865cb
update clickcat
2022-07-29 10:26:21 +08:00
Robert Schulze
199e254777
Merge remote-tracking branch 'origin/master' into no-split-binary
2022-07-28 15:54:22 +00:00
Sergei Trifonov
4588e146a6
Merge pull request #37285 from arenadata/ADQM-445
...
Add concurrent_threads_soft_limit parameter
2022-07-28 11:46:43 +02:00
Roman Vasin
f35349eb08
Rename total_max_threads to concurrent_threads_soft_limit
2022-07-28 07:46:20 +00:00
Dan Roscigno
d3477e9b94
Merge pull request #38967 from kceventus/patch-2
...
Update any.md
2022-07-27 12:02:18 -04:00
Roman Vasin
37845389c8
Merge branch 'concurrency-control' of github.com:ClickHouse/ClickHouse into ADQM-445
2022-07-27 13:31:22 +00:00
Filatenkov Artur
a218597546
Merge branch 'master' into annoy-2
2022-07-27 15:37:58 +03:00
alesapin
2dfb547847
Merge pull request #39054 from SmitaRKulkarni/add-option-for-outfile-to-print-stdout
...
Add an option to INTO OUTFILE to also print details to standard output.
2022-07-27 13:51:38 +02:00
avogar
f925046dc4
Add more Pretty formats
2022-07-27 11:37:02 +00:00
Kruglov Pavel
381ea139c2
Merge branch 'master' into schema-inference-cache
2022-07-27 11:35:36 +02:00
Robert Schulze
7d653b3bd8
Merge pull request #39495 from ClickHouse/mark-qpl-deflate-experimental
...
Mark new codec DEFLATE_QPL as experimental + cosmetics
2022-07-26 19:00:21 +02:00
Dan Roscigno
54abeb624a
Merge pull request #39417 from nikoloko/patch-3
...
Corrected structure of the users section
2022-07-26 11:12:36 -04:00
Dan Roscigno
b9c8feb2b2
Merge pull request #39356 from nickitat/small_addition_to_docs
...
Small addition to mysql dictionary docs
2022-07-26 11:11:28 -04:00
Dan Roscigno
39d6327fe1
Update docs/en/sql-reference/aggregate-functions/reference/any.md
2022-07-26 11:10:16 -04:00
Vladimir C
3bd5ca9b6a
Merge pull request #39271 from vdimir/join-alg-setting
...
Cleanup logic around join_algorithm setting, add docs
2022-07-26 11:00:22 +02:00
Vladimir C
0d65415086
Update docs/en/operations/settings/settings.md
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-07-26 11:00:12 +02:00
Vladimir C
d0183de34a
Update docs/en/operations/settings/settings.md
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-07-26 11:00:08 +02:00
Robert Schulze
22219c4b7a
Merge Woboq code browser page into "Getting Started" document
...
There was too little information on the page to deserve a separate
document.
2022-07-26 07:54:03 +00:00
Alexey Milovidov
71060a7e8c
Merge pull request #39501 from ClickHouse/DanRoscigno-patch-3
...
update Grafana plugin in docs
2022-07-26 07:04:22 +03:00