Commit Graph

5145 Commits

Author SHA1 Message Date
Aliaksei Khatskevich
741757634f
Improve redis table function documentation 2024-01-04 09:22:39 +01:00
Aliaksei Khatskevich
02db6c6b2b
Fix postgresql table function arguments documentation 2024-01-04 09:22:39 +01:00
Robert Schulze
f652c6050c
Implement idnaEn/Decode() 2024-01-03 18:08:32 +00:00
Bhavna Jindal
62521d30ce fix style-check 2024-01-03 09:34:58 -08:00
Bhavna Jindal
8a7eaed07e Added additional testcases 2024-01-03 09:16:32 -08:00
Mark Needham
3125482631
Add output_format_decimal_trailing_zeros setting for trailing spaces 2024-01-03 14:25:03 +00:00
Kruglov Pavel
4d8cf71ba7
Merge branch 'master' into variant-data-type 2024-01-03 15:21:23 +01:00
zvonand
89beb32e64 Edit docs for toWeek() 2024-01-03 13:10:14 +01:00
Robert Schulze
b5d7ea2b02
Introduce OrNull() overloads for punycodeEncode/Decode() 2024-01-03 10:50:00 +00:00
Robert Schulze
2186aa8f21
Revert "Revert "Implement punycode encoding/decoding""
This reverts commit 345d29a3c1.
2024-01-03 08:03:01 +00:00
Bhavna Jindal
c0cff7b4f3 handled edge cases and addresses review comments 2024-01-02 08:52:28 -08:00
Bhavna Jindal
5c34ddab09 implemneted seriesDecomposeSTL method 2024-01-02 08:52:23 -08:00
Alexey Milovidov
78523639e0 Remove function 2023-12-30 14:52:54 +01:00
Alexey Milovidov
ea03cc82aa
Merge pull request #58320 from ClickHouse/mv3
Refreshable materialized views again
2023-12-29 14:44:50 +01:00
Alexey Milovidov
09181b6c37
Merge pull request #58335 from lingtaolf/feature/sparkBar_alias_to_sparkbar
sparkBar as an alias to sparkbar
2023-12-29 13:02:55 +01:00
凌涛
57c57360db add doc 2023-12-29 10:43:11 +08:00
Michael Kolupaev
96c68e5aae Remove pausing, enable multithreading, kick off refresh on table creation unless the query says EMPTY 2023-12-28 17:56:06 +00:00
Michael Kolupaev
bda01ca9db Spelling 2023-12-28 17:56:05 +00:00
Michael Kolupaev
edd120e8be Make it experimental 2023-12-28 17:56:05 +00:00
Michael Kolupaev
f0417d0ec3 Things 2023-12-28 17:56:05 +00:00
Michael Kolupaev
0fc7535eba Fixes 2023-12-28 17:56:05 +00:00
Michael Kolupaev
609b2c216c Fix some of the CI 2023-12-28 17:56:05 +00:00
Michael Kolupaev
8b8ef41407 Documentation 2023-12-28 17:56:05 +00:00
Anton Popov
482e01dea3 add docs 2023-12-28 17:36:56 +00:00
Alexander Tokmakov
38fe70c68a
Revert "Refreshable materialized views (takeover)" 2023-12-28 13:12:20 +01:00
Alexey Milovidov
a2faa65b08
Merge pull request #56946 from ClickHouse/mv
Refreshable materialized views (takeover)
2023-12-28 09:29:44 +01:00
Alexey Milovidov
345d29a3c1
Revert "Implement punycode encoding/decoding" 2023-12-28 09:12:22 +03:00
Michael Kolupaev
b9cbecb0df Remove pausing, enable multithreading, kick off refresh on table creation unless the query says EMPTY 2023-12-27 20:24:56 +00:00
Michael Kolupaev
dbf8fa23df Spelling 2023-12-27 20:24:55 +00:00
Michael Kolupaev
18cc5d1b76 Make it experimental 2023-12-27 20:24:55 +00:00
Michael Kolupaev
538b23d862 Things 2023-12-27 20:24:55 +00:00
Michael Kolupaev
802961f0a2 Fixes 2023-12-27 20:24:55 +00:00
Michael Kolupaev
673743e2ac Fix some of the CI 2023-12-27 20:24:55 +00:00
Michael Kolupaev
7786b12a89 Documentation 2023-12-27 20:24:55 +00:00
Kruglov Pavel
4b2a0b99fc
Update docs/en/sql-reference/functions/other-functions.md 2023-12-27 20:02:50 +01:00
Alexey Milovidov
11ca0b7b44
Merge pull request #58137 from ClickHouse/thomoco-patch-4
Update from.md
2023-12-23 05:22:15 +01:00
Alexey Milovidov
bcda9b9d6f
Update from.md 2023-12-23 07:21:43 +03:00
jinjunzh
aaf98f0ed7 refine setting with enable_zstd_qat_codec 2023-12-22 14:24:15 -05:00
robot-ch-test-poll2
97c85e6e41
Merge pull request #58147 from cwurm/patch-3
Update insert-into.md: Clarify position of SETTINGS clause
2023-12-22 15:59:17 +01:00
Yarik Briukhovetskyi
483a377834
Merge pull request #57995 from yariks5s/paste_join
Implementing PASTE JOIN
2023-12-22 12:56:06 +01:00
Christoph Wurm
5d8e5ee5d2
Update insert-into.md: Clarify position of SETTINGS clause
I've recently stumbled several times trying to figure out where to put the `SETTINGS` when inserting `VALUES` and `FROM INFILE`, so I'm clarifying it here in the docs.
2023-12-22 11:40:46 +00:00
Thom O'Connor
6e0e4d154d
Update from.md
Updated the SELECT...FROM...FINAL documentation to add better guidance to the use of FINAL, rather than saying "avoid using it"
2023-12-21 12:01:00 -07:00
robot-clickhouse-ci-1
cc23ddd94a
Merge pull request #58094 from cwurm/fix_docs_settings_anchors
Docs: Fix broken anchors to core settings
2023-12-20 19:59:47 +01:00
Christoph Wurm
9def89d416 Fix anchors to settings.md 2023-12-20 18:26:36 +00:00
Kruglov Pavel
ca7001d70f
Merge pull request #57850 from shanielh/feature/s3-session-token
Feature/s3 session token
2023-12-20 17:22:09 +01:00
jinjunzh
372de8a046 refine patch 2023-12-20 10:12:24 -05:00
Anton Popov
87d0cec055
Merge pull request #57433 from CurtizJ/materialize-lightweight-delete
Add mutation command `APPLY DELETED MASK`
2023-12-20 14:44:11 +01:00
vdimir
ae4270465d
Merge pull request #57544 from ClickHouse/vdimir/dict_hashed_array_shard
Support SHARDS for HashedArrayDictionary
2023-12-20 13:02:26 +01:00
Robert Schulze
ecb6f31211
Merge pull request #57969 from rschu1ze/punycode-is-cool
Implement punycode encoding/decoding
2023-12-20 10:20:34 +01:00
Kruglov Pavel
087946f385
Merge branch 'master' into variant-data-type 2023-12-20 00:40:18 +01:00
robot-ch-test-poll3
39b77ddc02
Merge pull request #56138 from crackhead-koala/add-documentation-for-sample-size-functions
Add documentation for minSampleSizeConversion and minSampleSizeContinous
2023-12-19 23:19:55 +01:00
Yarik Briukhovetskyi
a58c35f2b4
fix docs 2023-12-19 21:30:35 +01:00
Yarik Briukhovetskyi
6e816d45ae
Merge branch 'master' into paste_join 2023-12-19 20:02:24 +01:00
yariks5s
4e418a89d9 fixed suggestions 2023-12-19 19:00:37 +00:00
avogar
319ae440b6 Implement Variant data type 2023-12-19 16:45:15 +00:00
Robert Schulze
952175ce39
Merge pull request #57875 from zhongyuankai/order_by_all
Support `ORDER BY ALL`
2023-12-19 13:38:07 +01:00
Robert Schulze
6053fa9d89
Merge remote-tracking branch 'rschu1ze/master' into docs-mv-table-engine 2023-12-19 11:52:26 +00:00
Robert Schulze
00c407ecc1
Merge remote-tracking branch 'rschu1ze/master' into punycode-is-cool 2023-12-19 06:27:23 +00:00
Shani Elharrar
679a0e1300 StorageS3 / TableFunctionS3: Allow passing session_token to AuthSettings
This can help users that want to pass temporary credentials that
issued by AWS in order to load data from S3 without changing
configuration or creating an IAM User.

Fixes #57848
2023-12-19 08:06:36 +02:00
Yarik Briukhovetskyi
0671ade7be
Merge branch 'ClickHouse:master' into date_trunc_docs_enhancement 2023-12-18 18:07:31 +01:00
yariks5s
1a66dd94fa init 2023-12-18 15:37:02 +00:00
yariks5s
37216ab312 docs 2023-12-18 15:06:34 +00:00
Robert Schulze
414a2893d0
Merge pull request #57821 from rschu1ze/consolidate-substring-tests
Dumb down `substring()` tests
2023-12-18 12:32:20 +01:00
Alexey Milovidov
33cf8842bc
Merge branch 'master' into fix-arrayfold 2023-12-18 04:57:07 +01:00
Robert Schulze
19c8ac567f
Implement punycodeEncode()/Decode() 2023-12-17 17:04:28 +00:00
Robert Schulze
9033c96e29
Some fixups 2023-12-17 09:11:16 +00:00
Robert Schulze
2cfb543b33 Doc updates 2023-12-16 18:48:23 +08:00
zhongyuankai
01f5b20517 Support ORDER BY ALL 2023-12-16 18:48:23 +08:00
Raúl Marín
946defa8a6
Merge pull request #57860 from zvonand/zvonand-fix-57819
Try to fix memory leak in StorageHDFS
2023-12-15 11:50:17 +01:00
Julia Kartseva
7a5b40563a
Merge pull request #57574 from ClibMouse/dev-seriesPeriodDetect
Revert "Revert "Implemented series period detect method using pocketfft lib""
2023-12-14 21:10:23 -08:00
Andrey Zvonov
0174b94469
Merge branch 'ClickHouse:master' into zvonand-fix-57819 2023-12-14 20:14:54 +01:00
Bhavna Jindal
bb8589cabe minor cosmetic changes 2023-12-14 08:34:37 -08:00
Andrey Zvonov
f9579580e9 Retrigger CI + make docs a bit better 2023-12-14 16:34:10 +01:00
Robert Schulze
b36a93a25d
Revert "Remove arrayFold"
This reverts commit 15dc0ed610.
2023-12-14 09:52:29 +00:00
Alexey Milovidov
e4901323fd
Merge pull request #57836 from ClickHouse/remove-array-fold
Remove `arrayFold`
2023-12-14 07:15:29 +01:00
Nikolay Degterinsky
4c8cc4e0bd
Update string-functions.md 2023-12-14 05:32:12 +01:00
Alexey Milovidov
15dc0ed610 Remove arrayFold 2023-12-14 04:34:32 +01:00
andrewzolotukhin
c29007beeb
Fixed typo in string-functions.md 2023-12-14 04:54:52 +02:00
Julia Kartseva
b8d274d070
Add malformed output generation to JSON fuzzer (#57646)
Randomly modify structural characters of a valid JSON ('{', '}', '[', ']',
':', '"', ',') to generate output that cannot be parsed as JSON.

Follow-up to https://github.com/ClickHouse/ClickHouse/pull/56490
2023-12-13 19:59:31 +01:00
Anton Popov
1960713176 add docs 2023-12-13 17:29:34 +00:00
Robert Schulze
d0a4443bbc
Consolidate substring() tests 2023-12-13 16:49:39 +00:00
jinjunzh
bce1814363 add codec into doc 2023-12-13 11:18:21 -05:00
Robert Schulze
bbd7d0c057
Merge pull request #57277 from slvrtrn/substr-with-enums
Add Enums support to `substring` function
2023-12-13 17:03:03 +01:00
Johnny
54abbf146d
Update into-outfile.md 2023-12-13 09:04:07 -04:00
vdimir
398499d253
Support SHARDS for HashedArrayDictionary 2023-12-13 13:00:28 +00:00
johnnymatthews
5467670741 Mentions that APPEND or TRUNCATE should be used with INTO-OUTFILE. 2023-12-12 11:13:34 -04:00
Robert Schulze
e6372d5528
Merge remote-tracking branch 'rschu1ze/master' into substr-with-enums 2023-12-12 12:59:30 +00:00
Bhavna Jindal
1ea8cb2a45 Added more testcases and spell check 2023-12-11 08:48:10 -08:00
Robert Schulze
c141dd1330
Merge pull request #57549 from rschu1ze/format-arbitrary-types
Support arguments of arbitary type in function `format()`
2023-12-11 12:33:51 +01:00
Robert Schulze
9e434d43d7
Merge remote-tracking branch 'rschu1ze/master' into substr-with-enums 2023-12-11 10:21:08 +00:00
Alexey Milovidov
5a33fdcd4d
Merge pull request #57645 from bharatnc/ncb/sha512-256
add SHA512_256 function
2023-12-10 18:02:09 +01:00
Alexey Milovidov
0d1bdff347 Deprecate LIVE VIEW 2023-12-09 16:57:42 +01:00
Bhavna Jindal
1f58b0f150
Merge branch 'master' into dev-seriesPeriodDetect 2023-12-08 10:26:39 -05:00
Bhavna Jindal
94943ec83d fix for non-constant arguments 2023-12-08 07:10:47 -08:00
Bharat Nallan Chakravarthy
e01e6671b3 Merge remote-tracking branch 'upstream/master' into ncb/sha512-256 2023-12-07 23:53:18 -08:00
Bharat Nallan Chakravarthy
2c1f57ba40 add docs 2023-12-07 08:58:11 -08:00
Alexey Milovidov
11920e751a
Merge pull request #57592 from bharatnc/ncb/alias-format-readable-size
Add FORMAT_BYTES as an alias for formatReadableSize
2023-12-07 15:15:56 +01:00
Andrey Zvonov
f0bf5ef3c8
Update fileCluster.md 2023-12-07 13:00:00 +01:00
Robert Schulze
554c5d690c
Merge remote-tracking branch 'rschu1ze/master' into format-arbitrary-types 2023-12-07 09:36:39 +00:00
Bharat Nallan Chakravarthy
19e96c4351 add docs 2023-12-06 14:08:51 -08:00
Bhavna Jindal
dad268c33b Revert "Revert "Implemented series period detect method using pocketfft lib""
This reverts commit d7d83c99e5.
2023-12-06 13:31:49 -08:00
Robert Schulze
1276c3ab80
Try to fix broken links 2023-12-06 08:48:56 +00:00
Robert Schulze
c0d56c7bee
Implement format() with arbitrary arguments 2023-12-05 22:51:30 +00:00
Robert Schulze
afa6e4388b
Move docs of format() from general string functions to replacing string functions 2023-12-05 20:04:42 +00:00
slvrtrn
e275080f52 Merge remote-tracking branch 'origin' into substr-with-enums 2023-12-05 19:48:10 +01:00
Robert Schulze
f56dd6561f
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-sqid 2023-12-05 18:41:10 +00:00
Alexey Milovidov
d7d83c99e5
Revert "Implemented series period detect method using pocketfft lib" 2023-12-05 18:17:07 +03:00
Nikolay Degterinsky
a776a5cac5
Merge pull request #57483 from joelynch/stop-listen-tcp-secure
bugfix: correctly parse SYSTEM STOP LISTEN TCP SECURE
2023-12-05 15:25:34 +01:00
Alexey Milovidov
2988f6f92a
Revert "Add new aggregation function groupArraySorted()" 2023-12-05 15:31:17 +03:00
Robert Schulze
f1a2b46d60
Incorporate feedback 2023-12-05 12:28:28 +00:00
Robert Schulze
a2cd240317
Revert "Revert "Add sqid() function""
This reverts commit 8d5d0ef38f.
2023-12-05 10:50:30 +00:00
Alexey Milovidov
8d5d0ef38f
Revert "Add sqid() function" 2023-12-05 13:45:33 +03:00
Alexey Milovidov
cbea3545aa
Revert "add function getClientHTTPHeader" 2023-12-05 13:34:34 +03:00
robot-clickhouse
22f840e24b
Merge pull request #57487 from ClickHouse/update/uniqUpTo-usage-example
Adds usage example for uniqUpTo.
2023-12-05 07:04:28 +01:00
Alexey Milovidov
8603b4e92a
Update docs/en/sql-reference/aggregate-functions/parametric-functions.md
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2023-12-05 08:12:47 +03:00
Nikolay Degterinsky
9b2cf06eb1
Fix docs 2023-12-05 05:14:19 +01:00
Johnny
ff746fb018
Grammar fixes. 2023-12-04 17:51:38 -04:00
Johnny
4d8084db31
Adds usage example for uniqUpTo.
A [user on Twitter](https://twitter.com/Dan_The_Goodman/status/1731453529078796740) pointed out that we didn't have a usage example here. This adds an example, and clarifies what `uniqUpTo` does.
2023-12-04 17:48:41 -04:00
joelynch
b312a9f4ee
bugfix: parse system stop listen tcp secure 2023-12-04 19:56:35 +01:00
Robert Schulze
8db3bac7bd
Merge pull request #57442 from awakeljw/dev
Add `sqid()` function
2023-12-04 15:50:28 +01:00
Robert Schulze
f6036fbb29
Some fixups 2023-12-03 16:20:59 +00:00
awakeljw
06241de257 fix codes according to the reviews 2023-12-03 22:00:42 +08:00
Arvind Pj
020f1d274d
docs: fix arrayReduce anchor in arrayFold see also 2023-12-02 18:49:58 +05:30
Arvind Pj
0e8cf43982
docs: fix arrayFold anchor in arrayReduce see also 2023-12-02 11:36:09 +05:30
JackyWoo
8a68d51261
Add index to table system.numbers (#50909) 2023-12-01 19:59:25 +01:00
slvrtrn
8eff62a4de Merge remote-tracking branch 'origin' into substr-with-enums 2023-12-01 03:43:48 +01:00
Julia Kartseva
1f8031c6e1
Merge pull request #56892 from icuken/alter_temporary_table
allow ALTER for TEMPORARY tables
2023-11-30 18:29:43 -08:00
Raúl Marín
46acd8736c
Merge pull request #57189 from Algunenano/fix_respect_nulls
Fix RESPECT NULLS
2023-11-30 20:21:42 +01:00
Sergey Kviatkevich
b76bedb53a update docs 2023-11-30 21:42:13 +03:00
robot-ch-test-poll3
85be7cf6b8
Merge pull request #57383 from biggerfisch/docs/exists-examples
Add more doc examples for the EXISTS operator
2023-11-30 15:25:02 +01:00
Kruglov Pavel
575ee1e665
Merge pull request #56868 from zvonand/zvonand-fileCluster
Introduce `fileCluster` table function
2023-11-30 13:49:53 +01:00
Avery Fischer
b75653e449
Add more doc examples for the EXISTS operator
The existing documentation for EXISTS makes it look like it only works
as part of a WHERE clause, when in fact, it can be used in many places.
Changing the docs to note that a bit differently with another example
should provide more clarity on the use of this term.
2023-11-30 10:57:44 +01:00
Nikolai Kochetov
024f41888e
Merge pull request #53562 from yariks5s/group_sorted_array_function
Add new aggregation function groupArraySorted()
2023-11-29 17:52:01 +01:00
zvonand
c329e382ab resolve conflicts 2023-11-29 16:03:07 +01:00
Denny Crane
e33efaff9f
Revert "Update date-time-functions.md" 2023-11-28 15:56:51 -04:00
Han Fei
6733438adc Merge branch 'master' into hanfei/statistic 2023-11-28 16:35:00 +01:00
Robert Schulze
b56b48d2de
Update docs 2023-11-28 14:59:20 +00:00
zvonand
c306d21b54 merge master + resolve conflicts 2023-11-28 15:51:21 +01:00
abakhmetev
23e81d8234
Update date-time-functions.md
month as an integer number (01-12) == %m, and not %c
2023-11-28 17:26:42 +03:00
Kruglov Pavel
06b9f8129f
Merge pull request #57298 from nellicus/patch-2
replace incorrect field name in coalesce example
2023-11-28 14:59:01 +01:00
Raúl Marín
48fff248e5 Merge remote-tracking branch 'blessed/master' into fix_respect_nulls 2023-11-28 12:28:36 +01:00
Raúl Marín
1a3f4032b1 Fix doc reference 2023-11-28 12:27:35 +01:00
Antonio Andelic
a61f32867e
Merge pull request #56488 from lingtaolf/feature/getHTTPHeader
add function getClientHTTPHeader
2023-11-28 11:41:56 +01:00
Robert Schulze
1448276bae
Merge pull request #55872 from azat/hour-no-leading-zero
Add ability to parse hours/months without leading zeros
2023-11-28 11:07:00 +01:00
robot-ch-test-poll3
e24b9e5ca2
Merge pull request #57276 from phallstrom/patch-1
Update URL to related content about LowCardinality
2023-11-28 10:59:14 +01:00
Antonio Bonuccelli
612c6be204
replace incorrect field name in coalesce example
field in the example should be `telegram` (not `icq`)
2023-11-28 10:20:02 +01:00
Ubuntu
a85cf758b0 Fuzz JSON table function
Create a table function `fuzzJSON`

An example query:
```
CREATE NAMED COLLECTION json_fuzzer AS json_str={};

SELECT *
FROM fuzzJSON(json_fuzzer, json_str = '{"students" : ["Alice", "Bob"]}', random_seed = 666, max_output_length = 128, probability = 0.9)
LIMIT 3

Query id: 7f802052-efb0-41b4-87fa-03b7dd290e9d

┌─json──────────────────────────────────────────────────────────────────────────────────┐
│ {"ade0yX":[9200406572736542991, true, "sm"]}                                          │
│ {"students":["Alice", "eSN3WO#a6NYTBe0$#OWwyIQ"], "cVoP2BuQugQ":17384271928263249403} │
│ {"students":["Alice", "Bob", "T+-k4+PJGkL%XRRaF2BoeN@&A"]}                            │
└───────────────────────────────────────────────────────────────────────────────────────┘
```

Next step:
* Generate invalid string

Fixes #35962

add Object('json')

use named collection
2023-11-28 01:58:24 +00:00
slvrtrn
497e5abc47 Add a doc entry. 2023-11-28 00:09:36 +01:00
Philip Hallstrom
6d7f160bcc
Update URL to related content about LowCardinality 2023-11-27 15:05:59 -08:00
Han Fei
7bd2ea3add Merge branch 'master' into hanfei/statistic 2023-11-27 23:31:23 +01:00
Raúl Marín
010a6074f8 Try to fix docs 2023-11-27 23:29:03 +01:00
Raúl Marín
3395c7c745 Provide a custom implementation for respect_null aggregations 2023-11-27 19:29:20 +01:00
Robert Schulze
4c236b34f0
Another small cleanup 2023-11-27 11:09:07 +00:00
Kruglov Pavel
b10e46b2bc
Merge pull request #57126 from Avogar/size-virtual-column
Add _size virtual column to s3/file/hdfs/url/azureBlobStorage engines
2023-11-27 10:12:18 +01:00
Robert Schulze
a8671049e1
Various smaller fixups 2023-11-27 08:49:54 +00:00
Nikolay Degterinsky
de0876ed68
Merge pull request #57234 from evillique/fix-docs-anchors
Fix docs
2023-11-27 01:22:43 +01:00
Nikolay Degterinsky
faa3a43803 Fix docs 2023-11-26 19:21:39 +00:00
Azat Khuzhin
315906b380 Add ability to parse hours/months without leading zeros
Recently I was looking into one dataset, that has such format.

So I've changed the meaning of the following formatters for
formatDateTime()/parseDateTime(), like in other implementations [1]:

- %l/%k - to handle hours without leading zeros
- %c - handle months without leading zeros

  [1]: https://www.php.net/strftime

And since this is kind of behaviour change (even though it is unlikely
will break something), there is a new setting to control this new
behaviour:
- parsedatetime_enable_format_without_leading_zeros=1 (default ON)
- formatdatetime_enable_format_without_leading_zeros=0 (default OFF, since this could change users output)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-26 19:10:17 +01:00
Robert Schulze
4088ec0eac
Merge pull request #57199 from rschu1ze/docs-math-funcs
Docs: Improve math function docs
2023-11-25 21:22:53 +01:00
Robert Schulze
2e7c16e138
Fix broken links 2023-11-25 19:47:32 +00:00
Kseniia Sumarokova
ea7c68febe
Merge pull request #56705 from ClickHouse/docs-s3-gcs-improvements
[Docs] Add details to S3 and GCS table functions
2023-11-24 16:17:40 +01:00
Robert Schulze
75ceaf6200
Docs: Improve math function docs 2023-11-24 14:31:39 +00:00
Yarik Briukhovetskyi
69205769d0
Merge branch 'ClickHouse:master' into group_sorted_array_function 2023-11-23 20:23:47 +01:00
Tomáš Hromada
956a8add35
Update other-functions.md
Fix `initializeAgregation` typo
2023-11-23 15:57:19 +01:00
Kruglov Pavel
b84e3cf683
Merge branch 'master' into size-virtual-column 2023-11-22 19:25:00 +01:00
avogar
6b64efb55a Add docs 2023-11-22 18:21:30 +00:00
zvonand
5153798aeb Introduced fileCluster table function
Added fileCluster function
Added test and docs
2023-11-22 15:06:04 +01:00
Bhavna Jindal
a324bd2780 added macro to enable/disable pocketfft lib 2023-11-21 06:52:47 -08:00
Bhavna Jindal
baaa15b5b0 added macro to enable/disable pocketfft lib 2023-11-21 06:52:47 -08:00
Bhavna Jindal
ad99cb902f changed method name, updated pocketfft repo reference 2023-11-21 06:52:47 -08:00
Bhavna Jindal
e3826786f1 Added testcases, documentation and addressed comments 2023-11-21 06:52:47 -08:00
凌涛
e86aa433c5
Merge branch 'master' into feature/getHTTPHeader 2023-11-21 19:48:47 +08:00
凌涛
c5f16725ec add function getClientHTTPHeader 2023-11-21 11:12:01 +08:00
slvrtrn
9f96b58979 Update docs, add more tests. 2023-11-20 16:22:47 +01:00
robot-clickhouse-ci-1
4bf3845fbf
Merge pull request #56962 from ClickHouse/docs-count-distinct-perf-tip
[Docs] Add perf tip for COUNT(DISTINCT expr)
2023-11-19 20:55:15 +01:00
Justin de Guzman
9d3c62ec41
[Docs] Recommend against OPTIMIZE FINAL in OPTIMIZE page 2023-11-18 18:51:35 -08:00
Justin de Guzman
a894671e8a
[Docs] Add perf tip for COUNT(DISTINCT expr) 2023-11-18 17:53:32 -08:00
Robert Schulze
4353507724
Merge pull request #56540 from slvrtrn/concat-arbitrary-types
Support arguments of arbitary type in function `concat()`
2023-11-18 17:21:03 +01:00
slvrtrn
d504ad6e99 Merge remote-tracking branch 'origin' into concat-arbitrary-types 2023-11-17 13:45:12 +01:00
Denny Crane
3765a1c77b
Update random-functions.md 2023-11-16 16:07:49 -04:00
Robert Schulze
0b45e4bfee
Merge remote-tracking branch 'ClickHouse/master' into concat-arbitrary-types 2023-11-15 15:44:36 +00:00
Robert Schulze
f21dd37d18
Some fixups 2023-11-15 15:43:41 +00:00
Robert Schulze
eb08bba607 Update docs 2023-11-15 16:37:24 +01:00
slvrtrn
c7cd4fa972 Update concat docs 2023-11-15 14:57:34 +01:00
Ethan Shea
37dc535d78
Remove tabs 2023-11-13 16:16:07 -05:00
Ethan Shea
207c4c50cb
Improve legibility of window functions list
Before, markdown was rendering these as one big paragraph.
2023-11-13 16:12:05 -05:00
justindeguzman
bdb624f20f [Docs] Add details on S3 table function memory usage/streaming 2023-11-13 13:03:25 -08:00
justindeguzman
de42b7f9e0 [Docs] Add details to S3 and GCS table functions 2023-11-13 12:57:05 -08:00
Robert Schulze
361a3ca11f
Merge pull request #56519 from rschu1ze/qc-ignore-nondeterministic-queries
Query cache: Allow to ignore non-deterministic queries
2023-11-13 21:32:44 +01:00
Denny Crane
c93efc929a fix typo in the doc 2023-11-13 16:54:21 +03:00
Kseniia Sumarokova
b7915e6983
Merge pull request #55782 from aiven-sal/aiven-sal/namedcoll_pr
NamedCollections: prevent fields overriding in functions' calls
2023-11-13 09:07:09 +01:00
rondo_1895
04b75a3ac9
Update except.md
Symbol Error
2023-11-13 11:37:19 +08:00
Robert Schulze
bea529c9a1
Try to stabilize test results 2023-11-12 15:11:38 +00:00
Robert Schulze
a511f41438
Docs: Fix overly long quote which pushed the right pane out of view 2023-11-12 10:51:22 +00:00
Shri Bodas
bc68fcf759 canonicalRand is replaced by randCanonical 2023-11-11 10:11:47 -08:00
Robert Schulze
82f5e92bf5
Update docs of fromUnixTimeStamp[InJodaSyntax]() 2023-11-10 11:11:42 +00:00
Salvatore Mesoraca
7d206cbc3c
NamedCollections: prevent fields overriding in functions call
Add syntax in SQL and XML to mark specific fields to allow
override or not.
Also add a new setting to control the default behaviour when
overriding support is not specified.
2023-11-09 17:25:16 +01:00
Robert Schulze
86b8ebf71c
Merge remote-tracking branch 'rschu1ze/master' into arrayRandomSample-improved 2023-11-07 15:25:29 +00:00
Robert Schulze
842cc36598
Update docs 2023-11-07 10:25:27 +00:00
Robert Schulze
54b5d573d7
Merge remote-tracking branch 'rschu1ze/master' into idatatype-convenience-functions 2023-11-07 10:18:30 +00:00
Robert Schulze
e22c673299
Revert "Revert "Add function arrayRandomSample()""
This reverts commit e47e50e30d.
2023-11-07 10:16:13 +00:00
robot-ch-test-poll1
845a235ad8
Merge pull request #56237 from ClickHouse/justindeguzman-patch-1
[Docs] Specify IAM role necessary for GCS table function
2023-11-07 01:20:06 +01:00
Alexey Milovidov
e47e50e30d
Revert "Add function arrayRandomSample()" 2023-11-07 02:49:11 +03:00
Robert Schulze
8846cc6770
Merge pull request #56327 from rschu1ze/parseQueryOrNull
Improve `formatQuery()`
2023-11-06 22:48:16 +01:00
Robert Schulze
5cfcf98d4a
Merge pull request #56277 from rschu1ze/show-columns-connection-type
Make type names in `SHOW COLUMNS` dependent on connection type
2023-11-06 16:24:27 +01:00
Robert Schulze
8896134531
Cleanup IDataType convenience functions 2023-11-06 13:25:32 +00:00
Robert Schulze
ae1dcb5254
Move documentation of string similarity functions to better location 2023-11-06 13:25:08 +00:00
vdimir
3b775dee53
Merge pull request #55126 from ClickHouse/vdimir/jaccard_index_perf
Add function jaccardIndex back with better performance
2023-11-06 10:39:02 +01:00
Robert Schulze
049c811a38
Make type names in SHOW COLUMNS dependent only on connection type 2023-11-05 21:20:20 +00:00
Robert Schulze
8a64066ee1
+ formatQueryOrNull() 2023-11-05 20:24:23 +00:00
Robert Schulze
480e284db1
Merge pull request #56088 from jh0x/feature-from-days-zero
Add function `fromDaysSinceYearZero()`
2023-11-04 00:17:04 +01:00
Nikita Mikhaylov
9666549d15
Merge pull request #56280 from ClickHouse/melvynator-patch-2
Update detach.md
2023-11-03 14:45:04 +01:00
vdimir
55a1baf029
Merge pull request #56022 from ClickHouse/vdimir/check_all_tables
Add CHECK query for all the tables
2023-11-03 10:10:42 +01:00
Dmitry Novik
2db74997a8
Fix typo 2023-11-03 01:34:07 +01:00
Dmitry Novik
f6733ac7ab
Add documentation for ATTACH DATABASE 2023-11-03 01:21:11 +01:00
Dmitry Novik
49d553369e
Add info about DETACH DATABASE 2023-11-03 01:12:58 +01:00
Peignon Melvyn
5d939f6df0
Update detach.md
Added detach database
2023-11-03 00:23:56 +01:00
Robert Schulze
910477b1bd
Add FROM_DAYS() alias 2023-11-02 21:43:17 +00:00
Robert Schulze
0b587d3cea
Remove overflow setting
Reason 1:
- https://github.com/ClickHouse/ClickHouse/pull/55696#issuecomment-1774130793
  Basically: Setting `date_time_overflow_behavior` applies only to
  conversions between Date <-> Date32 <-> DateTime <-> DateTime64 but
  it does not control the behavior of functions.

Reason 2:
- It's overkill (even if well-intented overkill). ClickHouse generally
  has a garbage in - garbate out philosophy, so that should be the
  default behavior which corresponds to behavior "ignore". Moreover,
  function 'fromDaysSinceYearZero()' mostly exists for compatibility /
  parity with MySQL and MySQL takes the same stance.
2023-11-02 21:43:17 +00:00
Robert Schulze
492af27feb
Update docs 2023-11-02 20:56:01 +00:00
robot-clickhouse
13adae0e42
Merge pull request #56244 from ne1r0n/patch-4
[Docs] fix typo
2023-11-02 14:59:19 +01:00
Nikita Taranov
b078443826
Fix typo in largestTriangleThreeBuckets.md (#56263) 2023-11-02 14:45:13 +01:00
vdimir
14ba4696f9
Rename jaccardIndex -> stringJaccardIndex, upd doc 2023-11-02 11:37:50 +00:00
vdimir
1f936d1966
upd byteHammingDistance doc 2023-11-02 11:37:50 +00:00
Alexander Chashnikov
3d88614e6b
fix typo
asteriks -> asterisk
2023-11-02 10:56:17 +02:00
Justin de Guzman
782d67766d
[Docs] Specify IAM role necessary for GCS table function 2023-11-01 21:56:20 -07:00
Joanna Hulboj
757dc8b944 Fix typos, add to/fromDaysSinceYearZero to fuzz 2023-11-01 17:48:58 +00:00
Azat Khuzhin
c25d6cd624
Rename directory monitor concept into background INSERT (#55978)
* Limit log frequence for "Skipping send data over distributed table" message

After SYSTEM STOP DISTRIBUTED SENDS it will constantly print this
message.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Rename directory monitor concept into async INSERT

Rename the following query settings (with preserving backward
compatiblity, by keeping old name as an alias):
- distributed_directory_monitor_sleep_time_ms -> distributed_async_insert_sleep_time_ms
- distributed_directory_monitor_max_sleep_time_ms -> distributed_async_insert_max_sleep_time_ms
- distributed_directory_monitor_batch -> distributed_async_insert_batch_inserts
- distributed_directory_monitor_split_batch_on_failure -> distributed_async_insert_split_batch_on_failure

Rename the following table settings (with preserving backward
compatiblity, by keeping old name as an alias):
- monitor_batch_inserts -> async_insert_batch
- monitor_split_batch_on_failure -> async_insert_split_batch_on_failure
- directory_monitor_sleep_time_ms -> async_insert_sleep_time_ms
- directory_monitor_max_sleep_time_ms -> async_insert_max_sleep_time_ms

And also update all the references:

    $ gg -e directory_monitor_ -e monitor_ tests docs | cut -d: -f1 | sort -u | xargs sed -e 's/distributed_directory_monitor_sleep_time_ms/distributed_async_insert_sleep_time_ms/g' -e 's/distributed_directory_monitor_max_sleep_time_ms/distributed_async_insert_max_sleep_time_ms/g' -e 's/distributed_directory_monitor_batch_inserts/distributed_async_insert_batch/g' -e 's/distributed_directory_monitor_split_batch_on_failure/distributed_async_insert_split_batch_on_failure/g' -e 's/monitor_batch_inserts/async_insert_batch/g' -e 's/monitor_split_batch_on_failure/async_insert_split_batch_on_failure/g' -e 's/monitor_sleep_time_ms/async_insert_sleep_time_ms/g' -e 's/monitor_max_sleep_time_ms/async_insert_max_sleep_time_ms/g' -i

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Rename async_insert for Distributed into background_insert

This will avoid amigibuity between general async INSERT's and INSERT
into Distributed, which are indeed background, so new term express it
even better.

Mostly done with:

    $ git di HEAD^ --name-only | xargs sed -i -e 's/distributed_async_insert/distributed_background_insert/g' -e 's/async_insert_batch/background_insert_batch/g' -e 's/async_insert_split_batch_on_failure/background_insert_split_batch_on_failure/g' -e 's/async_insert_sleep_time_ms/background_insert_sleep_time_ms/g' -e 's/async_insert_max_sleep_time_ms/background_insert_max_sleep_time_ms/g'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Mark 02417_opentelemetry_insert_on_distributed_table as long

CI: https://s3.amazonaws.com/clickhouse-test-reports/55978/7a6abb03a0b507e29e999cb7e04f246a119c6f28/stateless_tests_flaky_check__asan_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

---------

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-01 15:09:39 +01:00
Nikolay Degterinsky
cd779d4f50
Merge pull request #55856 from ClickHouse/rewrite-delete-docs
Rewrite DELETE docs
2023-11-01 00:10:01 +01:00
Joanna Hulboj
e5b4d7fac7 Fix failing checks 2023-10-31 21:00:11 +00:00
Robert Schulze
13b2946ae2
Merge pull request #55960 from rschu1ze/adddate-stringargs
Support string-encoded date arguments in `addDate()`
2023-10-31 15:37:34 +01:00
Sergey Suvorov
37843b0c28 Add alias for minSampleSizeContinuous after typo fix in #56143 2023-10-31 13:05:41 +01:00
Raúl Marín
f3a3ec53f6
Merge pull request #56124 from den-crane/patch-64
Beautify `show merges`
2023-10-31 11:02:10 +01:00
Sergey Suvorov
c59d700392 Add documentation for minSampleSizeConversion and minSampleSizeContinous 2023-10-30 20:54:51 +01:00
Denny Crane
3535adf2af
Update show.md 2023-10-30 09:53:23 -03:00
Han Fei
19cdc6dfe2 Merge branch 'master' into hanfei/statistic 2023-10-30 04:53:18 +01:00
Alexey Milovidov
3631e476eb
Merge pull request #54947 from amosbird/minmax-combinator
Introduce -ArgMin/-ArgMax combinators.
2023-10-30 03:35:28 +01:00
robot-ch-test-poll2
088a3ada7f
Merge pull request #56070 from ClickHouse/docs-dictionary-updates
Clarify query behavior dictionary updates
2023-10-30 01:20:21 +01:00
Alexey Milovidov
6eff22568f
Revert "Add function getHttpHeader" 2023-10-29 19:50:39 +03:00
justindeguzman
9fecf429b1 Docs: edit lightweight DELETE docs based on feedback 2023-10-28 20:23:26 -07:00
vdimir
36c1919d7f
Add CHECK ALL TABLES to docs 2023-10-27 15:22:11 +00:00
Robert Schulze
5801b06529
Merge pull request #55983 from rschu1ze/snowflake-scale
Fix dateTime64ToSnowflake64() with non-default scale
2023-10-27 10:22:35 +02:00
Justin de Guzman
b51f90362d
Clarify query behavior dictionary updates 2023-10-27 00:20:32 -07:00
Robert Schulze
325ff33c3a
Merge pull request #55239 from aiven-sal/aiven-sal/format_query
Add formatQuery function
2023-10-26 22:46:01 +02:00
vdimir
dbaf66b8f2
Fix function_json_value_return_type_allow_nullable setting name in doc 2023-10-26 19:26:18 +02:00
Anton Popov
9e64f51ffa
Merge pull request #56020 from CurtizJ/minor-style-fixes
Correct the implementation of function `jsonMergePatch`
2023-10-26 13:26:55 +02:00
Salvatore Mesoraca
56bd61d207
Rename formatQueryOneLine -> formatQuerySingleLine 2023-10-26 13:09:20 +02:00
Salvatore Mesoraca
21e0c510c8
formatQuery: improve doc 2023-10-26 13:08:11 +02:00
vdimir
1d5f75fd71
Merge pull request #53404 from ClickHouse/vdimir/check_table_improvements2
Improve CHECK TABLE system query, support checking part
2023-10-26 10:57:44 +02:00
robot-ch-test-poll3
90c8efa23f
Merge pull request #55979 from kitaisreal/add-show-setting-query
Add SHOW SETTING query
2023-10-26 09:09:25 +02:00
Dmitry Novik
e25ce7c5fb
Merge pull request #56007 from nellicus/patch-1
Fix toDayOfWeek return value description
2023-10-25 20:21:20 +02:00
Maksim Kita
108df081b7 Add documentation 2023-10-25 18:49:00 +03:00
Anton Popov
3e6ecf1858 correct the implementation of function jsonMergePatch 2023-10-25 15:17:28 +00:00
Dmitry Novik
3973b24302
Update docs/en/sql-reference/functions/date-time-functions.md 2023-10-25 16:58:25 +02:00
Anton Popov
6ba59b8408
Merge pull request #54364 from Joeywzr/master
Support jsonMerge function
2023-10-25 15:27:16 +02:00
Robert Schulze
5067fb342f
Support-encoded date arguments in addDate() 2023-10-25 10:41:18 +00:00
Antonio Bonuccelli
8861f8b6ea
Fix toDayOfWeek return value description
Fix toDayOfWeek return value description
2023-10-25 11:50:41 +02:00
Raúl Marín
6068277af9
Merge pull request #55815 from jetgm/master
Add SHOW MERGES
2023-10-25 11:44:30 +02:00
Robert Schulze
a7e582fb11
Fix style, pt. II 2023-10-25 09:35:39 +00:00
Raúl Marín
bee9eb5df4
Merge pull request #55962 from Algunenano/show_databases_limit
Fix `SHOW DATABASES LIMIT <N>`
2023-10-25 10:27:43 +02:00
Salvatore Mesoraca
a95a2a5d66
formatQueryOneLine: create new function format queries on one line 2023-10-25 10:10:04 +02:00
Robert Schulze
9838e0ce3a
Update docs 2023-10-25 08:01:57 +00:00
jetgm
ca766e3033 update doc and change order by 2023-10-25 11:08:25 +08:00
Robert Schulze
f94c33586c
Fix issue #42966 2023-10-24 15:14:20 +00:00
Robert Schulze
0955107e8e
Merge pull request #55948 from rschu1ze/arrayFold-switch-args
arrayFold: Switch accumulator and array arguments
2023-10-24 16:16:02 +02:00
Salvatore Mesoraca
2d2eaceb77
formatQuery: move doc 2023-10-24 16:13:15 +02:00
Salvatore Mesoraca
457e7ba7bd
formatQuery: improve doc 2023-10-24 15:38:24 +02:00
Salvatore Mesoraca
1380dc942e
Add formatQuery function 2023-10-24 15:38:24 +02:00
Sergei Trifonov
e2846d4c58
Merge pull request #55922 from joclement/patch-2
docs: state limitations of `USING` clause.
2023-10-24 12:57:58 +02:00
Robert Schulze
38a2ba5769
Cosmetics 2023-10-24 09:53:20 +00:00
justindeguzman
8ea93b5a11 DELETE docs improvements based on feedback 2023-10-23 14:20:00 -07:00
Robert Schulze
b9b66e76dd
Switch accumulator and array arguments 2023-10-23 14:59:16 +00:00
Robert Schulze
bef5cea5a0
Merge remote-tracking branch 'rschu1ze/master' into string-addinterval 2023-10-23 14:08:18 +00:00
Robert Schulze
bb856680e7
Incorporated review feedback 2023-10-23 14:07:14 +00:00
vdimir
1e068640c8
Add CHECK TABLE PART to docs 2023-10-23 12:33:36 +00:00
Raúl Marín
7d7bf1f565
Merge pull request #55826 from Algunenano/clearer_matview_creation_errors
Provide a better message for common MV pitfalls
2023-10-23 14:07:14 +02:00
Denny Crane
835be79d4b
Update docs/en/sql-reference/functions/array-functions.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-10-23 07:06:41 -03:00
vdimir
9d840c6532
Use single thread for check table with check_query_single_value_result=0 2023-10-23 09:36:41 +00:00
vdimir
fe95c0d0e4
Improve CHECK TABLE system query
Resubmit PR #52745
2023-10-23 09:35:26 +00:00
Denny Crane
bd934575ea
Update array-functions.md 2023-10-23 05:29:42 -03:00
Denny Crane
8417b64530
Update array-functions.md 2023-10-23 05:27:26 -03:00
Joris Clement
c885314bfe
docs: state limitations of USING clause.
State that it is (currently) not possible to use `USING` with multiple joins. The exception thrown is `Multiple USING statements are not supported`. The relevant code section is d08ce13107/src/Interpreters/CrossToInnerJoinVisitor.cpp (L191-L192).
2023-10-23 09:41:24 +02:00
Robert Schulze
c2215cb5f0
Support string arguments 2023-10-22 09:28:45 +00:00
Aleksei Filatov
0a1f3f205c
Add external HTTP Basic authenticator (#55199) 2023-10-20 19:24:19 +02:00
Robert Schulze
3551d7f2d6
Update docs 2023-10-20 15:46:17 +00:00
Justin de Guzman
757fa750e6
Rewrite DELETE docs 2023-10-19 22:00:39 -07:00
Raúl Marín
dd640cba72 Provide a better message for common MV pitfalls 2023-10-19 13:21:57 +02:00
jetgm
bde5c5a4a8 add show merges 2023-10-19 18:17:28 +08:00
Sinan
c7f78ac73a
Add aggregation function for Largest-Triangle-Three-Buckets (#53145)
* Added a simple lttb aggregate function

* Added support for multiple datatypes

* Added support for Date and Date32, updated LTTBData struct

* Updated code to handle bucket size 0 and 1

* Added sort for LTTBData

* Added tests and documentation

* Added some code style fixes

* Added function to new func ref file

* Removed function from new func ref file

* Apply suggestions from code review

* Updated unit tests

* updated LTTB data code

* Minor style fixes

* Updated code with std sort

* updated tests

* Renamed lttb to largestTriangleThreeBuckets

* Added alias lttb

---------

Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-10-18 14:47:18 +02:00
Han Fei
4b23142775
Merge branch 'master' into hanfei/statistic 2023-10-17 16:40:31 +02:00
János Benjamin Antal
eeff98f3a3
Merge pull request #55373 from lingtaolf/enhancement/rename_without_keyword
Support rename table without keyword TABLE
2023-10-16 14:06:23 +02:00
Robert Schulze
dcedc5f10b
Merge remote-tracking branch 'rschu1ze/master' into string-args-in-week-functions 2023-10-14 08:32:33 +00:00
Robert Schulze
a47cff1981
Merge pull request #55607 from rschu1ze/byteswap-128-256
byteswap: Add 16/32-byte integer support
2023-10-14 10:30:29 +02:00
Alexander Tokmakov
3e60451ac7 Revert "Merge pull request #54421 from evillique/cluster-groups"
This reverts commit 211c80e1a0, reversing
changes made to b53a98217c.
2023-10-13 18:55:51 +02:00
Robert Schulze
246e29a41a
Add 16/32-byte integer support 2023-10-13 14:54:56 +00:00
Robert Schulze
d02a718076
Merge pull request #55211 from Priyansh121096/master
Add function byteSwap
2023-10-13 16:54:28 +02:00
Robert Schulze
1957179058
Make the warning in the docs more strict 2023-10-13 13:21:38 +00:00
Robert Schulze
bb0ff98f5e
String argument support for toDayOfWeek(), toWeek() and toYearWeek() 2023-10-13 10:30:37 +00:00
robot-ch-test-poll3
3bb141cd51
Merge pull request #55570 from ClickHouse/docs-datetime-functions
Add syntax and examples to docs of date/time functions
2023-10-12 22:28:03 +02:00
rfraposa
c066f6044d Add syntax and examples to docs of date/time functions 2023-10-12 11:24:57 -06:00
robot-clickhouse-ci-1
211c80e1a0
Merge pull request #54421 from evillique/cluster-groups
Add replica groups to Replicated database engine
2023-10-12 18:14:42 +02:00
Nikolay Degterinsky
20e16be27b Fixes & improvements 2023-10-12 15:02:08 +00:00
Han Fei
42dc61abf5 Merge branch 'master' into hanfei/statistic 2023-10-12 16:19:45 +02:00
Alexander Tokmakov
6dbc224fc7
Update table.md 2023-10-12 12:50:05 +02:00
robot-clickhouse-ci-1
c40a79f0b4
Merge pull request #54813 from lingtaolf/feature/function-getClientHttpHeader
Add function getHttpHeader
2023-10-12 10:13:20 +02:00
凌涛
89d123d0fd modify doc 2023-10-12 14:24:59 +08:00
凌涛
4499dd3e2f modify style 2023-10-12 14:21:20 +08:00
alesapin
3f6d1414d3
Merge pull request #55196 from xjtupdy/doc-fix-ClickHouse
edit wrong example in en doc
2023-10-11 20:34:13 +02:00
alesapin
fc1ad9a969
Update docs/en/sql-reference/functions/arithmetic-functions.md 2023-10-11 18:24:44 +02:00
alesapin
a150ec53c0
Update arithmetic-functions.md 2023-10-11 18:24:24 +02:00
凌涛
21afc422dd Merge branch 'master' into feature/function-getClientHttpHeader 2023-10-11 12:01:25 +08:00
Kruglov Pavel
5ded0005a3
Merge pull request #55064 from AVMusorin/system-drop-format-cache
Allow drop cache for Protobuf format
2023-10-10 14:23:11 +02:00
Memo
b7f70c2ba3 Merge branch 'master' into master 2023-10-10 20:08:41 +08:00
Robert Schulze
31ae84604f
Some fixups 2023-10-10 09:54:06 +00:00
Joey Wang
06a7b679f6 support merging of nested paths 2023-10-10 14:57:37 +08:00
凌涛
51e2e59a97 Merge remote-tracking branch 'origin/master' into feature/function-getClientHttpHeader 2023-10-10 10:56:24 +08:00
Priyansh Agrawal
9677dedd87 Add negative tests.
Also:
- Add comments in tests.
- Add an example in docs where an IPv4 is casted to an int, byteswapped
  and then casted back to an IPv4.
2023-10-09 21:52:06 +00:00
Priyansh Agrawal
2e4709fd10 Remove "unsigned" from docs now that we support all ints. 2023-10-09 21:16:46 +00:00
Han Fei
fcb19b4f77 Merge branch 'master' into hanfei/statistic 2023-10-09 14:24:58 +02:00
Robert Schulze
624dbcdb4f
Merge pull request #49794 from Lirikl/arrayFold
Added function `arrayFold()`
2023-10-09 13:38:35 +02:00
Aleksandr Musorin
8d0c961af0 Allow drop cache for protobuf format
Before it was impossible to update Protobuf schema without server
restart. With this commit, it is enough to send query `SYSTEM DROP
SCHEMA FORMAT CACHE [FOR Protobuf]`.
2023-10-09 10:41:15 +02:00
Robert Schulze
0e1aed2a38
Merge pull request #55327 from rschu1ze/to_start_of_interval_hours
Refactorings and better documentation for `toStartOfInterval()`
2023-10-08 22:33:12 +02:00
Robert Schulze
07e0cc196d
Some fixups 2023-10-08 20:27:13 +00:00
Robert Schulze
d4e7fa2542
Merge pull request #55123 from garcher22/untuple
Use the tuple element names as column names in `untuple()`
2023-10-08 20:14:29 +02:00
Robert Schulze
32a77ca1eb
Merge pull request #54391 from itayisraelov/israelov/generate-random-int-array
Add function `arrayRandomSample()`
2023-10-08 18:28:58 +02:00
Robert Schulze
558b2ff7b9
Fix spelling 2023-10-08 13:50:33 +00:00
Robert Schulze
3f33c32684
Fix style 2023-10-08 10:46:28 +00:00
Robert Schulze
8c35ccf9e8
Some fixups 2023-10-08 10:29:46 +00:00
Robert Schulze
8a8f769508
Update docs 2023-10-08 10:16:05 +00:00
Priyansh Agrawal
2c04370e5f Use std::byteswap instead of custom implementations.
- Also allow signed ints now because std::byteswap accepts them.
- Fix for style check.
2023-10-07 23:59:24 +00:00
Priyansh Agrawal
302291e17b Address a few review comments.
- Consider byteswap injective.
- Make function case-insensitive.
- Add in-code documentation and copy-paste it to the markdown docs.
2023-10-07 23:05:07 +00:00
Robert Schulze
312fe8e31d
Merge pull request #55298 from rschu1ze/use_mysql_types_in_show_columns
Make `use_mysql_types_in_show_columns` independent from the connection
2023-10-07 22:03:24 +02:00
Robert Schulze
73ff017fb5
Merge remote-tracking branch 'rschu1ze/master' into israelov/generate-random-int-array 2023-10-07 18:10:09 +00:00
Robert Schulze
3580c4d730
Fixups 2023-10-07 18:08:54 +00:00
Robert Schulze
2e8cac6e9c
Make use_mysql_types_in_show_columns independent from the connection
Fixes: #55273
2023-10-07 13:06:41 +00:00
Robert Schulze
a72ae92328
Make the logging in the query cache easier to understand 2023-10-07 11:33:11 +00:00
robot-ch-test-poll4
70c3f31926
Merge pull request #55250 from ethshea/studentt-doc-fix
Fix broken link rendering in studentTTest.md
2023-10-05 14:01:19 +02:00
robot-clickhouse
61ff2131b5
Merge pull request #55258 from codenation-nl/patch-1
Update truncate.md
2023-10-05 13:51:58 +02:00
Avery Fischer
ecac99f45e
Fix docs typo (makeDateTime32 -> makeDateTime64)
Appears to have been a simple typo. Fixing to the actual function!
2023-10-05 13:10:54 +02:00
Jens Hoevenaars
9d63f86259
Update truncate.md
Small typo in command
2023-10-05 12:11:33 +02:00
Ethan Shea
95b68743c6 Fix broken link rendering in studentTTest.md 2023-10-04 21:47:06 -04:00
Priyansh Agrawal
540d966033 Docs and comment 2023-10-02 22:51:58 +01:00
pdy
72e4559d30 edit wrong example in en doc 2023-10-01 18:53:41 +08:00
Alexey Milovidov
9aaab27373
Merge pull request #55120 from ClickHouse/fix-functions-in-docs
Fix function names in docs
2023-09-30 00:36:39 +03:00
Robert Schulze
16bac8a18f
Merge pull request #55150 from rschu1ze/docs-54820
Docs: Fix #54820
2023-09-29 18:31:12 +02:00
Robert Schulze
bbbd05e7c7
Docs: Fix #54820 2023-09-29 15:49:56 +00:00
Alexey Milovidov
458cbb3b18 Fix function names in docs 2023-09-29 10:15:46 +02:00
Alexey Milovidov
8f9a227de1
Merge pull request #54931 from yariks5s/s3_style_url
s3-style URL fix
2023-09-29 07:12:01 +03:00
yariks5s
24fb96c91f changed docs 2023-09-28 15:20:09 +00:00
Nikolay Degterinsky
9ebecb5499
Merge pull request #54639 from evillique/timestamp-function
Add `timestamp` function for compatibility with MySQL
2023-09-28 16:44:16 +02:00