Smita Kulkarni
2d3a148ffd
Added option to check if container exists before attempting to read/create it, added this flag for all table functions, only used in azureBlobStorage
2023-07-06 10:56:07 +02:00
Robert Schulze
45c28e1221
Introduce more fields for in-source function documentation
2023-05-05 21:30:21 +00:00
Maksim Kita
2830877e22
Analyzer support table functions
2023-02-16 12:17:02 +01:00
SmitaRKulkarni
16fca48f5b
Disable functions in readonly for inserts ( #44290 )
...
Implementation:
* Added a new parameter to ITableFunction::execute to check if query is insert query.
* Used the new parameter in InterpreterInsertQuery::getTable function when calling ITableFunction::execute .
Testing:
* Added test case for INSERT in 02473_functions_in_readonly_mode.sh.
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-01-03 15:25:04 +01:00
Kruglov Pavel
e3aa2d9d56
Merge pull request #43695 from Avogar/better-using-structure-in-table-functions
...
Improve automatic usage of structure from insertion table in table functions file/hdfs/s3
2022-12-16 15:45:30 +01:00
avogar
4aa3e23270
Improve automatic usage of structure from insertion table in table functions file/hdfs/s3
2022-11-25 19:33:47 +00:00
Alexey Milovidov
b3a06175e7
Add a comment
2022-11-20 07:47:20 +01:00
Kruglov Pavel
58b7f6ca04
Merge pull request #42320 from Avogar/improve-schema-inference-insert-select
...
Improve using structure from insertion table in table functions
2022-11-14 14:51:27 +01:00
Smita Kulkarni
6a8fa2d4a5
Added new field allow_readonly in system.table_functions to allow using table functions in readonly mode.
...
Implementation:
* Added a new field allow_readonly to table system.table_functions.
* Updated to use new field allow_readonly to allow using table functions in readonly mode.
* Added TableFunctionProperties similar to AggregateFunctionProperties.
* The functions allowed in readonly mode are in this set table_functions_allowed_in_readonly_mode.
Testing:
* Added a test for filesystem tests/queries/0_stateless/02473_functions_in_readonly_mode.sh
Documentation:
* Updated the english documentation for Table Functions.
2022-10-26 18:45:23 +02:00
avogar
10335aec13
Improve using structure from insertion table in table functions
2022-10-14 15:09:35 +00:00
Vitaly Baranov
cfb250c46b
Fix checking access rights for DESCRIBE TABLE url.
2022-09-04 18:58:39 +02:00
taiyang-li
95dd4a5c14
push again
2022-03-24 11:32:35 +08:00
taiyang-li
f84a88e48f
push again
2022-03-23 21:41:42 +08:00
taiyang-li
36f5c0eec6
improve check access in table functions
2022-03-17 21:14:57 +08:00
avogar
653d769d34
Support schema inference for INSERT INTO FUNCTION
2022-02-18 16:19:42 +00:00
avogar
8112a71233
Implement schema inference for most input formats
2021-12-29 12:18:56 +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
Maksim Kita
32831e37ba
Added table function dictionary
2021-03-19 15:47:27 +03:00
Alexander Tokmakov
72b1339656
Revert "Revert "Write structure of table functions to metadata""
...
This reverts commit c65d1e5c70
.
2020-10-14 15:19:29 +03:00
tavplubix
c65d1e5c70
Revert "Write structure of table functions to metadata"
2020-10-14 13:59:29 +03:00
Alexander Tokmakov
ee7b8a797a
better code, fix Distributed format of StorageFile
2020-09-02 18:07:53 +03:00
Alexander Tokmakov
3a9779adb4
slightly better code
2020-09-01 17:41:49 +03:00
Alexander Tokmakov
f0a5f19dae
try use another wrapper for table functions
2020-08-31 22:03:26 +03:00
Alexander Tokmakov
b521ca9b18
save structure for all table functions
2020-08-28 00:05:52 +03:00
Alexander Tokmakov
969940b4c9
write table tructure for table function remote(...)
2020-08-26 23:55:40 +03:00
Vitaly Baranov
e573549945
Rework access rights for table functions.
2020-04-07 23:31:59 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00