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
Priyansh Agrawal
540d966033
Docs and comment
2023-10-02 22:51:58 +01:00
Priyansh Agrawal
f27a76b923
Add function byteSwap
.
...
byteSwap accepts an integer `operand` and returns the integer which is
obtained by swapping the **endianness** of `operand` i.e. reversing the
bytes of the `operand`.
Issue: #54734
2023-09-24 21:02:09 +01:00
Robert Schulze
ec09fd124d
Merge pull request #54856 from slvrtrn/to-days-since-year-zero-datetime
...
`DateTime`/`DateTime64` support in `toDaysSinceYearZero()`
2023-09-22 20:39:54 +02:00
Robert Schulze
a7c4efb845
Simpler
2023-09-22 13:13:55 +00:00
Robert Schulze
be1e92a2ac
Merge pull request #54518 from rschu1ze/split-better
...
Provide fallback to Python/Spark-like splitting in splitBy*() functions
2023-09-22 12:07:45 +02:00
slvrtrn
a68fbe073b
Update toDaysSinceYearZero docs
2023-09-20 18:02:53 +02:00
Robert Schulze
774c4b52da
Rework
2023-09-19 12:20:53 +00:00
Robert Schulze
4ed5b903b4
Docs: remove anchor prefix
2023-09-18 18:35:59 +00:00
robot-ch-test-poll2
c3a5d7dbf0
Merge pull request #54758 from rschu1ze/docs-qc
...
Docs: Update query cache section on non-deterministic functions
2023-09-18 20:01:46 +02:00
Robert Schulze
6872e95fb2
Remove prefixes
2023-09-18 17:34:40 +00:00
Robert Schulze
3753a78d1b
Fix anchors
2023-09-18 17:24:49 +00:00
Robert Schulze
b14e00f966
Docs: Update query cache section on non-deterministic functions
...
Cf. https://github.com/ClickHouse/support-escalation/issues/963
2023-09-18 14:36:16 +00:00
Robert Schulze
2a5aa289e8
Implement true Python/Spark split behavior
2023-09-18 07:42:57 +00:00
Robert Schulze
b5b2cc511b
Pythonic vs Spark splitting
2023-09-18 07:42:52 +00:00
Robert Schulze
3935c2bfb2
Merge pull request #54509 from rschu1ze/yyyymmdd
...
Add YYYYMMDD[hhmmss]to[Date, Date32, DateTime, DateTime64]()
2023-09-15 15:47:34 +02:00
Robert Schulze
aff9dfa630
Minor docs fixes
2023-09-15 11:26:24 +00:00
Nikolay Degterinsky
140a466a1e
Merge pull request #54400 from evillique/adddate-function
...
Add `addDate` function for compatibility with MySQL
2023-09-13 18:59:26 +02:00
Nikolay Degterinsky
e648646598
Fixes
2023-09-12 23:11:58 +00:00
Nikolay Degterinsky
cf662712ea
Add new subDate function, apply review suggestions
2023-09-12 16:47:43 +00:00
Robert Schulze
49f29861a0
Merge pull request #54479 from rschu1ze/todayssinceyearzero
...
Add function toDaysSinceYearZero()
2023-09-11 17:05:28 +02:00
Robert Schulze
73ce1993fb
Continue #45070
2023-09-11 13:47:06 +00:00
Robert Schulze
2a8e2a0882
Docs: Mention behavior change of splitByChar() in v22.11, see #42673
2023-09-10 14:12:12 +00:00
Robert Schulze
caadfe393b
Fixes
2023-09-10 13:34:02 +00:00
Robert Schulze
1ce84774f0
Implement toDaysSinceYearZero() / to_days() (MySQL alias)
...
Fixes : #54277
2023-09-09 16:59:39 +00:00
Denny Crane
f5f741c118
Update type-conversion-functions.md
2023-09-08 16:15:33 -03:00
Denny Crane
24928217b9
Update date-time-functions.md
2023-09-08 16:14:00 -03:00
Denny Crane
3f58e2f134
Update date-time-functions.md
2023-09-08 16:10:16 -03:00
Denny Crane
a0ef063b2d
Update date-time-functions.md
2023-09-08 16:04:35 -03:00
Denny Crane
2d178e9bfd
Update type-conversion-functions.md
2023-09-08 15:58:24 -03:00
Leonardo Maciel
0b396ee7b4
Fixed detectLanguage mixed example
2023-09-07 22:27:22 -03:00
Nikolay Degterinsky
b06412ae60
Add addDate function for compatibility with MySQL
2023-09-07 11:15:49 +00:00
Robert Schulze
37cabaf993
Add docs, consolidate tests
2023-09-05 17:31:58 +00:00
Robert Schulze
2ca2bdd7c5
Merge pull request #53768 from ClickHouse/simplify-docs-date-units
...
Simply docs for possible values for date units
2023-09-04 09:11:19 +02:00
robot-clickhouse-ci-1
ec628ee697
Merge pull request #54097 from bharatnc/ncb/decode-html-component
...
add function decodeHTMLComponent
2023-09-04 05:00:52 +02:00
Han Fei
3f2848ea63
Merge pull request #53803 from ClickHouse/revert-53795-revert-53641-feat_53602
...
Revert "Revert "dateDiff: add support for plural units.""
2023-09-03 03:36:03 +02:00
Bharat Nallan Chakravarthy
7889626046
add docs
2023-08-30 21:42:51 -07:00
vdimir
50b8bbe0dc
Merge pull request #53557 from mkmkme/mkmkme/array-shift-rotate
...
Added functions `array{Rotate,Shift}{Left,Right}`
2023-08-25 13:24:31 +02:00
Han Fei
11262d0156
Revert "Revert "dateDiff: add support for plural units.""
2023-08-24 17:11:58 +02:00
Alexander Tokmakov
59efbe4163
Revert "dateDiff: add support for plural units."
2023-08-24 15:35:18 +03:00
Mikhail Koviazin
a5eb1aa22f
Added functions array{Rotate,Shift}{Left,Right}
...
Fixes #52755 and #52895
2023-08-24 09:16:39 +00:00
Justin de Guzman
af43e95f8d
Update date-time-functions doc
2023-08-23 17:42:55 -07:00
Justin de Guzman
2db0e0879d
Simply docs for possible values for date units
2023-08-23 17:39:33 -07:00
Alexey Milovidov
b884fdb867
Merge pull request #53641 from irenjj/feat_53602
...
dateDiff: add support for plural units.
2023-08-23 12:45:35 +03:00
irenjj
0f0b5eb3b1
dateDiff: add support for plural units.
2023-08-21 21:15:00 +08:00
kevinyhzou
48cb9b59f4
Support from/to utc timestamp
2023-08-21 09:28:00 +08:00
Robert Schulze
b8912203e4
Merge pull request #53525 from aiven-sal/aiven-sal/siphash_readd
...
Re-add SipHash keyed functions, try II
2023-08-18 14:14:56 +02:00
Alexey Milovidov
67b45619eb
Merge pull request #53239 from evillique/tuple-concat
...
Add tupleConcat function
2023-08-12 03:35:25 +03:00
Salvatore Mesoraca
08e443b766
Revert "Revert "Re-add SipHash keyed functions""
...
This reverts commit e68234a231
.
2023-08-11 17:30:04 +02:00