Dmitry Kardymon
7263769d20
Add constexpr / fix date check
2023-06-08 06:12:54 +00:00
Dmitry Kardymon
cf886d8ced
Remove IsConvertible()
2023-06-06 11:08:21 +00:00
Dmitry Kardymon
fa5f890a7a
Added ru function descriptions (docs)
2023-06-02 12:03:50 +00:00
Dmitry Kardymon
a22e80eed5
Remove whitespaces
2023-06-01 19:52:48 +00:00
Dmitry Kardymon
38abcd1c44
Add nullable support to DateTimeTransformImpl
2023-06-01 19:25:53 +00:00
Dmitry Kardymon
54d526c75c
Add cast type supprt to DateTimeTransformImpl
2023-06-01 14:22:57 +00:00
Antonio Andelic
914e0fbb0a
Fix monotonic check with DateTime64
2023-03-13 16:30:32 +00:00
kigerzhang
46161bc4e9
fix style
2023-02-07 10:03:03 +08:00
zk_kiger
b13eaf5e68
Merge branch 'master' into improve_format_datetime_joda
2023-02-06 19:16:10 +08:00
kigerzhang
e1c9b8c155
Add new functionality to the function FormatDataTime
2023-01-31 10:20:59 +08:00
Robert Schulze
bd41c74ddf
Various test, code and docs fixups
2023-01-15 13:47:34 +00:00
Robert Schulze
4ea836b87e
Revert "Revert "update function DAYOFWEEK and add new function WEEKDAY for mysql/spark compatiability""
...
This reverts commit e37f572c34
.
2023-01-13 14:00:16 +00:00
Alexander Tokmakov
e37f572c34
Revert "update function DAYOFWEEK and add new function WEEKDAY for mysql/spark compatiability"
2023-01-12 15:01:36 +03:00
taiyang-li
4bc2c61406
change as request
2023-01-09 20:37:16 +08:00
taiyang-li
20c7c0b1ef
change as request
2023-01-09 18:21:31 +08:00
Robert Schulze
3f03b0b53d
Revert "Revert "Add function 'age'""
...
This reverts commit 4549b14027
.
2022-12-20 10:18:43 +00:00
Alexey Milovidov
4549b14027
Revert "Add function 'age'"
2022-12-13 23:28:09 +03:00
Roman Vasin
298a7055fa
Replace time_t with DateLUTImpl::Time
2022-12-02 16:40:36 +00:00
Roman Vasin
96d7cf319b
Merge branch 'master' into ADQM-623
2022-11-30 19:25:53 +03:00
Igor Nikonov
f40f3949bd
Use DateLUTImpl::Time instead of Int64
2022-11-28 13:42:22 +01:00
zzsmdfj
21f2cffa4d
fix date_diff wrong result build by darwin
2022-11-22 18:58:37 +08:00
Roman Vasin
8f3a7b5024
Change algorithm into more accurate
2022-11-10 10:27:18 +00:00
Azat Khuzhin
4eeb7337ed
Merge remote-tracking branch 'upstream/master' into build/shorten-64-to-32
...
Conflicts:
- src/Common/intExp.h
- src/Functions/DateTimeTransforms.h
- src/Functions/FunctionsConversion.h
2022-10-21 22:51:56 +02:00
Alexey Milovidov
592fbb3eaf
Merge pull request #42367 from ClickHouse/revert-40217
...
Revert #40217
2022-10-21 21:56:15 +02:00
Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Roman Vasin
885f71d5f5
Replace is_extended_result by ResultPrecision
2022-10-20 08:18:22 +00:00
Roman Vasin
c0f18f29bb
Remove toExtendedReplated; Add template argument is_extended_result
2022-10-19 13:23:21 +00:00
Alexey Milovidov
d1f0c80ffe
Revert "Merge pull request #40217 from zvonand/zvonand-minmax"
...
This reverts commit df934d8762
, reversing
changes made to d3a7945b1b
.
2022-10-17 04:57:15 +02:00
Robert Schulze
d726ca3212
Refactoring: Un-inline some error handling methods
2022-10-02 19:52:40 +00:00
Roman Vasin
f716fc2fe5
Put list of functions in correct order in docs; Use new formatting in exception messages.
2022-09-30 07:54:35 +00:00
Roman Vasin
c6fda60f32
Cleanup code
2022-09-29 15:45:49 +00:00
Roman Vasin
02e08fa301
Use another approach for timeSlot()
2022-09-29 15:44:56 +00:00
Roman Vasin
22ccce6946
Remove WithContext; Rename execute_extended_result to executeExtendedResult
2022-09-29 09:29:07 +00:00
Roman Vasin
36274baba9
Code cleanup
2022-09-26 15:36:32 +03:00
Roman Vasin
2a92c2aae9
Fix timeSlot() for DateTime64 argument
2022-09-26 15:26:07 +03:00
Roman Vasin
348f28a3e7
Fix toStartOfFiveMinutes, toStartOfTenMinutes, toStartOfFifteenMinutes
2022-09-22 13:30:40 +00:00
Roman Vasin
cdd20241bf
Finish toStartOfDay; fix toStartOfMinute
2022-09-22 13:16:46 +00:00
Roman Vasin
4ddd6f3c60
Fix timeSlot(); partial fix StartOfDay
2022-09-22 09:19:22 +00:00
Roman Vasin
49b0da0273
Add date32IsNotSupported()
2022-09-22 07:15:03 +00:00
Roman Vasin
f6ebd94ce1
Add execute_extended_result for Date32 argument
2022-09-22 07:07:04 +00:00
Roman Vasin
30c4719f7b
Add FunctionDateOrDateTimeToDateTimeOrDateTime64; function toStartOfHour works
2022-09-21 12:58:57 +00:00
Roman Vasin
d82cd7b007
Add many cosmetic changes to C++ code and MD docs
2022-09-16 09:37:30 +00:00
Roman Vasin
7e733887b9
Add narrowing for toStartOfISOYear; improve 02403_enable_extended_results_for_datetime_functions
2022-09-16 08:40:15 +00:00
Roman Vasin
563449779c
Replace enable_date32_results by enable_extended_results_for_datetime_functions
2022-09-15 12:48:09 +00:00
Roman Vasin
b03a0a724f
Enable Date32 results for toStartOfYear, toStartOfISOYear, toStartOfQuarter, toStartOfMonth, toMonday, toLastDayOfMonth
2022-09-09 13:25:52 +00:00
Roman Vasin
e1833d3cd6
Merge branch 'master' into ADQM-528-B
2022-09-02 10:40:44 +00:00
zvonand
24dfa0c64a
tryfix darwin
2022-08-25 12:28:15 +03:00
zvonand
e257f9d0cd
update docs, tests + small fixes
2022-08-24 01:09:14 +03:00
Roman Vasin
423a4f22cc
Fix toStartOfYear, toStartOfISOYear, toStartOfQuarter and toStartOfMonth to return Date32
2022-08-23 16:55:53 +00:00
Roman Vasin
505a8ad0e0
Fix toMonday() function to return Date32
2022-08-23 15:39:21 +00:00