Commit Graph

410 Commits

Author SHA1 Message Date
Kruglov Pavel
9b055c3a43
Use assert_cast to prevent nullptr dereference on bad column types in FunctionsConversion 2024-03-11 20:38:30 +01:00
Nikita Mikhaylov
82ba97c3a7
More explicit template instantiations (#60730) 2024-03-07 17:16:13 +01:00
Kruglov Pavel
a7eabbbe3a
Merge branch 'master' into variant-improvements 2024-02-28 17:38:54 +01:00
Alexey Milovidov
b0ab0b37db
Merge pull request #60434 from ClickHouse/revert-60216-revert-59697-check-stack-size-in-parser
Revert "Revert "Check stack size in Parser""
2024-02-28 19:20:49 +03:00
Alexey Milovidov
c192a448d0 Update to clang-19 2024-02-27 14:37:21 +01:00
Alexey Milovidov
0b90076a36
Revert "Revert "Check stack size in Parser"" 2024-02-27 01:34:50 +03:00
Antonio Andelic
fee1565780
Revert "Check stack size in Parser" 2024-02-21 11:33:08 +01:00
avogar
122dc6769d Fixes and improvements for Variant type 2024-02-20 18:58:06 +00:00
Alexey Milovidov
fa1ca348a4 Miscellaneous 2024-02-19 03:19:21 +01:00
avogar
5833641fa5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-data-type 2024-01-26 16:54:02 +00:00
Yarik Briukhovetskyi
da1cf46b14
Fix fuzzer 2024-01-25 15:47:32 +01:00
yariks5s
c277148ee1 enhanced tests, fix 2024-01-25 12:01:51 +00:00
yariks5s
4deb1eab19 init 2024-01-24 18:17:19 +00:00
Kruglov Pavel
5444cde408
Merge branch 'master' into variant-data-type 2024-01-18 18:31:27 +01:00
Dmitry Novik
3a1c3638e8 Style fix 2024-01-17 15:04:50 +00:00
Kruglov Pavel
4d8cf71ba7
Merge branch 'master' into variant-data-type 2024-01-03 15:21:23 +01:00
Alexey Milovidov
e4444e1db4 More minor changes 2024-01-01 19:17:04 +01:00
zvonand
c1705bc0c7 fix accurateCastOrNull 2023-12-21 22:30:51 +01:00
avogar
319ae440b6 Implement Variant data type 2023-12-19 16:45:15 +00:00
Yakov Olkhovskiy
63619b5935 allow IPv6 to UInt128 conversion and binary arithmetic 2023-12-09 17:57:32 +00:00
Robert Schulze
e2b25aab0c
Fixups, pt. II 2023-11-15 15:53:38 +00:00
Alexey Milovidov
9ed47749de
Merge pull request #56644 from evillique/fix-cast-nullable-enum-to-string
Fix conversion from `Nullable(Enum)` to `Nullable(String)`
2023-11-13 02:48:34 +01:00
Nikolay Degterinsky
d3ac896131 Fix conversion from Nullable(Enum) to Nullable(String) 2023-11-12 19:02:42 +00:00
Alexey Milovidov
8c253b9e3e Remove C++ templates 2023-11-10 05:25:02 +01:00
Robert Schulze
8896134531
Cleanup IDataType convenience functions 2023-11-06 13:25:32 +00:00
Andrey Zvonov
2da12ec291
Update FunctionsConversion.h 2023-10-27 01:13:52 +02:00
zvonand
35baf7792d cleanup after rebase, add [[unlikely]] 2023-10-26 23:56:45 +02:00
zvonand
0766c73aab Rename date_time_overflow_mode -> date_time_overflow_behavior, moved it to format settings 2023-10-25 23:11:13 +02:00
zvonand
5b86e8c714 updated after review 2023-10-25 23:10:58 +02:00
zvonand
2f3695add8 Introduce setting for dt overflow exception
Added tests and docs
2023-10-25 23:10:24 +02:00
Salvatore Mesoraca
6b7b3a641f
Fix more fuzzying issues 2023-10-24 13:36:56 +02:00
Salvatore Mesoraca
22ae8731f2
Handle the case when bool serialization generates incorrect values on failure
Fix issue found by fuzzer
2023-10-24 13:36:55 +02:00
Salvatore Mesoraca
fa76a88c4f
Revert "Revert "Fix issues in accurateCastOrNull""
This reverts commit 71d37d64ab.
2023-10-24 13:36:52 +02:00
robot-clickhouse
63243fbc03
Merge pull request #54480 from amosbird/fix_54406
Fix aggregate projections with normalized states
2023-09-12 13:43:41 +02:00
Amos Bird
667426f1f2
DataTypeAggregateFunction::strictEquals 2023-09-12 03:54:19 +08:00
Amos Bird
9e56cff588
Better lambda capture 2023-09-12 02:49:27 +08:00
Yarik Briukhovetskyi
97f4625037
Merge pull request #54443 from yariks5s/non_const_timezone_fixup
ToString() performance improvement and code cleanup
2023-09-11 10:50:56 +03:00
Amos Bird
fb0f9ff565
Fix aggregate projections with normalized states 2023-09-10 03:21:22 +08:00
Alexey Milovidov
71d37d64ab
Revert "Fix issues in accurateCastOrNull" 2023-09-09 06:37:02 +03:00
Yarik Briukhovetskyi
12ce57369b
Update FunctionsConversion.h 2023-09-08 15:36:33 +02:00
yariks5s
66479b6966 code cleanup and performance improvement 2023-09-08 10:54:25 +00:00
Robert Schulze
7fef4c8cb6
Merge pull request #53680 from yariks5s/todatatime-non-const-data
Support non-constant timezone arguments in toString() and formatDateTime()
2023-09-07 22:11:17 +02:00
yariks5s
5afca8a903 optimized toString() 2023-09-07 12:41:01 +00:00
yariks5s
0c802df855 small improvement 2023-09-06 13:33:11 +00:00
Salvatore Mesoraca
f61390e12c
Fix style issue 2023-09-06 08:42:45 +02:00
Salvatore Mesoraca
058630481a
Re-throw exceptions that are not related to bool parsing errors 2023-09-05 18:37:10 +02:00
Salvatore Mesoraca
1d3e28d301
Fix unrelated format issues that clang-format complained about 2023-09-05 18:37:10 +02:00
Salvatore Mesoraca
fcff853dcf
Return Null instead of default in accurateCastOrNull for invalid IPs 2023-09-05 18:37:09 +02:00
Salvatore Mesoraca
393667dc39
accurateCastOrNull must not throw when casting arbitrary string to Bool
Fix #38585
2023-09-05 18:37:03 +02:00
Yarik Briukhovetskyi
7f4fa192c5
Merge branch 'ClickHouse:master' into todatatime-non-const-data 2023-09-05 12:48:56 +03:00