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
345d29a3c1
Revert "Implement punycode encoding/decoding"
2023-12-28 09:12:22 +03:00
Kruglov Pavel
4b2a0b99fc
Update docs/en/sql-reference/functions/other-functions.md
2023-12-27 20:02:50 +01:00
Christoph Wurm
9def89d416
Fix anchors to settings.md
2023-12-20 18:26:36 +00: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
avogar
319ae440b6
Implement Variant data type
2023-12-19 16:45:15 +00:00
Robert Schulze
00c407ecc1
Merge remote-tracking branch 'rschu1ze/master' into punycode-is-cool
2023-12-19 06:27:23 +00: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
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
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
Bhavna Jindal
bb8589cabe
minor cosmetic changes
2023-12-14 08:34:37 -08: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
Robert Schulze
d0a4443bbc
Consolidate substring() tests
2023-12-13 16:49:39 +00: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
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
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
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
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
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
slvrtrn
8eff62a4de
Merge remote-tracking branch 'origin' into substr-with-enums
2023-12-01 03:43:48 +01:00
Denny Crane
e33efaff9f
Revert "Update date-time-functions.md"
2023-11-28 15:56:51 -04:00
Robert Schulze
b56b48d2de
Update docs
2023-11-28 14:59:20 +00: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
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
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
slvrtrn
497e5abc47
Add a doc entry.
2023-11-28 00:09:36 +01:00
Robert Schulze
4c236b34f0
Another small cleanup
2023-11-27 11:09:07 +00: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
2e7c16e138
Fix broken links
2023-11-25 19:47:32 +00:00
Robert Schulze
75ceaf6200
Docs: Improve math function docs
2023-11-24 14:31:39 +00:00
Tomáš Hromada
956a8add35
Update other-functions.md
...
Fix `initializeAgregation` typo
2023-11-23 15:57:19 +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
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
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
slvrtrn
c7cd4fa972
Update concat docs
2023-11-15 14:57:34 +01: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
Robert Schulze
82f5e92bf5
Update docs of fromUnixTimeStamp[InJodaSyntax]()
2023-11-10 11:11:42 +00: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
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
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
8a64066ee1
+ formatQueryOrNull()
2023-11-05 20:24:23 +00: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