kssenii
69f6714461
Add table function
2020-12-27 12:16:46 +00:00
feng lv
257ca664ed
fix
2020-12-21 11:32:44 +00:00
feng lv
b7d434a0ea
try fix
...
fix
fix
fix
2020-12-21 10:42:21 +00:00
feng lv
8f17b3cb88
fix
2020-12-20 15:49:37 +00:00
feng lv
8ec695f024
add sharding_key for remote table function
...
update docs
fix
2020-12-20 15:29:46 +00:00
feng lv
c520d0efe3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster
2020-12-20 13:29:10 +00:00
feng lv
5a6a6991f1
support insert into cluster function
2020-12-20 07:32:44 +00:00
Alexey Milovidov
55604bde47
Whitespaces
2020-12-18 08:07:09 +03:00
alesapin
799997db35
Merge pull request #16621 from arenadata/ADQM-148
...
HDFS configuration and Kerberos Authenticaiton
2020-12-17 23:16:58 +03:00
Vitaly Baranov
da18af96a3
Fix access rights required for the merge() table function.
2020-12-17 12:29:07 +03:00
Ilya Golshtein
7e97814859
cleanup, fixes, new submodules, ShellCommand, WriteBufferFromString
2020-12-16 14:48:33 +03:00
alexey-milovidov
22aba554c0
Revert "Fix access rights required for the merge() table function."
2020-12-15 18:07:20 +03:00
Vitaly Baranov
5a8c750b0b
Merge pull request #17983 from vitlibar/fix-access-rights-for-merge-table-function
...
Fix access rights required for the merge() table function.
2020-12-15 09:17:52 +03:00
Pavel Kovalenko
346c241c20
Merge remote-tracking branch 'origin/master' into s3-adaptive-single-part-upload
...
# Conflicts:
# src/Disks/S3/DiskS3.cpp
2020-12-14 11:00:30 +03:00
Vitaly Baranov
9310437920
Fix access rights required for the merge() table function.
2020-12-13 23:34:53 +03:00
Azat Khuzhin
5b3ab48861
More forward declaration for generic headers
...
The following headers are pretty generic, so use forward declaration as
much as possible:
- Context.h
- Settings.h
- ConnectionTimeouts.h
(Also this shows that some missing some includes -- this has been fixed)
And split ConnectionTimeouts.h into ConnectionTimeoutsContext.h (since
module part cannot be added for it, due to recursive build dependencies
that will be introduced)
Also remove Settings from the RemoteBlockInputStream/RemoteQueryExecutor
and just pass the context, since settings was passed only in speicifc
places, that can allow making a copy of Context (i.e. Copier).
Approx results (How much units will be recompiled after changing file X?):
- ConnectionTimeouts.h
- mainline: 100
- Context.h:
- mainline: ~800
- patched: 415
- Settings.h:
- mainline: 900-1K
- patched: 440 (most of them because of the Context.h)
2020-12-12 17:43:10 +03:00
Pavel Kovalenko
db7a87089b
Adaptive choose of single/multi part upload in WriteBufferFromS3.
2020-12-09 17:09:04 +03:00
Amos Bird
1d9d586e20
Make global_context consistent.
2020-11-20 18:23:14 +08:00
Alexey Milovidov
24f4fa6edf
Follow Arcadia ya.make rules
2020-11-17 00:16:50 +03:00
Alexey Milovidov
3df04ce0c2
Follow Arcadia ya.make rules
2020-11-16 21:24:58 +03:00
Alexander Tokmakov
b94cc5c4e5
remove more stringstreams
2020-11-10 21:22:26 +03:00
tavplubix
67099f28ac
Merge pull request #16591 from ClickHouse/aku/create-file
...
Support `SETTINGS` clause for File engine
2020-11-09 14:15:42 +03:00
Alexander Kuzmenkov
79f759fb6c
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-07 11:54:11 +03:00
Alexey Milovidov
fd84d16387
Fix "server failed to start" error
2020-11-07 03:14:53 +03:00
Alexander Kuzmenkov
14f31f5117
add support of settings to URL, fix url and file table functions
2020-11-05 14:28:20 +03:00
Alexey Milovidov
b56486510f
Improve Arcadia
2020-11-05 12:55:01 +03:00
Alexander Kuzmenkov
548ac9d57b
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-02 17:37:30 +03:00
Alexander Kuzmenkov
99ee127620
Support SETTINGS
clause for File engine
...
Accept the usual user settings related to file formats.
Most of the diff are the mechanistic code changes required to allow
providing the required FormatSettings to the format factory. The File
engine then extracts these settings from the `CREATE` query, and specifies
them when creating the format parser.
2020-11-02 10:50:38 +03:00
Maxim Akhmedov
3627fabfb9
Remove -g0 form Arcadia build settings.
2020-10-29 17:37:23 +03:00
Alexander Tokmakov
62a0ee8255
fix assertion in table function file()
2020-10-20 15:29:46 +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
1ca9a92b21
Merge branch 'master' into write_structure_of_table_functions
2020-09-18 21:09:23 +03:00
tavplubix
1762535ffc
Merge pull request #14797 from Vxider/add_tablefunction_null
...
Add table function null
2020-09-18 20:34:35 +03:00
tavplubix
1f54fdfb7c
Update TableFunctionNull.cpp
2020-09-18 14:52:30 +03:00
Alexander Tokmakov
e1cf60990a
minor fixes
2020-09-18 14:06:30 +03:00
Vxider
3da806f8f6
Throws LOGICAL_ERROR if argument is not a literal
2020-09-17 22:49:27 +08:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Vxider
a913be9201
add table function null
2020-09-14 19:36:14 +08:00
alexey-milovidov
f60267a383
Merge pull request #14611 from amosbird/bf2
...
Treat query as function argument.
2020-09-09 21:20:33 +03:00
Alexander Tokmakov
d278d849e4
Merge branch 'master' into write_structure_of_table_functions
2020-09-09 17:12:35 +03:00
Vasily Nemkov
3973a17530
MySql datatypes dateTime64 and decimal ( #11512 )
2020-09-09 15:18:02 +03:00
Amos Bird
b40998ca00
Treat query as function argument.
2020-09-09 15:41:38 +08:00
Alexey Milovidov
e3924b8057
Fix "Arcadia"
2020-09-08 01:14:13 +03:00
Alexander Tokmakov
c5df4647e6
add workaround for memory leak
2020-09-07 14:30:12 +03:00
Alexander Tokmakov
c233be29c5
fix
2020-09-04 16:29:43 +03:00
Alexander Tokmakov
3cb73de059
try fix fast build
2020-09-04 01:23:27 +03:00
Alexander Tokmakov
df09bf3cb6
add suppressions for leak sanitizer
2020-09-03 22:50:26 +03:00
Alexander Tokmakov
9d98effa5e
write structure for TableFunctionView
2020-09-02 20:39:37 +03:00
Alexander Tokmakov
b1d6ac0d14
Merge branch 'master' into write_structure_of_table_functions
2020-09-02 20:04:50 +03:00
Alexander Tokmakov
ee7b8a797a
better code, fix Distributed format of StorageFile
2020-09-02 18:07:53 +03:00
Amos Bird
6bd753d85d
TableFunction view.
2020-09-02 16:02:10 +08:00
Alexander Tokmakov
3a9779adb4
slightly better code
2020-09-01 17:41:49 +03:00
Alexander Tokmakov
b6093d9a86
fix query header
2020-09-01 13:37:42 +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
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
Alexey Milovidov
6f690b7c0d
Normalize ya.make files, fix "Arcadia" build
2020-08-02 16:57:38 +03:00
Peng Jian
2fc58e8f10
Fix code sytle check & build check
2020-07-17 11:33:29 +08:00
Peng Jian
7579d65ebc
Registering StorageS3 and TableFunctionS3 under two different names (S3 and COSN).
2020-07-13 22:13:30 +08:00
Peng Jian
958bb1f3aa
COS (Tencent Cloud Object Storage) integration
...
To allow import and export to COS.
2020-07-10 15:26:55 +08:00
Alexey Milovidov
de4459c25a
Fix error
2020-07-06 04:25:45 +03:00
Alexey Milovidov
3ae9d3c9f3
Change exception code from LOGICAL_ERROR to BAD_ARGUMENTS when the name of remote table is empty
2020-07-06 02:13:44 +03:00
Alexander Tokmakov
a6b7010531
fix some logical errors
2020-06-24 23:51:17 +03:00
alesapin
dffdece350
getColumns in StorageInMemoryMetadta (only compilable)
2020-06-17 19:39:58 +03:00
alexey-milovidov
e07d02015c
Merge pull request #11661 from ClickHouse/return-not-nullable-from-count-distinct-2
...
Return non-Nullable results from COUNT(DISTINCT), more complete.
2020-06-17 09:25:45 +03:00
Alexey Milovidov
6c93016c91
Add suggestion from @alesap
2020-06-16 22:16:01 +03:00
Alexey Milovidov
186d336e31
Use proper timeouts when communicating with xdbc-bridge
2020-06-16 01:35:15 +03:00
Alexey Milovidov
394fb64a9c
Better way of implementation
2020-06-14 20:42:11 +03:00
Alexey Milovidov
63f2d92eff
Better exception message when cannot parse columns declaration list #10403
2020-06-09 01:49:19 +03:00
Alexander Kuzmenkov
fafa953ee4
fixup
2020-06-06 04:23:21 +03:00
Alexander Kuzmenkov
3fd40098c4
fix same error in values() as well
2020-06-05 23:45:15 +03:00
Alexander Kuzmenkov
fc69811c7f
generateRandom: check that all arguments are literals
2020-06-05 21:45:48 +03:00
Alexey Milovidov
a6bf4b5d70
Fix error with Lazy database
2020-06-02 05:06:16 +03:00
Alexander Tokmakov
3cff070f89
add context to IDatabase methods
2020-05-28 23:10:45 +03:00
Azat Khuzhin
d93b9a57f6
Forward declaration for Context as much as possible.
...
Now after changing Context.h 488 modules will be recompiled instead of 582.
2020-05-21 01:53:18 +03:00
Ivan
85d783c247
Poco contrib refactoring ( #10396 )
...
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Alexey Milovidov
99c18c5a09
Check for suspicious codecs #4966
2020-05-04 03:11:49 +03:00
Alexander Tokmakov
b29bddac12
Merge branch 'master' into database_atomic
2020-04-20 14:09:09 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
Alexey Milovidov
cdeda4ab91
Fix usage of max_parser_depth setting; remove harmful default function arguments
2020-04-16 04:06:10 +03:00
Alexander Tokmakov
dd1590830b
Merge branch 'master' into database_atomic
2020-04-08 22:00:46 +03:00
Vitaly Baranov
e573549945
Rework access rights for table functions.
2020-04-07 23:31:59 +03:00
Alexander Tokmakov
08bae4668d
Merge branch 'master' into database_atomic
2020-04-06 16:18:07 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00