Alexey Milovidov
125b2ab214
Suppressions for PVS-Studio
2021-05-08 19:10:23 +03:00
feng lv
59f5f2d03c
Add hints for enum names
...
add test
2021-05-06 14:22:54 +00:00
Maksim Kita
318c4bb80d
Add examples folder filter to ya.make.in
2021-04-30 11:25:52 +03:00
Nikolai Kochetov
c508868570
Merge pull request #23082 from ClickHouse/explain-output
...
JSON output for EXPLAIN
2021-04-28 15:39:06 +03:00
Nikita Mikhaylov
9f55424250
move to examples everywhere
2021-04-27 01:51:42 +03:00
Maksim Kita
ceaf6d57b7
Merge pull request #23393 from ClickHouse/revert-17359
...
Revert argMin/Max for single Tuple argument.
2021-04-22 13:32:04 +03:00
mergify[bot]
71bca99bbf
Merge branch 'master' into explain-output
2021-04-22 07:02:47 +00:00
Maksim Kita
ddcffcb723
Fixed tests
2021-04-22 00:19:01 +03:00
Alexey Milovidov
502bc3575c
Revert #17359
2021-04-21 00:22:29 +03:00
Alexey Milovidov
416efbacbb
Keep default timezone on DateTime operations if it was not provided explicitly #4854
2021-04-21 00:08:06 +03:00
Nikolai Kochetov
8c2d58333a
Merge branch 'master' into explain-output
2021-04-19 17:40:27 +03:00
Alexey Milovidov
36fe378a17
Fix fairly terrible bug in LowCardinality #16171
2021-04-17 02:11:21 +03:00
Nikolai Kochetov
9b86c19836
Use JSONBuilder for explain json result.
2021-04-14 17:07:56 +03:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
alexey-milovidov
2de808ec5a
Update SerializationNullable.cpp
2021-04-03 12:50:57 +03:00
Alexey Milovidov
7a4637c645
Fix deserialization of empty string without newline at end of TSV format
2021-04-02 23:54:03 +03:00
Anton Popov
421d8eb180
fux build
2021-03-26 17:34:04 +03:00
Anton Popov
da2d0d2682
fix build
2021-03-25 17:18:29 +03:00
Anton Popov
6a15431be7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-25 15:57:35 +03:00
Alexander Kuzmenkov
d40f781b9a
Merge origin/master into tmp (using imerge)
2021-03-22 23:27:18 +03:00
Alexander Kuzmenkov
77a2f03d3b
prevent accidental reinterpret_cast in Field::get<>
2021-03-22 23:23:44 +03:00
Alexey Milovidov
637b683ae9
Fix clang-tidy
2021-03-16 18:35:14 +03:00
Alexey Milovidov
3f67f4f47b
Saturation for DateTime
2021-03-15 23:40:33 +03:00
Alexey Milovidov
31d7f10a94
Remove bad code
2021-03-15 23:34:42 +03:00
alexey-milovidov
53e21443eb
Merge branch 'master' into DateTime64_extended_range
2021-03-14 12:27:17 +03:00
Anton Popov
81ac6382a3
slightly better performance
2021-03-13 21:05:18 +03:00
Anton Popov
6800e53652
fix arcadia build
2021-03-13 03:01:06 +03:00
Anton Popov
ed42437219
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-13 01:41:26 +03:00
Nikita Mikhaylov
e234990cf6
Merge pull request #19257 from nikitamikhaylov/geometry_functions
...
Merging geometry functions
2021-03-12 17:05:24 +03:00
Nikita Mikhailov
954c206a53
rewrite parser
2021-03-11 15:08:18 +03:00
Nikita Mikhailov
05cf1b5bc5
better
2021-03-11 15:08:18 +03:00
Nikita Mikhailov
bf07c098a6
more checks of input type
2021-03-11 15:08:18 +03:00
Nikita Mikhailov
2475143ed3
fix style
2021-03-11 15:08:17 +03:00
Alexey Ilyukhov
3be3d5cde8
Move all data types to header
2021-03-11 15:08:16 +03:00
Alexey Ilyukhov
e6f18d564d
Add missing header
2021-03-11 15:08:16 +03:00
Alexey Ilyukhov
fe83825211
Plz hekb
2021-03-11 15:08:16 +03:00
Anton Popov
df6663dcb6
refactoring of serializations
2021-03-09 20:02:26 +03:00
Anton Popov
bc417cf54a
refactoring of serializations
2021-03-09 17:46:52 +03:00
Anton Popov
be540e442d
return back data types
2021-03-09 17:10:28 +03:00
Anton Popov
1e61f64f95
move data types to serializations
2021-03-09 17:04:20 +03:00
Alexey Milovidov
4e8239e098
Merge branch 'master' into DateTime64_extended_range
2021-03-03 23:43:20 +03:00
Anton Popov
ad5a03e8a4
improve support of integer keys in type Map
2021-02-24 21:13:26 +03:00
Anton Popov
b6a519cd04
Merge remote-tracking branch 'upstream/master' into HEAD
2021-02-24 19:45:38 +03:00
Vasily Nemkov
2d03d330bc
Extended range of DateTime64 to years 1925 - 2238
...
The Year 1925 is a starting point because most of the timezones
switched to saner (mostly 15-minutes based) offsets somewhere
during 1924 or before. And that significantly simplifies implementation.
2238 is to simplify arithmetics for sanitizing LUT index access;
there are less than 0x1ffff days from 1925.
* Extended DateLUTImpl internal LUT to 0x1ffff items, some of which
represent negative (pre-1970) time values.
As a collateral benefit, Date now correctly supports dates up to 2149
(instead of 2106).
* Added a new strong typedef ExtendedDayNum, which represents dates
pre-1970 and post 2149.
* Functions that used to return DayNum now return ExtendedDayNum.
* Refactored DateLUTImpl to untie DayNum from the dual role of being
a value and an index (due to negative time). Index is now a different
type LUTIndex with explicit conversion functions from DatNum, time_t,
and ExtendedDayNum.
* Updated DateLUTImpl to properly support values close to epoch start
(1970-01-01 00:00), including negative ones.
* Reduced resolution of DateLUTImpl::Values::time_at_offset_change
to multiple of 15-minutes to allow storing 64-bits of time_t in
DateLUTImpl::Value while keeping same size.
* Minor performance updates to DateLUTImpl when building month LUT
by skipping non-start-of-month days.
* Fixed extractTimeZoneFromFunctionArguments to work correctly
with DateTime64.
* New unit-tests and stateless integration tests for both DateTime
and DateTime64.
2021-02-24 17:08:35 +02:00
alexey-milovidov
29a29f5060
Merge pull request #19765 from kssenii/fffix
...
Fix #19371
2021-02-24 17:40:15 +03:00
Vitaly Baranov
92bf2cfb50
Merge pull request #20968 from vitlibar/protobuf-format-better-tests
...
Better tests for protobuf format.
2021-02-24 15:47:39 +03:00
Maksim Kita
f001a6755e
Updated for map
2021-02-22 23:32:43 +03:00
alexey-milovidov
cb8cfdba77
Merge branch 'master' into fffix
2021-02-22 23:08:44 +03:00
Vitaly Baranov
2eecaee08d
Better tests for protobuf format.
2021-02-20 23:13:32 +03:00
Alexey Milovidov
64e76a4a8d
Minor changes in Decimal
2021-02-20 21:13:36 +03:00