Robert Schulze
d8c5008280
Follow up to #61258
2024-03-13 13:07:14 +00:00
Vitaly Baranov
380e34226f
Fix compilation.
2023-12-11 16:57:18 +01:00
Vitaly Baranov
ca262d6e10
Fix profile events.
2023-12-11 16:03:07 +01:00
Vitaly Baranov
2c03348732
Use checkTimeLimit() to check if query is cancelled.
2023-12-11 15:33:16 +01:00
Vitaly Baranov
ab2f60ccef
sleep() function now can be cancelled with KILL QUERY.
2023-12-10 03:19:25 +01:00
Raúl Marín
6ce1ae36d3
Fix the fix
2023-11-13 10:56:49 +00:00
Raúl Marín
72fae1057d
Fix ubsan in sleep and add sanity checks
2023-11-10 17:24:41 +00:00
Raúl Marín
78f0a2a61d
Revert "Merge pull request #56591 from ClickHouse/revert-56500-function-sleep-exception-message-fix"
...
This reverts commit e8875d881d
, reversing
changes made to a5b1474b6a
.
2023-11-10 17:20:17 +00:00
Alexey Milovidov
21a814c20b
Revert "FunctionSleep exception message fix"
2023-11-10 18:53:56 +03:00
Maksim Kita
8b4619fd5f
FunctionSleep exception message fix
2023-11-09 19:40:37 +03:00
Alexey Milovidov
582cf2ca84
Update tests
2023-04-29 19:48:33 +02:00
Alexey Milovidov
3de0c319c2
Add compatibility
2023-04-29 19:08:52 +02:00
Alexey Milovidov
c9e30d3cf5
Properly check the limit for sleepEachRow
function. Add a setting function_sleep_max_microseconds_per_block
2023-04-29 19:04:20 +02:00
Han Fei
32050acde5
Merge branch 'master' into dev-prewhere
2023-02-14 18:39:13 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Alexey Milovidov
a35c62933f
Update src/Functions/sleep.h
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-09-20 05:16:21 +03:00
Alexey Milovidov
730655d4fd
Fix 8/9 of trash
2022-09-19 08:53:20 +02:00
Nikolai Kochetov
b589f87338
Do not sleep at key kondition analysis.
2022-07-18 10:52:27 +00:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Pavel Kruglov
70b51133c1
Try to simplify code
2021-08-09 18:01:08 +03:00
Pavel Kruglov
0662df8b76
Fix performance with JIT, add arguments to function isSuitableForShortCircuitArgumentsExecution
2021-08-09 17:54:14 +03:00
Pavel Kruglov
e792fa588f
Mark all Functions as sutable or not for executing as short circuit arguments
2021-08-09 17:50:09 +03:00
Raúl Marín
901e251d53
Add profile events to sleep function calls
2021-07-14 18:44:09 +02:00
Alexey Milovidov
447d7bb8cd
Minor changes
2021-06-14 07:13:35 +03:00
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20:52 +03:00
Alexander Kuzmenkov
3f57fc085b
remove mutable context references from functions interface
...
Also remove it from some visitors.
2021-05-28 19:45:37 +03:00
Maksim Kita
d923d9e6ef
Function move file
2021-05-17 10:30:42 +03:00
Maksim Kita
947f28d430
IFunction refactoring
2021-05-15 20:33:15 +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
feng lv
2094eae23d
fix sleep with infinite input
2021-01-21 04:49:35 +00:00
Ivan Lezhankin
f897f7c93f
Refactor IFunction to execute with const arguments
2020-11-17 16:24:45 +03:00
Nikolai Kochetov
384718e6c3
Part 8.
2020-10-19 18:27:41 +03:00
Nikolai Kochetov
959424f28a
Rename block to columns.
2020-10-14 17:04:50 +03:00
Nikolai Kochetov
966b1d6cf5
Rename Block to ColumnsWithTypeAndName.
2020-10-14 16:09:11 +03:00
Nikolai Kochetov
9b42bfdc36
Merge pull request #15817 from ClickHouse/new-block-for-functions-2
...
Use `ColumnsWithTypeAndName` instead of `Block` for function calls [part 2]
2020-10-12 00:32:58 +03:00
Alexey Milovidov
269b6383f5
Check for #pragma once in headers
2020-10-10 21:37:02 +03:00
Nikolai Kochetov
d28325a353
Replace getByPosition to []
2020-10-10 21:24:57 +03:00
Nikolai Kochetov
e4689ce302
Make IFunction::executeImpl const.
2020-07-21 16:58:07 +03:00
Alexey Milovidov
1462a66d1e
Fix typos
2020-06-27 22:05:00 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00