Commit Graph

189 Commits

Author SHA1 Message Date
alesapin
73bcc95af9 CLICKHOUSE-3772: Change return type to const reference 2018-07-20 13:07:11 +03:00
alesapin
ec156e9f2b CLICKHOUSE-3772: Add system tables formats, data_type_families, table_functions, aggregate_function_combinators 2018-07-20 13:00:56 +03:00
Alexey Milovidov
7fcf609812 Miscellaneous [#CLICKHOUSE-3806] 2018-07-06 03:28:39 +03:00
zhang2014
f4e72792a5 ISSUES-2553 add offset parameter to numbers 2018-06-22 12:55:36 +03:00
alexey-milovidov
931ccf988f
Update TableFunctionURL.h 2018-06-13 21:52:17 +03:00
alesapin
0f529dbc6e Add table fuction url and storage URL 2018-06-11 15:13:00 +03:00
proller
347579ce46 Cmake: mark system includes as SYSTEM (#1449)
* contrib: cctz as submodule. update cctz.

* pbuilder: add ubuntu bionic, devel

* Cmake: mark system includes as SYSTEM

* Build fixes

* fix

* Fix package without compiler

* Better

* fix

* fix

* fix

* Build fix

* fix

* fix

* fix

* Cmake: Add SYSTEM to includes for external libs
2018-06-06 23:21:58 +03:00
Alexey Milovidov
1c2b024c39 Non significant changes according to clang's -Weverything, part 2 [#CLICKHOUSE-2] 2018-06-03 20:43:56 +03:00
alexey-milovidov
9ef0a771e3 Update TableFunctionMySQL.cpp 2018-05-15 03:02:59 +03:00
sundy-li
5d91b4f2fd fix some bugs, fix some code styles 2018-05-15 03:02:59 +03:00
sundy-li
200076b593 ADD replace_query, on_duplicate_clause config for StorageMySQL && add docs 2018-05-15 03:02:59 +03:00
sundy-li
763f1fda96 Avoid Excessive copy when block is small enough && fix some code 2018-05-15 03:02:59 +03:00
proller
fb911f7cfa Allow force disable libs: poco netssl poco mongodb, poco data odbc 2018-05-14 21:36:01 +03:00
sundy-li
e882acef31 fix:ODBC sqlType mapping 2018-04-23 22:55:06 -07:00
Alexey Milovidov
41428e4a11 Allowed to read files by table function "file" inside "user_files_path" #2164 2018-04-19 08:32:09 +03:00
alexey-milovidov
565c31c0fb
Update TableFunctionFile.cpp 2018-04-19 07:46:29 +03:00
decaseal
c641a6cd57 table function file - remove unnecessary includes [#add_table_function_file] 2018-04-10 11:59:53 +03:00
decaseal
e8ae0343ed Merge remote-tracking branch 'yandex/master' into add_table_function_file_dev 2018-04-10 10:30:46 +03:00
decaseal
50f65890dc table function file - use only FileStorage [#add_table_function_file] 2018-04-10 10:28:57 +03:00
decaseal
a2db6db50c table function file - use only FileStorage [#add_table_function_file] 2018-04-10 10:26:33 +03:00
proller
c26b3bdef1
Fix split shared build; fix build without system odbc libs (#2191)
* Fix split shared build

* Fix build without system odbc libs

* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h

* Fix build with libiodbc
2018-04-09 06:52:39 -07:00
Alexey Milovidov
3f264f07e9 Removed excessive library dependencies #2180 2018-04-07 05:29:12 +03:00
decaseal
22870e1e24 table function file - fix data path [#add_table_function_file] 2018-04-06 16:36:17 +03:00
decaseal
92416c3333 table function file - fix [#add_table_function_file] 2018-04-06 15:39:30 +03:00
decaseal
194974f88d table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:37:35 +03:00
decaseal
b9fee66dfa table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:33:03 +03:00
decaseal
b3ed1c6cca table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:32:29 +03:00
decaseal
5f52defb29 table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:32:19 +03:00
decaseal
29b94a0467 table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:25:14 +03:00
decaseal
9ebe22dd2c table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:18:05 +03:00
decaseal
5b601b9153 table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:13:08 +03:00
decaseal
dc60788fa5 table function file - use storage file [#add_table_function_file] 2018-04-06 15:10:22 +03:00
decaseal
b8d010eb09 table function file - test db data path [#add_table_function_file] 2018-04-06 14:21:41 +03:00
decaseal
d56b78c073 storage file - test fd [#add_table_function_file] 2018-04-06 12:53:38 +03:00
decaseal
9404ddff84 table function file - test application context [#add_table_function_file] 2018-04-06 11:54:45 +03:00
decaseal
aebc28d44b table function file - test application context [#add_table_function_file] 2018-04-05 12:21:01 +03:00
decaseal
77b0d7d23b Merge branch 'master' into add_table_function_file 2018-04-03 15:17:45 +03:00
proller
e58b0830e6
Prepare to new poco (PocoData renamed to PocoSQL) (#2158) 2018-04-03 04:48:40 -07:00
decaseal
98463ebe28 table function file - comments [#add_table_function_file] 2018-04-03 11:12:24 +03:00
decaseal
1804d19a2b table function file - comments [#add_table_function_file] 2018-04-03 11:07:44 +03:00
decaseal
ca78eed896 table function file - fix path validate [#add_table_function_file] 2018-04-02 18:51:22 +03:00
decaseal
2100d00764 table function file - fix path validate [#add_table_function_file] 2018-04-02 18:49:40 +03:00
decaseal
0a9e281199 table function file - test path validate [#add_table_function_file] 2018-04-02 18:47:31 +03:00
decaseal
a0f40c79f9 table function file - fix path validate [#add_table_function_file] 2018-04-02 18:40:35 +03:00
decaseal
fba2f32c53 table function file - fix path validate [#add_table_function_file] 2018-04-02 18:38:43 +03:00
decaseal
58489628aa fix table function file [#add_table_function_file] 2018-04-02 17:23:53 +03:00
decaseal
42f028ddde fix table function file [#add_table_function_file] 2018-04-02 17:15:41 +03:00
decaseal
358e0183f5 fix table function file [#add_table_function_file] 2018-04-02 16:56:54 +03:00
decaseal
2a6dbd14ae realize table function file [#add_table_function_file] 2018-04-02 16:15:25 +03:00
decaseal
94a573e845 register table function file [#add_table_function_file] 2018-04-02 14:43:51 +03:00
decaseal
871c7a5f0e create table function file [#add_table_function_file] 2018-04-02 14:43:37 +03:00
Alexey Zatelepin
5906c9a988 rename for clarity 2018-03-13 18:00:28 +03:00
Alexey Zatelepin
fdffbe53ac encapsulate ColumnsDeclaration [#CLICKHOUSE-3241] 2018-03-13 17:41:25 +03:00
Alexey Zatelepin
de1db216a5 getStructureOfRemoteTable returns info about column default kinds [#CLICKHOUSE-3241] 2018-03-12 23:21:54 +03:00
Alexey Zatelepin
78d92f6794 add some useful methods, rename for clarity [#CLICKHOUSE-3241] 2018-03-12 22:10:13 +03:00
Alexey Zatelepin
71642b0880 use ColumnsDescription everywhere [#CLICKHOUSE-3241] 2018-03-12 22:07:48 +03:00
Alexey Milovidov
5ff433b670 Merged Limits to Settings [#CLICKHOUSE-2021] 2018-03-11 03:15:26 +03:00
Nikolai Kochetov
871a560b37 merged with master 2018-03-05 15:36:17 +03:00
Alexey Milovidov
651a312896 Added ProfileEvent for table function executions [#CLICKHOUSE-3615] 2018-03-02 08:03:28 +03:00
proller
cf9a33d04f CLICKHOUSE-3600 Use correct lld version, cmake fixes (#1968)
* Allow build without rt library

* fix

* Cmake misc

* CLICKHOUSE-3600 Use correct lld version

* CLICKHOUSE-3600 Use correct lld version

* Use libllvm same version as clang

* fix

* Fix build with iodbc

* Fix iodbc build

* Fix gold find

* Fix empty lines
2018-02-26 21:34:22 +03:00
Alexey Milovidov
30b657a0da Header in every stream: development [#CLICKHOUSE-2] 2018-02-15 21:54:12 +03:00
Vitaliy Lyudvichenko
ac0d1f8fba Addition to prev revision. [#CLICKHOUSE-2]
Add cluster(cluster_name, db, table) table function.
2018-02-12 23:44:59 +03:00
Vitaliy Lyudvichenko
40ac028e21 remote() table function accepts cluster name identifier as the 1st argument. [#CLICKHOUSE-2]
Add cluster(cluster_name, db, table) table function.
2018-02-12 23:35:56 +03:00
Alexey Zatelepin
c379f56a75 add failover in getStructureOfRemoteTable() function [#CLICKHOUSE-3566] 2018-02-07 17:55:23 +03:00
Nikolai Kochetov
b0f66bb234 remote don't use rpc for local replicas 2018-01-29 13:08:20 +03:00
Alexey Milovidov
0bfea2f52c Miscellaneous [#CLICKHOUSe-2] 2018-01-10 03:04:08 +03:00
Alexey Milovidov
ffca152c45 Inverted dependencies in StorageFactory [#CLICKHOUSE-2]. 2017-12-30 07:00:39 +03:00
proller
70e35d0bcc Build fixes (#1718)
* Embedded compiler fixes

* common lib not needed for clang and lld

* Fix pthread link

* Fix shared build

* Arm fixes 1

* arm fix

* Unused fix

* Build fixes

* release --pbuilder

* release pbuilder fix

* FORCE_PBUILDER_CREATE=1 release

* release: Auto use clang with sanitizers

* Fix build without poco data odbc lib. zlib arm build fix.

* Fix freebsd build and build without mysql

* Tests: Dont eat my cpu!

* Test me
2017-12-29 18:48:20 +03:00
Alexey Milovidov
10bf086397 Table functions MySQL and ODBC: development [#CLICKHOUSE-3114]. 2017-12-28 07:59:04 +03:00
Alexey Milovidov
fcdd5de47d Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
This reverts commit fcabe8b888.
2017-12-28 07:39:19 +03:00
Alexey Milovidov
798299ba89 Merge branch 'aavdonkin-master' 2017-12-28 07:33:55 +03:00
Alexey Milovidov
9f2cd7a304 Merging [#CLICKHOUSE-3114] 2017-12-28 07:29:53 +03:00
Alexey Milovidov
4448766266 Merging [#CLICKHOUSE-3114] 2017-12-28 07:28:05 +03:00
Alexey Milovidov
104b09604a Merging [#CLICKHOUSE-3114] 2017-12-28 00:45:05 +03:00
Alexey Milovidov
b2fcf06353 Merging [#CLICKHOUSE-3114] 2017-12-27 00:34:06 +03:00
Alexey Milovidov
f87761df90 Merged with master; applied clang-format with newer files [#CLICKHOUSE-3114]. 2017-12-26 21:32:17 +03:00
Alexey Milovidov
c89041ce63 Removed questionable code (2) [#CLICKHOUSE-2]. 2017-12-26 01:51:04 +03:00
Alexey Milovidov
ec71908b00 Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
This reverts commit fcabe8b888.
2017-12-26 00:57:29 +03:00
Alexey Milovidov
fcabe8b888 Removed questionable code (2) [#CLICKHOUSE-2]. 2017-12-26 00:32:33 +03:00
Alexey Milovidov
a85b2e5a95 Removed questionable code [#CLICKHOUSE-2]. 2017-12-26 00:10:46 +03:00
Alexander Avdonkin
331c5c3db8 Merge branch 'master' of github.com:aavdonkin/ClickHouse 2017-12-13 19:48:27 +03:00
Alexander Avdonkin
d1ee8c5358 Fixed issues 2017-12-13 19:46:57 +03:00
alexey-milovidov
1d0df29e0f
Merge branch 'master' into master 2017-12-08 11:29:01 +03:00
Alexander Avdonkin
89db5040df Implemented MySQL and ODBC storages and table functions 2017-12-05 16:32:02 +03:00
Alexey Milovidov
c748493a86 Better [#CLICKHOUSE-2]. 2017-12-02 05:47:12 +03:00
proller
6ff1968196 Compile and likk optimize and fixes 2017-11-24 21:08:01 +03:00
proller
aa3dd03389 Split lib dbms to dbms + dbms_common_io 2017-11-17 22:19:49 +03:00
Nikolai Kochetov
cdd852902d Merge branch 'master' into catboost-models 2017-11-10 14:40:08 +03:00
Alexey Milovidov
4e04c4da5f Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2]. 2017-11-04 06:56:31 +03:00
Nikolai Kochetov
2bd2bc6191 renamed feature columns, check CatBoost pool in data directory [#CLICKHOUSE-3305]
renamed feature columns, check CatBoost pool in data directory [#CLICKHOUSE-3305]
2017-10-31 14:50:23 +03:00
Nikolai Kochetov
d54e27cdcb added TableFunctionCatBoostPool [#CLICKHOUSE-3305]
fix column descriptions parsing [#CLICKHOUSE-3305]
2017-10-31 14:50:22 +03:00
Vadim Skipin
e0a1e6982b Context parameter added to the IDatabase methods 2017-09-11 21:29:26 +03:00
Vadim Skipin
4017622ffb CLICKHOUSE-3289: Do not use Application singleton 2017-09-07 20:55:33 +03:00
Vadim Skipin
61f65e97a8 Fix typo 2017-08-18 22:38:56 +03:00
Vadim Skipin
5f4e833925 Cleanup function factories:
* Switch to std::function to allow more complex creator logic
* Cleanup headers
2017-08-18 21:15:57 +03:00
Alexey Zatelepin
3f3b7f61e2 always send changed settings for remote connections [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +03:00
Alexey Milovidov
1e1dc8828a Miscellaneous [#CLICKHOUSE-2]. 2017-08-13 00:02:45 +03:00
Alexey Milovidov
b0b7f1b161 Miscellaneous [#CLICKHOUSE-2]. 2017-08-08 23:58:18 +03:00
Nikolai Kochetov
75be0b81d8 removed typeid_cast from IColumn.h 2017-07-13 23:58:19 +03:00
Vitaliy Lyudvichenko
b843ea5b3f Resolves #964. Fixed input_format_skip_unknown_fields for negative numbers. [#CLICKHOUSE-3] 2017-07-11 21:36:51 +03:00