Constantine Peresypkin
b9d7cd6a5d
add settings for executable table func
...
SELECT * FROM executable('<script name>', '<format>', '<columns>', (SELECT * FROM table), SETTINGS max_command_execution_time=100, command_termination_timeout=100)
fixes #38908
2022-07-30 20:02:56 +02:00
Vitaly Baranov
3eb847f449
Small correction.
2022-07-15 15:44:29 +02:00
Vitaly Baranov
9e70e02589
Table function null() & view() don't require CREATE TEMPORARY TABLE privilege anymore.
2022-07-15 15:44:29 +02:00
Vitaly Baranov
fbb2e14d54
Add new table function viewIfPermitted().
2022-07-15 15:44:29 +02:00
kssenii
f46d641440
Fix style check and black check
...
t:wq# Date: Tue Jul 12 14:02:09 2022 +0200
2022-07-12 16:29:11 +02:00
kssenii
dd7ca4995d
t p:wq
...
Small improvement
2022-07-11 22:05:48 +02:00
aaapetrenko
d950b9c965
add TableFunctionMongoDB and tests
2022-07-11 22:00:49 +02:00
Kruglov Pavel
ab67838c44
Merge pull request #38816 from Avogar/fix-values-func
...
Allow null modifier in columns declaration for table functions
2022-07-07 17:27:18 +02:00
Kseniia Sumarokova
a26643a7a6
Merge pull request #38363 from kssenii/pg-add-auto-close
...
Support `auto_close` option for postgres engine connection
2022-07-06 01:10:05 +02:00
avogar
3eb97313d8
Allow null modifier in columns declaration for table functions
2022-07-04 14:46:10 +00:00
avogar
344ddc6e7d
Fix tests
2022-06-27 13:55:51 +00:00
kssenii
2c5aeaaa1a
Add auto close for postgres connection
2022-06-27 13:46:52 +02:00
avogar
8f53d6634e
Fix Hive table function
2022-06-23 20:10:03 +00:00
avogar
59c1c472cb
Better exception messages on wrong table engines/functions argument types
2022-06-23 20:04:06 +00:00
kssenii
0acc95fe22
Review fixes
2022-06-22 16:55:47 +02:00
kssenii
4656dd3de3
Headers for url in ast
2022-06-21 14:25:05 +02:00
Nikita Mikhaylov
fe477355df
Added support for schema inference for hdfsCluster
[2] ( #35812 )
2022-06-03 15:54:29 +02:00
Nikolai Kochetov
1b85f2c1d6
Merge branch 'master' into refactor-read-metrics-and-callbacks
2022-05-25 16:27:40 +02:00
Nikolai Kochetov
333fd09dbf
Fixing build.
2022-05-24 19:29:00 +00:00
Kseniia Sumarokova
94683786dc
Merge branch 'master' into MeiliSearch
2022-05-16 22:42:09 +02:00
Mikhail Artemenko
535b3ea686
refactor code & change exception numbers
2022-05-16 16:13:05 +03:00
Mikhail Artemenko
12717f2417
fix <Breaking changes> in Meilisearch v0.27.0
2022-05-12 16:51:00 +03:00
Mikhail Artemenko
031aca593d
fix after merge
2022-05-12 01:42:34 +03:00
Kruglov Pavel
af3db5a992
Merge pull request #36726 from PolyProgrammist/s3clustermacro
...
Handle cluster macro in s3Cluster table function
2022-05-11 18:00:57 +02:00
mergify[bot]
0e2a86dcee
Merge branch 'master' into MeiliSearch
2022-05-11 08:49:19 +00:00
Robert Schulze
e583099158
Fix build, pt. V
2022-05-04 15:50:52 +02:00
Robert Schulze
5dc06e6537
Fix build, pt. IV
2022-05-04 12:01:29 +02:00
Robert Schulze
4d6fb6dbaf
Fix build
2022-05-04 08:35:35 +02:00
mergify[bot]
64084b5e32
Merge branch 'master' into shared_ptr_helper3
2022-05-03 20:46:16 +00:00
Kruglov Pavel
fd980e6840
Merge pull request #36562 from wuxiaobai24/file_descriptor
...
allow file descriptor in table function file()
2022-05-02 13:25:13 +02:00
Robert Schulze
330212e0f4
Remove inherited create() method + disallow copying
...
The original motivation for this commit was that shared_ptr_helper used
std::shared_ptr<>() which does two heap allocations instead of
make_shared<>() which does a single allocation. Turned out that
1. the affected code (--> Storages/) is not on a hot path (rendering the
performance argument moot ...)
2. yet copying Storage objects is potentially dangerous and was
previously allowed.
Hence, this change
- removes shared_ptr_helper and as a result all inherited create() methods,
- instead, Storage objects are now created using make_shared<>() by the
caller (for that to work, many constructors had to be made public), and
- all Storage classes were marked as noncopyable using boost::noncopyable.
In sum, we are (likely) not making things faster but the code becomes
cleaner and harder to misuse.
2022-05-02 08:46:52 +02:00
Mikhail Artemenko
41f657d8ed
Merge branch 'master' into MeiliSearch
2022-05-01 10:01:56 +03:00
Amos Bird
4a5e4274f0
base should not depend on Common
2022-04-29 10:26:35 +08:00
Vadim Volodin
233f0b4b52
Handle cluster macro in s3Cluster table function
2022-04-28 18:38:17 +03:00
wuxiaobai24
b28d7d5130
fix
2022-04-28 20:55:57 +08:00
wuxiaobai24
6fa0c90955
Update src/TableFunctions/TableFunctionFile.cpp
...
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2022-04-28 20:47:49 +08:00
wuxiaobai24
7955eb2100
Merge remote-tracking branch 'upstream/master' into file_descriptor
2022-04-28 10:47:59 +08:00
wuxiaobai24
a70d65647e
reimplement
2022-04-27 20:15:52 +08:00
wuxiaobai24
751185a366
allow file descriptor in table function file()
2022-04-23 11:01:27 +08:00
Kruglov Pavel
813e228fcc
Merge branch 'master' into improve-globs
2022-04-20 16:31:47 +02:00
Kseniia Sumarokova
766a84e64f
Merge pull request #35915 from kssenii/better-s3-settings
...
Better settings configuration for s3
2022-04-20 10:22:06 +02:00
Antonio Andelic
bbb0be6a44
Merge pull request #36402 from rschu1ze/clang-tidy-contains
...
Activate clang-tidy warning "readability-container-contains"
2022-04-20 08:15:46 +02:00
avogar
1f252cedfe
Make better
2022-04-19 19:16:47 +00:00
Kruglov Pavel
ec4e1cb6d8
Merge pull request #36211 from Avogar/insert-select-all-formats
...
Allow insert select for files with formats without schema inference
2022-04-19 14:25:59 +02:00
kssenii
1f9a597b77
Merge master
2022-04-19 11:31:13 +02:00
Robert Schulze
118e94523c
Activate clang-tidy warning "readability-container-contains"
...
This check suggests replacing <Container>.count() by
<Container>.contains() which is more speaking and in case of
multimaps/multisets also faster.
2022-04-18 23:53:11 +02:00
fenglv
293d0a5d46
Implement type inference for INSERT INTO function null()
2022-04-17 15:07:56 +00:00
avogar
ae88549c4f
Allow insert select for files with formats without schema inference
2022-04-13 20:02:52 +00:00
avogar
1c065f8c7a
Some refactoring around schema inference with globs
2022-04-13 17:02:48 +00:00
Mikhail Artemenko
2fd86cc564
Merge branch 'master' into MeiliSearch
2022-04-13 12:05:46 +03:00