Alexey Milovidov
24261476c4
Merge pull request #61820 from ClickHouse/get-client-http-header
...
Add a new function `getClientHTTPHeader`
2024-03-25 17:48:24 +03:00
Alexey Milovidov
21a0d17637
Merge branch 'master' into geodistance-double-precision
2024-03-25 17:47:42 +03:00
Alexey Milovidov
d45a6fe9b9
Fix tidy
2024-03-25 15:46:55 +01:00
Nikolai Kochetov
6d5f2cd7b5
Cleanup
2024-03-25 12:44:28 +00:00
Yarik Briukhovetskyi
20a45b4073
Merge pull request #61564 from liuneng1994/optimize_in_single_value
...
New analyzer pass to optimize in single value
2024-03-25 12:53:01 +01:00
Nikolai Kochetov
abe78e1a7b
Merge branch 'master' into fix-virtual-columns-storage-merge-analyzer
2024-03-25 10:43:23 +00:00
Alexey Milovidov
8cf4c3bd3f
Fix tidy
2024-03-25 03:28:37 +01:00
Alexey Milovidov
c7a48f601a
More tests
2024-03-25 03:12:11 +01:00
Alexey Milovidov
a2a90467ed
Better
2024-03-25 03:11:19 +01:00
Alexey Milovidov
65650809b4
Double precision of geoDistance if the arguments are Float64
2024-03-24 23:11:35 +01:00
Nikolai Kochetov
e6242891be
Merge branch 'master' into fix-analyzer-group-by-use-nulls
2024-03-24 11:41:14 +00:00
Alexey Milovidov
08b7dd9591
Merge branch 'master' into get-client-http-header
2024-03-24 00:54:25 +01:00
Alexey Milovidov
5651c187cc
Merge pull request #61770 from yariks5s/add_current_user_mysql_alias
...
Add `current_user` alias
2024-03-24 01:51:18 +03:00
Alexey Milovidov
78d3351552
Add function getClientHTTPHeader, part 3
2024-03-23 21:48:28 +01:00
Alexey Milovidov
965a3ac2f3
Add function getClientHTTPHeader, part 2
2024-03-23 21:19:35 +01:00
Nikolai Kochetov
dd87e5793f
Merge branch 'master' into fix-analyzer-group-by-use-nulls
2024-03-22 18:24:02 +00:00
Raúl Marín
2377b1eb29
FML
2024-03-22 17:55:50 +01:00
Nikolai Kochetov
5207526910
Fix more tests with wirtual columns in StorageMerge.
2024-03-22 16:55:01 +00:00
Raúl Marín
7be46e117c
Remove another batch of bad templates
2024-03-22 15:00:08 +01:00
yariks5s
5c082a8cc5
init
2024-03-22 13:19:18 +00:00
Raúl Marín
5770fd75da
Merge pull request #61733 from Algunenano/trash_templates
...
FunctionsConversion: Start simplifying templates
2024-03-22 12:23:39 +01:00
Alexey Milovidov
5c0c43aa55
Merge branch 'master' into fix-crash-in-window-view
2024-03-22 04:11:15 +03:00
Raúl Marín
54c5ea8d6d
FunctionsConversion: Remove some templates
2024-03-21 21:14:24 +01:00
Alexey Milovidov
4d113c2190
Merge pull request #61508 from ClickHouse/generic-clickhouse-local-fuzzer
...
Generic fuzzer of query text in clickhouse-local
2024-03-21 21:17:28 +03:00
Alexey Milovidov
ccd34a269b
Merge pull request #61523 from ClickHouse/fix-infinite-loop-hop
...
Fix infinite loop in function `hop`
2024-03-21 21:10:02 +03:00
Alexey Milovidov
9586595849
Fix clang-tidy
2024-03-21 19:09:40 +01:00
Alexey Milovidov
e3c6e62dbb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-crash-in-window-view
2024-03-21 19:08:29 +01:00
Vitaly Baranov
1acc0ebe79
Merge pull request #61356 from vitlibar/fix-replace-dictionary
...
Fix CREATE OR REPLACE DICTIONARY
2024-03-21 16:45:06 +01:00
Shuai li
48cb228c9a
Fix addDays cause an error when used datetime64 ( #61561 )
...
* Fix addDays cause an error when used datetime64
* add exception describe
* Update tests/queries/0_stateless/03013_addDays_with_timezone.sql
* remove file be executable
* fix timezone
* fix ci
---------
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-03-21 14:47:29 +01:00
Julia Kartseva
8d9a58c936
LowCardinalityFixedStringColumn: allow generic types
...
Fix tests and add new ones.
2024-03-21 04:16:28 +00:00
Alexey Milovidov
784de2dca3
Merge branch 'master' into generic-clickhouse-local-fuzzer
2024-03-21 03:18:05 +01:00
Alexey Milovidov
9a1271c9d1
Merge branch 'master' into fix-infinite-loop-hop
2024-03-21 04:47:41 +03:00
Alexey Milovidov
3698c0c2cf
Fix build
2024-03-21 02:46:03 +01:00
Alexey Milovidov
932ef55497
Merge branch 'master' into fix-crash-in-window-view
2024-03-21 03:54:40 +03:00
Julia Kartseva
dcaa712451
disallow LowCardinality input type for JSONExtract
...
Workaraund for a memory corruption issue
https://github.com/ClickHouse/ClickHouse/issues/61562
It seems that the root cause lies not within the parser itself,
but rather either with the
Columns/ColumnLowCardinality or Functions/IFunction code paths.
2024-03-20 22:42:50 +00:00
Alexey Milovidov
200d8165ce
Merge branch 'master' into generic-clickhouse-local-fuzzer
2024-03-20 19:51:26 +01:00
Austin Kothig
cefdbfb7c3
Applying feedback.
2024-03-20 07:05:49 -07:00
Raúl Marín
c98634ad8c
Merge remote-tracking branch 'blessed/master' into nested_includes
2024-03-20 14:08:10 +01:00
Raúl Marín
a1c08b256a
Merge pull request #61539 from Algunenano/arrayPartialReverseSort
...
Fix crash in arrayPartialReverseSort
2024-03-20 12:37:32 +01:00
Raúl Marín
6c7be89c61
Merge pull request #61100 from Algunenano/experiment_int128
...
30x faster printing for 256-bit integers
2024-03-20 12:32:26 +01:00
liuneng
d2d5f3b323
add not in
2024-03-20 17:46:07 +08:00
Robert Schulze
939f4b6db0
Merge remote-tracking branch 'rschu1ze/master' into dotProduct-memcpy
2024-03-20 09:20:31 +00:00
Alexey Milovidov
7b7e260585
Merge remote-tracking branch 'origin/master' into generic-clickhouse-local-fuzzer
2024-03-20 01:28:28 +01:00
avogar
bd7c13c1b6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-analyzer-group-by-use-nulls
2024-03-19 19:29:49 +00:00
Raúl Marín
de855ca917
Reduce header dependencies
2024-03-19 17:04:29 +01:00
János Benjamin Antal
922df7d60e
Merge pull request #61003 from amosbird/less-header-1
...
Replace some header includes with forward declarations
2024-03-19 12:14:06 +01:00
avogar
462445c2c2
Fix logical error in group_by_use_nulls + analyzer + materialize/constant
2024-03-19 10:41:23 +00:00
Antonio Andelic
ef7395a81d
Merge pull request #61547 from ClickHouse/fix-position-const-position
...
Fix string search with const position
2024-03-19 11:38:07 +01:00
Antonio Andelic
f1f2923515
Merge pull request #61527 from ClickHouse/repeat-wide-integers
...
Fix `repeat` with non native integers
2024-03-19 08:56:45 +01:00
Vitaly Baranov
c8375cd167
Better code: remove unnecessary usage of const_cast and std::function.
2024-03-19 02:56:38 +01:00
Robert Schulze
02e0b682ab
Merge remote-tracking branch 'rschu1ze/master' into dotProduct-memcpy
2024-03-18 21:29:41 +00:00
Robert Schulze
0daaeeab78
Merge pull request #61406 from rschu1ze/enable-clang-tidy-in-headers
...
Enable clang-tidy in headers
2024-03-18 21:43:26 +01:00
Antonio Andelic
8c55162e92
Fix string search with const position
2024-03-18 21:41:06 +01:00
Raúl Marín
4c27287c6d
Fix crash in arrayPartialReverseSort
2024-03-18 17:30:29 +01:00
Nikita Mikhaylov
15896ecaf6
Add table system.keywords
[Part 1] ( #51808 )
2024-03-18 16:58:57 +01:00
Raúl Marín
a8ea0cbaa6
Merge remote-tracking branch 'blessed/master' into experiment_int128
2024-03-18 16:12:10 +01:00
Raúl Marín
4626a0b3a1
Merge remote-tracking branch 'blessed/master' into experiment_int128
2024-03-18 16:10:32 +01:00
Antonio Andelic
47e3eccc59
Fix repeat with non native integers
2024-03-18 13:41:25 +01:00
Alexey Milovidov
97aca12830
Fix crash in window view
2024-03-18 12:58:03 +01:00
Alexey Milovidov
8434f04975
Fix style
2024-03-18 12:40:49 +01:00
Robert Schulze
0dff126942
Merge remote-tracking branch 'rschu1ze/master' into enable-clang-tidy-in-headers
2024-03-18 11:34:13 +00:00
Alexey Milovidov
9065f34534
Fix infinite loop in function hop
2024-03-18 12:27:15 +01:00
robot-ch-test-poll4
e8a08baf23
Merge pull request #61092 from rschu1ze/locate-mysql
...
Make the argument order for `locate` compatible with MySQL
2024-03-18 11:55:05 +01:00
Robert Schulze
f02db275c5
Merge remote-tracking branch 'rschu1ze/master' into dotProduct-memcpy
2024-03-18 09:26:29 +00:00
János Benjamin Antal
4b4a03c0f1
Merge branch 'master' into less-header-1
2024-03-18 10:25:42 +01:00
Robert Schulze
c17536c3b3
Enable clang-tidy in headers
2024-03-18 08:00:09 +00:00
Alexey Milovidov
1a61da1bae
Replace getFuzzerData with query text fuzzer in clickhouse-local
2024-03-18 02:17:24 +01:00
Alexey Milovidov
65d091cc65
Limit backtracking in parser
2024-03-17 20:16:23 +01:00
Alexey Milovidov
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
Alexey Milovidov
eec0bf2f52
Fix style
2024-03-17 13:34:34 +01:00
Alexey Milovidov
7c35f1d07e
Less crap
2024-03-17 13:23:09 +01:00
Alexey Milovidov
427a8b3264
Less crap
2024-03-17 13:20:49 +01:00
Alexey Milovidov
2af6d35752
Less crap
2024-03-17 12:53:59 +01:00
Alexey Milovidov
921ec12192
Maybe not worse
2024-03-17 12:29:45 +01:00
Alexey Milovidov
96f53df7ad
Fix error
2024-03-17 12:02:02 +01:00
Alexey Milovidov
fac040e08e
Add documentation
2024-03-17 00:34:32 +01:00
Alexey Milovidov
d627fbef55
Fix errors
2024-03-17 00:26:07 +01:00
Alexey Milovidov
f1be9e6707
Trash
2024-03-17 00:17:59 +01:00
Alexey Milovidov
e5f15b6ac4
Fix errors
2024-03-16 23:00:57 +01:00
Alexey Milovidov
81f0e9ece6
Merge branch 'definitive-cast' into split-cast-overload-resolver
2024-03-16 20:03:44 +01:00
Alexey Milovidov
3a8974e7e1
A definitive guide to CAST
2024-03-16 16:23:12 +01:00
Alexey Milovidov
a5bd242059
Even more garbage
2024-03-15 12:36:33 +01:00
Alexey Milovidov
4290b1fe2c
Garbage
2024-03-15 11:32:21 +01:00
Robert Schulze
1281acc295
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-15 10:14:46 +00:00
Alexey Milovidov
4eda78440d
Remove C++ templates
2024-03-15 10:34:32 +01:00
Alexey Milovidov
c9fb8ef54b
Merge branch 'master' into split-cast-overload-resolver
2024-03-15 07:09:51 +01:00
Austin Kothig
5020741b25
Add support for nanosecond level precision.
2024-03-14 14:34:45 -07:00
Alexey Milovidov
9067c1ab92
Merge with master
2024-03-14 14:14:24 +01:00
Alexey Milovidov
37913d94a3
Merge with master
2024-03-14 13:39:50 +01:00
Alexey Milovidov
1a41aa4ac7
Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver
2024-03-14 13:06:23 +01:00
Robert Schulze
4233fa4d80
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-14 11:35:58 +00:00
Robert Schulze
3486b4a6e3
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-list
2024-03-14 10:44:20 +00:00
Kruglov Pavel
4b3f33c5fd
Merge pull request #60451 from Avogar/fix-map-array-func-lc
...
Try to fix logical error 'Cannot capture column because it has incompatible type' in mapContainsKeyLike
2024-03-13 19:02:24 +01:00
Kruglov Pavel
d89e26cff5
Merge pull request #61196 from ClickHouse/Avogar-patch-1
...
Fix lazy execution of default argument in dictGetOrDefault for RangeHashedDictionary
2024-03-13 17:23:22 +01:00
Robert Schulze
7a5ac383e5
Merge pull request #61308 from rschu1ze/docs-sleep
...
Docs: Follow up to #61258
2024-03-13 15:42:47 +01:00
Robert Schulze
d8c5008280
Follow up to #61258
2024-03-13 13:07:14 +00:00
János Benjamin Antal
cccf054420
Merge pull request #60881 from ClickHouse/add-docs-to-simplejson-and-sin
...
Add docs to simplejson and sin
2024-03-13 14:00:51 +01:00
Raúl Marín
cc92b8ffc5
Merge remote-tracking branch 'blessed/master' into experiment_int128
2024-03-13 13:57:41 +01:00
Robert Schulze
173fa7934c
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-13 12:31:56 +00:00
Yarik Briukhovetskyi
24d6dcb96b
Merge pull request #61249 from mkmkme/mkmkme/fix-has-function
...
Fix `has()` function with `Nullable` column
2024-03-13 13:16:40 +01:00
Alexey Milovidov
514f8392f9
Fix error
2024-03-13 10:25:37 +01:00
Alexey Milovidov
3afdc94cfd
Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver
2024-03-13 10:07:05 +01:00
Alexey Milovidov
486e8537a8
Fix error
2024-03-13 08:02:27 +01:00
Alexey Milovidov
f8dfd8c03a
Less garbage
2024-03-13 07:15:07 +01:00
Alexey Milovidov
87db039d89
Continue
2024-03-13 07:06:06 +01:00
Alexey Milovidov
f339c88079
Continue
2024-03-13 06:32:31 +01:00
Alexey Milovidov
ecd6b88831
Continue
2024-03-13 06:15:17 +01:00
Alexey Milovidov
17a7696a37
Continue
2024-03-13 06:06:07 +01:00
Alexey Milovidov
8d9a8fdfc1
Continue
2024-03-13 05:52:01 +01:00
Alexey Milovidov
b870d9d1cd
Continue
2024-03-13 05:45:33 +01:00
Alexey Milovidov
5336a89117
Continue
2024-03-13 05:36:09 +01:00
Alexey Milovidov
a5383a4619
Continue
2024-03-13 05:27:05 +01:00
Alexey Milovidov
dbfda04701
Continue
2024-03-13 05:18:51 +01:00
Alexey Milovidov
ebd934e286
Continue
2024-03-13 05:05:23 +01:00
Mikhail Koviazin
94f15dd5e0
Fix has()
function with Nullable
column
...
Previous implementation didn't check for `null_map` when the given
argument was not `Null`. This commit adds the missing check.
Fixes #60214
2024-03-12 16:48:43 +02:00
avogar
0b588480f5
Fix lazy execution in dictGetOrDefault for RangeHashedDictionary
2024-03-12 14:34:15 +00:00
Alexey Milovidov
c27c1e1035
Fix build
2024-03-12 14:36:07 +01:00
Raúl Marín
c011901d01
Fix coverage
2024-03-12 14:28:28 +01:00
Kruglov Pavel
9b055c3a43
Use assert_cast to prevent nullptr dereference on bad column types in FunctionsConversion
2024-03-11 20:38:30 +01:00
Robert Schulze
802bae9661
GCC --> clang pragmas
2024-03-11 12:55:56 +00:00
Robert Schulze
e43ac49d4e
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-11 12:23:15 +00:00
Robert Schulze
e5e84419af
Fix clang-tidy-s
2024-03-11 10:58:54 +00:00
Alexey Milovidov
1c82f8707d
Fix tidy
2024-03-11 08:38:03 +01:00
Alexey Milovidov
4373d5ba16
Merge branch 'master' into split-cast-overload-resolver
2024-03-11 03:01:50 +01:00
Robert Schulze
349894fc2b
Fixes #61051
2024-03-10 13:13:59 +00:00
Robert Schulze
bcd705517a
Remove unnecessary call to convertToFullColumnIfConst()
2024-03-10 13:09:01 +00:00
Robert Schulze
530efbe810
Beautify exception, pt. II
2024-03-10 13:09:01 +00:00
Sema Checherinda
5c41727725
http connections pools
2024-03-10 10:00:18 +01:00
Alexey Milovidov
d2e29525c8
Maybe better
2024-03-10 04:08:34 +01:00
Alexey Milovidov
3c9e6cfc96
Maybe better
2024-03-10 03:52:14 +01:00
Alexey Milovidov
7c8a97a91a
Maybe better
2024-03-10 03:13:15 +01:00
Alexey Milovidov
6c0f877342
I did not understand this code and removed it
2024-03-10 03:02:38 +01:00
Alexey Milovidov
bbeecf4ed5
Fix error
2024-03-10 02:51:32 +01:00
Alexey Milovidov
e30a1c9cbc
Remove garbage
2024-03-10 02:26:18 +01:00
Alexey Milovidov
3ac4f56cfa
Fix tests
2024-03-09 18:53:31 +01:00
Alexey Milovidov
d2e19a5da3
Remove unused header
2024-03-09 08:55:53 +01:00
Alexey Milovidov
3cd70f48b0
Anonymous
2024-03-09 08:49:55 +01:00
Alexey Milovidov
f2c4a5bb94
Prevent garbage from appearing
2024-03-09 08:30:13 +01:00
Alexey Milovidov
804c07156d
Fix garbage
2024-03-09 08:24:53 +01:00
Alexey Milovidov
061cee257c
Remove crap
2024-03-09 08:10:59 +01:00
Alexey Milovidov
feed74e598
Better
2024-03-09 07:59:09 +01:00
Alexey Milovidov
574d486322
Something
2024-03-09 07:55:59 +01:00
Alexey Milovidov
83a5611355
Remove garbage
2024-03-09 07:04:05 +01:00
Alexey Milovidov
dc7f4b39ee
Remove garbage
2024-03-09 07:00:28 +01:00
Alexey Milovidov
0d05b8ccc1
Fix style
2024-03-09 06:37:50 +01:00
Alexey Milovidov
7983e2b620
Remove garbage
2024-03-09 06:14:32 +01:00
Alexey Milovidov
6d45eecdad
Remove garbage
2024-03-09 06:11:34 +01:00
Alexey Milovidov
c67e8d5d73
Add files
2024-03-09 05:50:19 +01:00
Alexey Milovidov
2be09581dd
Split CastOverloadResolver translation unit
2024-03-09 05:48:52 +01:00
Alexey Milovidov
009c2ea9f6
Move a class into an anonymous namespace
2024-03-09 05:27:29 +01:00