Maksim Kita
3d34247998
Fixed tests
2023-03-11 11:51:54 +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
Kruglov Pavel
dfdfabec94
Merge pull request #39218 from evillique/file_default_value
...
Add default argument to the function `file`
2022-08-01 13:04:19 +02:00
Li Yin
4088c0a7f3
Automated function registration
...
Automated register all functions with below naming convention by
iterating through the symbols:
void DB::registerXXX(DB::FunctionFactory &)
2022-07-29 15:39:50 +08:00
Nikolay Degterinsky
c9ae525da7
Merge branch 'master' into file_default_value
2022-07-20 14:22:58 +02:00
Nikolay Degterinsky
4ae356f218
Fix NULL, add test
2022-07-19 09:15:42 +00:00
Robert Schulze
13482af4ee
First try at reducing the use of StringRef
...
- to be replaced by std::string_view
- suggested in #39262
2022-07-17 17:26:02 +00:00
Nikolay Degterinsky
6f5275d9bb
Fix build
2022-07-15 10:08:14 +00:00
Nikolay Degterinsky
9ca2935d72
Add default argument to function file
2022-07-14 09:54:44 +00:00
Alexey Milovidov
71926a3a97
Fix surprisingly bad code in function "file"
2021-12-13 07:57:54 +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
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20:52 +03:00
tavplubix
e9ff0b6d70
Merge pull request #23657 from kssenii/poco-file-to-std-fs
...
Poco::File to std::filesystem
2021-05-31 23:17:02 +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
kssenii
984d82c3f2
Update DiskLocal
2021-04-29 02:00:04 +03:00
kssenii
3386dc32d3
Change in Functions/*
2021-04-29 00:38:58 +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
Nikita Mikhailov
7c5d845866
refactor function
2021-02-16 15:37:49 +03:00
keenwolf
c56750c9ce
Remove ErrorCodes unused
2021-01-23 21:43:27 +08:00
keenwolf
1543829259
Clean some comments
2021-01-23 16:53:43 +08:00
keenwolf
8461e89645
Remove getArgumentsThatAreAlwaysConstant, also add 2 testcases
2021-01-22 11:43:31 +08:00
keenwolf
47fb320651
Do little fix for Style check
2021-01-19 14:04:25 +08:00
keenwolf
8463835c41
Remove extra semicolon
2021-01-19 11:47:40 +08:00
keenwolf
2379902e2a
Return data type revise
2021-01-17 14:27:18 +08:00
keenwolf
fe78b31ed4
Move register to the Misc group
2021-01-16 20:35:41 +08:00
keenwolf
77e74b397c
Add file access check, also give another read method in comments for reference
2021-01-16 18:43:56 +08:00
keenwolf
29aa0da28c
Make filepath check done but with infile func, need to modify the ld path
2021-01-16 14:55:59 +08:00
keenwolf
2d22772455
Handle with context pass
2021-01-16 11:27:31 +08:00
keenwolf
d98cac0dd3
Add another method for reading file at once to avoid frequently realloc and mem move
2021-01-15 14:27:38 +08:00
keenwolf
4b6cc4ea4b
Add Function to read file as a String, Using ReadBuffer.
2021-01-14 23:48:38 +08:00
keenwolf
53e483d36c
Small fix
2021-01-14 20:09:13 +08:00
keenwolf
791a4cfb52
Small fix
2021-01-14 19:46:19 +08:00
keenwolf
e95b8089cd
Make code clean including properly exception handle
2021-01-14 18:44:16 +08:00
root
701b61dced
Function arguments declaration Upgrade with super class
2021-01-14 13:36:22 +08:00
root
66e1072c2c
Add the function to read file as a String.
2021-01-14 00:46:55 +08:00