Commit Graph

341 Commits

Author SHA1 Message Date
Blargian
84e81daa3e Second pass fix remaining broken links 2024-06-12 15:09:50 +02:00
Blargian
d851fa871f Fix broken links in docs 2024-06-12 14:09:37 +02:00
Robert Schulze
b3fb2f7d5e
Merge pull request #64496 from Blargian/docs_UTCTimestamp
[Docs] add missing `UTCTimestamp` function
2024-05-29 09:34:00 +00:00
Robert Schulze
0dbb33232a
Merge pull request #64458 from Blargian/document_toStartOf
[Docs] add missing `toStartOfMillisecond`, `toStartOfMicrosecond`, `toStartOfNanosecond`
2024-05-28 22:21:08 +00:00
Blargian
98e6f115d5 Add link to now function 2024-05-28 10:39:17 +02:00
Blargian
ebacc95df3 Add missing UTCTimestamp function 2024-05-28 10:35:00 +02:00
Blargian
985e327553 Add missing toStartOfNanosecond 2024-05-27 17:10:32 +02:00
Blargian
9f72635c4e Add missing toStartOfMillisecond, toStartOfMicrosecond 2024-05-27 16:58:58 +02:00
Blargian
029e2ea226 Standardize references to data type docs 2024-05-24 05:54:16 +02:00
Shaun Struwig
3b2ff65994
Merge branch 'master' into docs_return_type_consistency 2024-05-23 17:29:26 +02:00
Blargian
87b4d43a3f Update return type formatting 2024-05-23 15:48:20 +02:00
Blargian
ce26c4f657 Review changes and replace … with ... 2024-05-23 13:54:45 +02:00
Blargian
2f3231541c Make relevant changes to subtractXYZ 2024-05-08 23:58:51 +02:00
Shaun Struwig
c238ccd350
Merge branch 'master' into document_addXYZ 2024-05-08 23:54:52 +02:00
Blargian
f9965b6430 Review changes 2024-05-08 23:46:15 +02:00
Shaun Struwig
c0d2a99a9e
Update date-time-functions.md 2024-05-06 16:51:23 +02:00
Robert Schulze
08bcbfc251
Merge pull request #63418 from Blargian/patch-3
[Docs] Fix casing issues
2024-05-06 14:49:49 +00:00
Robert Schulze
a65e208892
Merge pull request #63414 from rschu1ze/docs-update
Docs: Various minor docs updates
2024-05-06 14:40:14 +00:00
Shaun Struwig
87176fdd13
Update date-time-functions.md
- Change parameter `x` to `num` to be more idiomatic.
- Correct issues with casing in types.
2024-05-06 16:37:30 +02:00
Robert Schulze
1dff80374c
Docs: toStartOfInterval uses uppercase units
For consistency with existing documentation
https://clickhouse.com/docs/en/sql-reference/data-types/special-data-types/interval

... and with MySQL
2024-05-06 13:53:36 +00:00
Nikita Mikhaylov
d0c71e1a59
Merge pull request #63251 from Blargian/document_subtractXYZ
[Docs] `subtractXYZ`
2024-05-06 12:34:28 +00:00
Jordi Villar
81e4a754d9 Document start of week differences 2024-05-02 12:51:53 +02:00
Blargian
8de8095480 Update addXYZ documentation 2024-05-02 11:56:14 +02:00
Mattias Naarttijärvi
ea02af6e92
Update date-time-functions.md
Fix broken link to `toStartOfInterval`.
2024-05-02 08:49:38 +02:00
Blargian
33ec14758d Document subtractXYZ 2024-05-01 22:12:43 +02:00
Jordi Villar
8c3a9bc9c7 Revert "Merge pull request #60598 from jrdi/week-default-mode"
This reverts commit 61df8aa466, reversing
changes made to c6d21aebb5.
2024-04-30 09:23:25 +02:00
Blargian
e0c5886982 Undo changes to date-time functions which should be on another branch 2024-04-29 08:20:39 +02:00
Blargian
a4478e8db0 Update timeSlots function 2024-04-28 22:01:31 +02:00
Blargian
2218347180 Update timeslot function 2024-04-28 21:39:11 +02:00
Nikita Mikhaylov
6c7752d4c5
Merge pull request #62632 from pakud/patch-1
documenting alternative syntax that's supported for DATE_ADD, DATE_SUB
2024-04-25 15:54:07 +00:00
Robert Schulze
61df8aa466
Merge pull request #60598 from jrdi/week-default-mode
Add setting `first_day_of_week` for function `toStartOfInterval`
2024-04-17 08:31:46 +00:00
Yarik Briukhovetskyi
ffeec296a1
Merge pull request #62335 from Misz606/patch-5
Added nano- micro- milliseconds unit for `date_trunc`
2024-04-16 23:16:46 +00:00
Paweł Kudzia
210efe1621
documenting alternative syntax that's supported for DATE_ADD, DATE_SUB
this is related to issue https://github.com/ClickHouse/ClickHouse/issues/25815 

i'm adding examples for:
date_add(date, INTERVAL value unit) and date_sub(date, INTERVAL value unit) 

both are covered with a test from e3c09e9703/tests/queries/0_stateless/02160_special_functions.sql (L33) ; i think it's worth documenting them as the syntax is familiar to MySQL users [ https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_date-add ]
2024-04-15 08:50:01 +02:00
Jordi Villar
a4c3153453 Rollback date_diff changes 2024-04-11 15:55:12 +02:00
Robert Schulze
2cc801e74c Some fixups 2024-04-11 15:55:12 +02:00
Jordi Villar
cf51d801ae Documentation 2024-04-11 15:55:12 +02:00
Robert Schulze
486128bd0e Some fixes 2024-04-11 15:55:12 +02:00
Robert Schulze
4ed518d6ad
Docs: Update date_add 2024-04-10 14:21:55 +00:00
Yarik Briukhovetskyi
d9d9174299
Update date-time-functions.md 2024-04-05 15:09:06 +02:00
Misz606
497e3bb48f
Added nanoseconds and milliseconds for date trunc. 2024-04-05 09:03:46 -04:00
Austin Kothig
cefdbfb7c3
Applying feedback. 2024-03-20 07:05:49 -07:00
Austin Kothig
5020741b25
Add support for nanosecond level precision. 2024-03-14 14:34:45 -07:00
Robert Schulze
1c10b96361
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-54746_to_millisecond_function 2024-03-06 09:04:57 +00:00
robot-ch-test-poll4
c46ffbaf24
Merge pull request #60700 from Blargian/document_function_today
Update documentation for `today` function
2024-03-03 18:23:01 +01:00
Blargian
b910a66f19 Update example to showcase aliases 2024-03-03 13:18:35 +01:00
Blargian
27231a9542 Add example query and response 2024-03-03 13:14:29 +01:00
Blargian
8e79b229b1 Update documentation for function 2024-03-03 10:49:59 +01:00
Blargian
e3329a44a8 Add missing documentation for timeDiff function 2024-03-01 21:17:49 +01:00
Robert Schulze
68181ab00f
Revert "Revert "Add toMillisecond function""
This reverts commit 5225fc6a14.
2024-03-01 13:14:44 +00:00
Alexander Tokmakov
5225fc6a14
Revert "Add toMillisecond function" 2024-03-01 13:59:03 +01:00