Alexey Milovidov
a1d745888d
Dummy implementation for non-Linux platforms #2482
2018-08-22 08:56:06 +03:00
Alexey Milovidov
43f1f70c9b
Code cleanups #2482
2018-08-22 03:24:55 +03:00
proller
300457da7a
fix
2018-08-21 21:35:47 +03:00
proller
fc2925b567
Squashed commit of the following:
...
commit 2722e540abfee4a527d716474c4ca582eceeee08
Merge: b4f3af824 aebddd550
Author: proller <proller@github.com>
Date: Tue Aug 21 18:34:18 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit b4f3af824b88a8b6826583bb483730827574e8ad
Author: proller <proller@github.com>
Date: Tue Aug 21 17:00:20 2018 +0300
fix
commit 3a18fa7ded2a7d6b7a0883a1b9c2d6b99360837d
Author: proller <proller@github.com>
Date: Tue Aug 21 16:57:17 2018 +0300
fix
commit 5d42220c2cf47e1a86bdc73dbfc24b68f8626891
Author: proller <proller@github.com>
Date: Tue Aug 21 16:50:21 2018 +0300
freebsd fixes
commit 7baf4fb5ba4575f79b0d12a9ffaaabd34e1006da
Author: proller <proller@github.com>
Date: Tue Aug 21 16:17:19 2018 +0300
fix
commit e1fe707fd765b841a8d0952d91a980128cbf91d0
Author: proller <proller@github.com>
Date: Tue Aug 21 15:35:21 2018 +0300
fix
commit 027887c71b3ffa98d9473d50d8c3b79cbf3304ac
Author: proller <proller@github.com>
Date: Tue Aug 21 15:25:57 2018 +0300
fix
commit 81af41bfcfff7c02fe4060196cf03c2d2aab416e
Author: proller <proller@github.com>
Date: Tue Aug 21 15:20:41 2018 +0300
fix
commit 93d572c85d9c7e331254999a614c3b22b5573b02
Author: proller <proller@github.com>
Date: Tue Aug 21 14:58:07 2018 +0300
SPLIT_SHARED
commit dd5b8990d8527d59b1e890943d80c2bf27c613ce
Author: proller <proller@github.com>
Date: Tue Aug 21 14:52:39 2018 +0300
fix
commit 4840ca12ab752a38c1ef482e8ec59c5859bb48d7
Author: proller <proller@github.com>
Date: Tue Aug 21 14:46:31 2018 +0300
fix
commit abde633beb86f2a0d025d6fcf079965dbd827b92
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:32 2018 +0300
fix
commit 0d94a5476a5ba8ba5e88638d58f2cfbf2b4b662d
Author: proller <proller@github.com>
Date: Tue Aug 21 14:45:18 2018 +0300
Travis: try fail on ninja fail
commit c2686f90b68255c2beb0a708804aef404e80a6d2
Merge: 2c3427bbd 2aa7eb463
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:15 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 2c3427bbdb861edbb188ed4621e8a05cafaedafb
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:24 2018 +0300
fix
commit 530170c6a81d31dcfa81230e48520383234df4bc
Merge: 9abec162c f6e4ec970
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:03 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 9abec162cb2e09bbc2f33cbe80fe76791f6e5a77
Author: proller <proller@github.com>
Date: Mon Aug 20 23:49:58 2018 +0300
Apple fixes
commit 36d05e8217440fbc8ae21571b06d4eb6d679d538
Author: proller <proller@github.com>
Date: Mon Aug 20 23:25:05 2018 +0300
apple fix
commit aeec3e845e4456e89fbb1b1af6f9f36820a46e33
Author: proller <proller@github.com>
Date: Mon Aug 20 23:20:06 2018 +0300
fixes
commit 427961d916a5954981e47d94733996deb2a616ce
Author: proller <proller@github.com>
Date: Mon Aug 20 23:11:11 2018 +0300
fix
commit a7dd55ff8f653624c0f3dbcbc54defd3b3ae97af
Author: proller <proller@github.com>
Date: Mon Aug 20 22:41:53 2018 +0300
fix
commit 6200e0d315c7a62bae63a8de0fc32f7937770ad2
Merge: 8a541d7e6 21cedbe46
Author: proller <proller@github.com>
Date: Mon Aug 20 22:35:49 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8a541d7e64c89e2c16af6c909e0353361153aaa3
Author: proller <proller@github.com>
Date: Mon Aug 20 22:34:32 2018 +0300
Do not use poco types
commit fd560f43d048b7e3307c6c6b9c9d9918230014d8
Author: proller <proller@github.com>
Date: Mon Aug 20 22:20:42 2018 +0300
Try fix apple build
commit cfb2eba07ac06f19e822d3474341d800b1f98cf1
Merge: 8d2e31c90 5b81fdfc0
Author: proller <proller@github.com>
Date: Mon Aug 20 22:03:24 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8d2e31c908be2e99d09e2a9dde2414ab82a5e93c
Author: proller <proller@github.com>
Date: Mon Aug 20 21:56:06 2018 +0300
travis: TEST_SERVER_STARTUP_WAIT=10
2018-08-21 18:56:50 +03:00
Alexey Milovidov
f1ba2f9a33
Try to fix "query in form data" feature while still tracking limits for external tables (try №2) #2482
2018-08-20 05:23:35 +03:00
Alexey Milovidov
1802b00c0b
Fixed bad arithmetic; miscellaneous #2482
2018-08-19 07:25:53 +03:00
Alexey Milovidov
acb99b49df
Merge branch 'master' into CLICKHOUSE-2910
2018-08-14 23:29:42 +03:00
Alexey Milovidov
979154122f
Changed strange name #2846
2018-08-14 22:34:25 +03:00
chertus
21fe103831
fix clang build
2018-08-14 22:16:56 +03:00
chertus
15cdd7b2bd
make clang happy
2018-08-14 17:19:58 +03:00
alexey-milovidov
f538bd2113
Merge branch 'master' into decimal
2018-08-13 11:57:42 +03:00
Alexey Milovidov
7e50c88538
Added test case [#CLICKHOUSE-3891]
2018-08-13 07:35:12 +03:00
Alexey Milovidov
36db216abf
Preparation for extra warnings [#CLICKHOUSE-2]
2018-08-10 07:02:56 +03:00
Alex Bocharov
e8d4654419
Remove FormatSettings default value for writeJSONString and add tests for output_format_json_escape_forward_slashes.
2018-08-08 02:35:32 +03:00
alexey-milovidov
0a4d07b995
Update WriteHelpers.h
2018-08-08 02:35:32 +03:00
Alex Bocharov
a8818bb8af
Add output_format_json_escape_slashes setting - controls escaping slashes for string outputs in JSON output format.
2018-08-08 02:35:32 +03:00
chertus
de68022fc5
rewrite Decimal with own data type
2018-08-07 16:57:28 +03:00
chertus
c590a74981
Merge branch 'master' into decimal
2018-08-06 13:38:18 +03:00
Alexey Milovidov
e523f9a2c8
Fixed names [#CLICKHOUSE-2]
2018-08-05 11:54:57 +03:00
Alexey Milovidov
1b1754e598
Fixed build #2794
2018-08-04 00:13:54 +03:00
chertus
582f76c83b
string to decimal, decimal to string, check decimal bounds
2018-07-30 21:10:38 +03:00
chertus
b9fd87eff7
Merge branch 'master' into decimal
2018-07-27 20:31:33 +03:00
alesapin
6abbfbce87
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 18:10:57 +03:00
chertus
c1c149d74b
decimal comparisons
2018-07-25 22:38:21 +03:00
chertus
02f016579c
decimal (de)serialization (in progress)
2018-07-23 23:19:26 +03:00
chertus
5ec47b4a1c
decimal (in progress)
2018-07-20 22:05:07 +03:00
Alexey Milovidov
245b114363
Quote all identifiers when querying external database #2635
2018-07-20 03:04:48 +03:00
Alexey Milovidov
a32c2e14a6
Removed unused method that became incompatible [#CLICKHOUSE-2]
2018-07-18 20:16:04 +03:00
alexey-milovidov
4b31f389b7
Update BufferBase.h
2018-07-17 19:41:41 +03:00
Amos Bird
c3c762cde7
Fast path for stringify float points.
2018-07-17 19:41:41 +03:00
Alexey Milovidov
6ba5b3bd82
Fixed warning [#CLICKHOUSE-2]
2018-07-16 09:09:27 +03:00
Alexey Milovidov
317807f03d
Fixed warning [#CLICKHOUSE-2]
2018-07-16 09:08:39 +03:00
Alexey Milovidov
eee02143a8
Implemented more accurate CAST from String to Nullable of Date and DateTime #1322
2018-07-16 03:30:13 +03:00
Alexey Milovidov
297805f719
Implemented toOrZero, toOrNull functions for Date and DateTime arguments (incomplete) #1322
2018-07-16 03:30:13 +03:00
proller
5384504fa2
More information in 'Cannot read all data' errors
2018-07-13 22:06:26 +03:00
alexey-milovidov
53f9ae3cf1
Update CompressedReadBufferBase.cpp
2018-07-13 06:41:18 +03:00
proller
9d0b6bffe4
Better error: Print checksums if they mismatch
2018-07-13 06:41:18 +03:00
Alexey Milovidov
2f4605e7da
Fixed build #2627
2018-07-11 15:50:23 +03:00
alexey-milovidov
e0ce1aac56
Update WriteBufferFromOStream.cpp
2018-07-10 23:46:10 +03:00
alexey-milovidov
ba25b84e6d
Update WriteBufferFromOStream.cpp
2018-07-10 23:46:10 +03:00
alexey-milovidov
401c48272d
Update WriteBufferFromOStream.h
2018-07-10 23:46:10 +03:00
alexey-milovidov
1737228039
Update ReadBufferFromIStream.cpp
2018-07-10 23:46:10 +03:00
alexey-milovidov
21a5a7a544
Update ReadBufferFromIStream.h
2018-07-10 23:46:10 +03:00
proller
2e0869f567
Write current position in stream errors
2018-07-10 23:46:10 +03:00
Alexey Milovidov
98f8ae3edb
Fixed error with timeouts [#CLICKHOUSE-2837]
2018-07-10 20:40:17 +03:00
Alexey Milovidov
15dd80a913
Debugging [#CLICKHOUSE-2]
2018-07-10 03:35:00 +03:00
Alexey Milovidov
3c34487f43
Preparations [#CLICKHOUSE-2]
2018-07-09 23:36:58 +03:00
Alexey Milovidov
7209d8b76f
Adaptations #2574
2018-07-05 00:09:58 +03:00
Alexey Milovidov
84fd35da41
Adaptations #2574
2018-07-05 00:00:50 +03:00
Amos Bird
900b046943
Add options to enable parsing CSV with single/double quote.
2018-06-29 15:34:55 +08:00
proller
a31adcfdea
Allow use unbundled cpuid ( #2543 )
...
* Wait test server startup for 5s
* clean
* Allow use system libcpuid
* cpuid: move include/cpuid/ -> include/libcpuid/
* fix
2018-06-21 20:35:03 +03:00
proller
e1ae5233df
Add // Y_IGNORE tags
2018-06-21 18:24:36 +03:00
Vitaliy Lyudvichenko
310bb4116e
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-19 23:33:11 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes ( #2488 )
...
CONTRIB-254
2018-06-19 21:09:09 +03:00
Alexey Milovidov
187d93ea82
Addition to prev. revision #2520
2018-06-18 05:17:00 +03:00
Alexey Milovidov
4871fb3626
Addition to prev. revision #2520
2018-06-18 05:16:00 +03:00
Alexey Milovidov
447ffe32a9
Addition to prev. revision #2520
2018-06-18 05:15:19 +03:00
Alexey Milovidov
ea01f6a3ff
Addition to prev. revision #2520
2018-06-18 05:12:19 +03:00
Alexey Milovidov
82102c6896
Fixed conflicting headers on Fedora Rawhide while using Linux native AIO #2520
2018-06-18 04:33:34 +03:00
Alexey Milovidov
6173e4b71f
Returned back "explicit" #2501
2018-06-16 09:00:51 +03:00
Alexey Milovidov
2298f1c68b
Fixed strange code #2501
2018-06-16 08:54:06 +03:00
Alexey Milovidov
b108882e2e
Merge branch 'master' of https://github.com/alesapin/ClickHouse into alesapin-master
2018-06-16 08:29:00 +03:00
Alexey Milovidov
05d31f5e46
LZ4_decompress_faster: reordered variants and removed variant that is always worse [#CLICKHOUSE-3773]
2018-06-16 07:48:37 +03:00
alesapin
ffad002bf5
Add missed stl header
2018-06-15 10:42:57 +03:00
alesapin
5bc0f26496
Add missed file
2018-06-15 10:05:14 +03:00
Alexey Milovidov
233906f61b
Enabled ARM Neon [#CLICKHOUSE-2]
2018-06-15 00:58:48 +03:00
alesapin
148cbe8058
Added WriteBufferFromHTTP and used it in StorageURL. Also small refactoring.
2018-06-15 00:20:39 +03:00
Alexey Milovidov
0c467158f9
Attempt to use ARM Neon [#CLICKHOUSE-2]
2018-06-15 00:14:08 +03:00
Alexey Milovidov
d4aa1dffa2
Attempt to use ARM Neon [#CLICKHOUSE-2]
2018-06-15 00:13:13 +03:00
Alexey Milovidov
cc4f896a9d
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:05:52 +03:00
Alexey Milovidov
177251790b
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:05:20 +03:00
Alexey Milovidov
e27af42041
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:04:48 +03:00
Vitaliy Lyudvichenko
4cd230f85c
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-14 16:04:00 +03:00
Alexey Milovidov
397ac0fb24
Updated performance testing tool #1890
2018-06-13 05:52:03 +03:00
Alexey Milovidov
e3d5a2860e
Updated LZ4 performance testing tool #1890
2018-06-12 08:04:16 +03:00
Alexey Milovidov
cf94f609f6
Fixed error #1890
2018-06-12 07:18:01 +03:00
Alexey Milovidov
d560db65f6
Fixed weird error #1890
2018-06-12 06:32:48 +03:00
Alexey Milovidov
eb83b2046b
Fixed potential issue #1890
2018-06-12 06:25:54 +03:00
alexey-milovidov
17d90fe6da
Merge branch 'master' into lz4_experiments
2018-06-10 23:13:38 +03:00
Alexey Milovidov
2152b932c2
Allowed to switch between 'basic' and 'best effort' methods of parsing DateTime from text: preparation #1710
2018-06-08 05:56:37 +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
ca52d96e09
Insignificant changes for PVS-Studio [#CLICKHOUSE-3]
2018-06-04 22:22:27 +03:00
Alexey Milovidov
d811647668
Suppressions for PVS-Studio [#CLICKHOUSE-3]
2018-06-04 18:28:25 +03:00
Alexey Milovidov
8cb65277e2
Non significant changes according to clang's -Weverything, part 5 [#CLICKHOUSE-2]
2018-06-04 01:11:50 +03:00
Alexey Milovidov
7c60adbebb
Non significant changes according to clang's -Weverything, part 4 [#CLICKHOUSE-2]
2018-06-03 23:48:36 +03:00
Alexey Milovidov
f5adbceed2
Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2]
2018-06-03 23:39:06 +03:00
Alexey Milovidov
734cebdf09
Non significant changes according to clang's -Weverything, part 1 [#CLICKHOUSE-2]
2018-06-03 19:51:31 +03:00
Vitaliy Lyudvichenko
0355f81f20
[WIP] Introduced query_thread_log. [#CLICKHOUSE-2910]
2018-05-31 18:54:08 +03:00
Vitaliy Lyudvichenko
d81744fd06
Add more perfomance counters. [#CLICKHOUSE-2910]
2018-05-28 23:03:03 +03:00
Alexey Zatelepin
f6c72f8e56
Merge branch 'master' into replicated-mergetree-mutations
...
Conflicts:
dbms/src/Common/ActionBlocker.h
dbms/src/Storages/MergeTree/ActiveDataPartSet.cpp
dbms/src/Storages/MergeTree/ActiveDataPartSet.h
dbms/src/Storages/MergeTree/MergeTreeData.h
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeAlterThread.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
dbms/src/Storages/StorageMergeTree.cpp
dbms/src/Storages/StorageReplicatedMergeTree.cpp
dbms/src/Storages/StorageReplicatedMergeTree.h
2018-05-28 18:37:30 +03:00
Alexey Zatelepin
41b7e533cd
more honest constness in ActionBlocker
2018-05-25 23:06:36 +03:00
Alexey Milovidov
13762471da
Changed DayNum_t to DayNum as Amos Bird suggested [#CLICKHOUSE-3]
2018-05-25 16:29:15 +03:00
Alexey Milovidov
fb91bba279
Miscellaneous [#CLICKHOUSE-2]
2018-05-16 03:34:56 +03:00
proller
fb911f7cfa
Allow force disable libs: poco netssl poco mongodb, poco data odbc
2018-05-14 21:36:01 +03:00
Alexey Milovidov
715a9a7233
Miscellaneous [#CLICKHOUSE-2]
2018-05-11 14:04:12 +03:00
Alexey Milovidov
471eb5c8ca
Removed useless file [#CLICKHOUSE-2]
2018-05-11 03:49:06 +03:00
Alexey Milovidov
8b05841142
Removed useless files [#CLICKHOUSE-2]
2018-05-11 03:08:49 +03:00
Vitaliy Lyudvichenko
1f05000c2c
Better naming. [#CLICKHOUSE-3645]
2018-05-09 07:55:08 +03:00
Alexey Milovidov
b442cd9c64
Miscellaneous (no effect) [#CLICKHOUSE-2]
2018-05-09 07:22:30 +03:00
Alexey Milovidov
94369e55d3
Fixed style a bit [#CLICKHOUSE-2]
2018-05-07 05:01:29 +03:00
Alexey Milovidov
046346645f
Minor modifications #1959
2018-03-23 19:55:35 +03:00
proller
caf83a650e
libs: compiling with msvc2017 ( #1996 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
* Build fixes
* Build fixes
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* add bat
* no zookeeper in dbms
* update boost
* fixes
* fixes
* fix
* fix
* fix
* fix
* try fix
* try fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Better
* fix
* dh verbose
* fix
* dh verbose
* fix
* clean
* Update LocalDate.h
* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
Alexey Milovidov
b7475b1d2c
Fixed error: wrong timeouts passed to ConnectionPoolWithFailover [#CLICKHOUSE-3641]
2018-03-12 23:25:18 +03:00
Alexey Milovidov
8ff0c520d0
Removed the possibility to use queries with empty query_id; better semantics #245
2018-03-10 02:04:26 +03:00
Alexey Milovidov
d0a15df011
Fixed non-harmful data race [#CLICKHOUSE-2]
2018-03-09 02:07:39 +03:00
Alexey Milovidov
c897e5ca39
Better [#CLICKHOUSE-2]
2018-03-03 18:36:20 +03:00
Alexey Milovidov
f36dfe42a5
Miscellaneous [#CLICKHOUSE-2]
2018-02-21 22:35:10 +03:00
Alexey Zatelepin
ba43aaa5c0
parse empty strings as 0.0 when parsing Floats [#CLICKHOUSE-3603]
2018-02-19 15:40:43 +03:00
proller
d2f1ef686e
Misc build and test fixes ( #1905 )
...
* Misc build fixes
* Fix apple tests
2018-02-14 20:27:14 +03:00
alexey-milovidov
238eba25c9
Merge branch 'master' into lz4_experiments
2018-02-12 20:05:48 +03:00
Alexey Milovidov
f68600973f
Fixed build [#CLICKHOUSE-2]
2018-02-12 04:11:28 +03:00
Alexey Milovidov
55c969d073
Added test [#CLICKHOUSE-2]
2018-02-12 03:55:46 +03:00
Alexey Milovidov
b5430b3885
Function "parseDateTimeBestEffort": development [#CLICKHOUSE-2]
2018-02-11 07:09:02 +03:00
Fruit of Eden
81f654fe40
Fix on an compiling error
...
added some non-effect code to avoid no-use-parameter occurence
2018-02-09 11:30:08 +08:00
proller
63b3bccb04
Test and build fixes ( #1822 )
...
* Fix travis
* try
* try
* Disable macos
* Travis enable macos
* Fix
* fast_finish: true
* fix
* fxi
* fix openssl
* fix
* fix
* Fix
* try travis
* fix
* fix
* Cmake: dont filter platform-depended files in cmake
* misc
* renamed: tests/server_wrapper.sh -> tests/clickhouse-test-serve
* install clickhouse-test-server
* clickhouse-test-server wip
* wip
2018-01-26 12:03:38 +03:00
proller
c430af5fb8
Freebsd fixes
2018-01-21 02:23:19 +03:00
Alexey Milovidov
906c79d991
Added support for floating point numbers with leading + in exponent #1665
2018-01-16 23:32:31 +03:00
Alexey Milovidov
8b7fe2d23e
Added suggestion from Chen Yufei #1665
2018-01-16 22:54:20 +03:00
Alexey Milovidov
eb8f41a3e3
Continued experiments [#CLICKHOUSE-2]
2018-01-16 05:04:53 +03:00
Alexey Milovidov
846de85799
Continued experiments [#CLICKHOUSE-2]
2018-01-16 05:04:02 +03:00
Alexey Milovidov
2fa8992e2c
Continued experiments [#CLICKHOUSE-2]
2018-01-16 04:59:51 +03:00
proller
d97b2edc7c
Make separate libs Common/ZooKeeper and Common/ConfigProcessor ( #1749 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
2018-01-15 22:07:47 +03:00
Alexey Milovidov
53ab52f95c
Experiments with LZ4 [#CLICKHOUSE-2]
2018-01-15 08:54:28 +03:00
Alexey Milovidov
ce5de79263
Fixed tests #1665
2018-01-14 03:12:23 +03:00
Alexey Milovidov
b1a20d78ed
Better #1665
2018-01-14 01:25:02 +03:00
Alexey Milovidov
6cec145f0b
Better #1665
2018-01-14 01:16:45 +03:00
Alexey Milovidov
dcaebed90a
Better #1665
2018-01-14 01:11:27 +03:00
Alexey Milovidov
049d4d3ddf
Better #1665
2018-01-14 01:08:06 +03:00
Alexey Milovidov
5c933d6397
Fixed error #1665
2018-01-14 01:00:15 +03:00
Alexey Milovidov
460cba0e9d
Better #1665
2018-01-14 00:26:08 +03:00
Alexey Milovidov
21a5ace37c
Fixed error #1665
2018-01-14 00:22:05 +03:00
Alexey Milovidov
37b8d619c9
Fixed error #1665
2018-01-14 00:08:47 +03:00
Alexey Milovidov
66f229e27d
Fixed error #1665
2018-01-14 00:03:22 +03:00
Alexey Milovidov
3146533476
More optimal memory layout of BufferBase #1665
2018-01-13 22:29:10 +03:00
Alexey Milovidov
070d8e6e3b
Better #1665
2018-01-13 22:14:08 +03:00
Alexey Milovidov
a375757625
Better #1665
2018-01-13 22:13:26 +03:00
Alexey Milovidov
02706f4831
Better #1665
2018-01-13 21:45:57 +03:00
Alexey Milovidov
b9e62ddb2d
Better #1665
2018-01-13 21:01:31 +03:00
Alexey Milovidov
c6ac570947
Addition to prev. revision #1665
2018-01-13 08:56:57 +03:00
Alexey Milovidov
c22563b75e
Addition to prev. revision #1665
2018-01-13 08:48:32 +03:00
Alexey Milovidov
ddac4345ad
Addition to prev. revision #1665
2018-01-13 08:40:40 +03:00
Alexey Milovidov
81187e48b2
Addition to prev. revision #1665
2018-01-13 08:38:27 +03:00
Alexey Milovidov
e8385f6778
Addition to prev. revision #1665
2018-01-13 08:30:11 +03:00
Alexey Milovidov
b7b3b6fc42
Addition to prev. revision #1665
2018-01-13 08:20:18 +03:00
Alexey Milovidov
e300ecd157
Addition to prev. revision #1665
2018-01-13 07:45:13 +03:00
Alexey Milovidov
2bf79be52f
Added all methods #1665
2018-01-13 07:43:10 +03:00
Alexey Milovidov
3c144683a4
Updated test #1665
2018-01-13 06:58:45 +03:00
Alexey Milovidov
4c666036ac
Modified test #1665
2018-01-13 06:13:39 +03:00
Alexey Milovidov
717c5dad3a
Added old method to the test for comparison #1665
2018-01-13 06:06:07 +03:00
Alexey Milovidov
5e2f66954d
Added another inaccurate method for reading floats #1665
2018-01-13 05:55:31 +03:00
Alexey Milovidov
f75ef123dc
Fixed error #1665
2018-01-13 05:12:25 +03:00
Alexey Milovidov
230062c63d
Fixed error #1665
2018-01-12 02:53:51 +03:00
Alexey Milovidov
d33ac0ea15
Updated test #1665
2018-01-12 00:33:45 +03:00
Alexey Milovidov
be7c5227d3
Parsing floats correctly #1665
2018-01-12 00:20:10 +03:00
Alexey Milovidov
3c9c884db8
Better #1665
2018-01-11 23:02:04 +03:00
Alexey Milovidov
0bfea2f52c
Miscellaneous [#CLICKHOUSe-2]
2018-01-10 03:04:08 +03:00
Nikolai Kochetov
cbeeb84999
added http_*_timeout settings [#CLICKHOUSE-3440]
2018-01-09 21:41:01 +03:00
Alexey Milovidov
8ff93487e3
Miscellaneous [#CLICKHOUSE-2].
2017-12-25 07:01:46 +03:00
Alexey Milovidov
c5d5296889
Miscellaneous [#CLICKHOUSE-2].
2017-12-18 07:07:26 +03:00
Alexey Milovidov
be72c247fe
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 15:09:55 +03:00
Alexey Milovidov
9996e15458
Allow to use values of AggregateFunction data type in groupArray aggregate function [#CLICKHOUSE-3485].
2017-12-06 06:10:32 +03:00
Alexey Milovidov
5bb326de61
Allow to use values of AggregateFunction data type in groupArray aggregate function (incomplete) [#CLICKHOUSE-3485].
2017-12-06 00:25:01 +03:00
Alexey Milovidov
7196602e12
Better [#CLICKHOUSE-2].
2017-12-02 00:51:50 +03:00
Alexey Milovidov
1a6cb2989b
Better [#CLICKHOUSE-2].
2017-12-01 21:36:55 +03:00
Alexey Milovidov
f5ecb2db5d
Better [#CLICKHOUSE-2].
2017-12-01 20:49:12 +03:00
Alexey Milovidov
241e0638b7
Merge branch 'master' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams
2017-12-01 15:36:15 +03:00
proller
a520d30a5e
zlib fix flags in headers
2017-11-30 20:52:09 +03:00
Alexey Milovidov
95d33b3e65
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-27 22:33:38 +03:00
proller
827a5d0612
Fix warnings-errors in gtest
2017-11-24 23:40:14 +03:00
proller
0d3c4f4d67
Core/FieldVisitors.h -> Common/FieldVisitors.h
...
Core/Progress.h -> IO/Progress.h
tests: sudo --non-interactive
Fix freebsd link
2017-11-24 16:55:31 +03:00
Alexey Milovidov
4aa520e7be
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-21 22:40:59 +03:00
proller
2778f35e48
Lib Parsers
2017-11-21 22:35:54 +03:00
Alexey Milovidov
380fc668dc
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:37:54 +03:00
Alexey Milovidov
725bd4046f
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:36:46 +03:00
Alexey Milovidov
b3f6844171
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 07:18:37 +03:00
Alexey Milovidov
01e8adbfff
Removed "experimental" namespace [#CLICKHOUSE-2].
2017-11-20 07:15:43 +03:00
Alexey Milovidov
5d57e014a1
Returned serialization of zero Date and DateTime as zeros [#CLICKHOUSE-2].
2017-11-20 05:45:37 +03:00
Alexey Milovidov
31fc79b809
Returned serialization of zero Date and DateTime as zeros [#CLICKHOUSE-2].
2017-11-20 05:44:39 +03:00
Alexey Milovidov
2ca6952deb
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 02:16:18 +03:00
Alexey Milovidov
60825748d4
Merge branch 'fix11' of https://github.com/proller/ClickHouse into proller-fix11
2017-11-19 22:57:28 +03:00
Alexey Milovidov
655565466c
Merge remote-tracking branch 'origin/master' into better-date-parsing-formatting
2017-11-18 02:45:17 +03:00
proller
5190325275
Allocator fix: nothing do when sizes equal, allow reallocate to smaller size ( #1512 )
...
* PerformanceTest fixes.
* format
* Allocator fix: nothing do when sizes equal, allow reallocate to smaller size
* Update Allocator.cpp
2017-11-17 23:27:12 +03:00
proller
5ba7e20c03
fixes
2017-11-17 22:40:27 +03:00
proller
aa3dd03389
Split lib dbms to dbms + dbms_common_io
2017-11-17 22:19:49 +03:00
Alexey Milovidov
ee48dea0d3
Attempt to improve performance of formatting Date and DateTime [#CLICKHOUSE-2].
2017-11-16 05:07:19 +03:00
Alexander Makarov
5b113df16c
Rewrote pieces of code with ambiguous '&pointer[offset]' semantics
2017-11-15 22:22:32 +03:00
Alexander Makarov
84b2f16913
fixed several UB-abusing places
2017-11-15 22:22:32 +03:00
alexey-milovidov
19e0cd879d
Extended date parsing ( #1495 )
...
* Allowed to parse Date in YYYY-mM-dD format [#CLICKHOUSE-3].
* Allowed to parse Date in YYYY-mM-dD format [#CLICKHOUSE-3].
2017-11-15 05:08:55 +03:00
Alexey Milovidov
dfdc3ba680
Revert "Enable YYYY-mM-dD parsing."
...
This reverts commit e1fb55cc99
.
2017-11-15 05:08:12 +03:00
Amos Bird
e1fb55cc99
Enable YYYY-mM-dD parsing.
...
This patch makes ClickHouse be able to parse DateTime string like '2017-2-3',
'2017-02-3' and '2017-2-03' correctly.
2017-11-15 05:07:52 +03:00
Alexey Milovidov
60477a9aaa
Enhanced time zones support: the DateTime data type can track time zone [#CLICKHOUSE-3402].
2017-11-09 22:25:21 +03:00
Alexey Milovidov
03b6aa5d21
Fixed bad translation [#CLICKHOUSE-2].
2017-11-04 05:12:05 +03:00
Alexey Zatelepin
f0da2a96b8
fix use of uninitialized variable [#CLICKHOUSE-2]
2017-11-03 19:39:06 +03:00
Alexey Milovidov
4236bcbfa2
Fixed year 2038 problem. Added support for timezones with fractional offset from UTC. [#CLICKHOUSE-2099] [#CLICKHOUSE-3392].
2017-10-29 03:51:40 +03:00
Alexey Milovidov
a27981b4ef
Get rid of double whitespaces [#CLICKHOUSE-2].
2017-10-26 21:36:23 +03:00
Marek Vavruša
8a0571af24
dbms: Better fix for missing unsigned long to Poco::UInt64 alias
2017-10-13 21:39:14 -07:00
Marek Vavruša
70543200be
dbms: Fix build with clang after Poco update
...
In the current version of Poco, unsigned long no longer aliases to
UInt64 with LP64. The size_t aliases to unsigned long with clang,
so all the uses of size_t instead of UInt64 when interacting with
Poco interfaces are gone. I replaced uses with UInt64 where it makes
sense, and added an overloaded function for readVarUInt() to support size_t.
2017-10-13 18:26:24 -07:00
Marek Vavruša
2ac5a743cc
dbms: fix build with OS X built-in clang
...
The built-in clang doesn’t support value() for
`std::experimental::optional`. It however supports
dereference operator, which is basically the
same thing:
```
/clickhouse/dbms/src/DataStreams/NullableAdapterBlockInputStream.cpp:83:67: error: call to unavailable member function 'value':
res.insert({elem.column, elem.type, rename[i].value()});
~~~~~~~~~~^~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:547:17: note: candidate function has been explicitly made unavailable
value_type& value()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:539:33: note: candidate function has been explicitly made unavailable
constexpr value_type const& value() const
```
2017-10-13 18:12:29 -07:00
Vladimir Chebotarev
c05dfc201f
dbms: Minor fix. [#METR-21516]
2017-10-13 04:14:57 +03:00
Vladimir Chebotarev
1e0241e262
dbms: CompressionSettingsSelector. [#METR-21516]
2017-10-13 04:08:23 +03:00
Vladimir Chebotarev
4e313f3732
dbms: Added compression level for ZSTD. [#METR-26742]
2017-10-13 04:08:23 +03:00
Vitaliy Lyudvichenko
62ea1133dd
Disable part sendings and fetches before ALTER. [#CLICKHOUSE-3343]
2017-10-12 23:26:54 +03:00
Alexey Zatelepin
6906921932
load partition and minmax index from disk [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Milovidov
86c46ad1bd
Unification [#CLICKHOUSE-2].
2017-09-15 15:16:12 +03:00
Alexey Milovidov
9cafeb9e85
Fixed not-an-issue found by Coverity [#CLICKHOUSE-2].
2017-09-11 08:51:23 +03:00
Alexey Milovidov
db4c3f6e48
Fixed build; clarifications [#CLICKHOUSE-3289].
2017-09-08 19:41:35 +03:00
alexey-milovidov
c8aa9f0f55
Update WriteBufferFromHTTPServerResponse.h
2017-09-08 19:37:21 +03:00
Vadim Skipin
5d3cc61891
CLICKHOUSE-3289: Do not use Application singleton #2
2017-09-08 19:37:21 +03:00
Alexey Milovidov
a81028377e
Implemented some suggestions from clang-tidy (part 9) [#CLICKHOUSE-3301].
2017-09-08 08:03:21 +03:00
Alexey Milovidov
dc4976f562
Implemented some suggestions from clang-tidy (part 8) [#CLICKHOUSE-3301].
2017-09-08 07:58:57 +03:00
Alexey Milovidov
e9ae193870
Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301].
2017-09-08 05:29:47 +03:00
Alexey Milovidov
8b313ab99e
Fixed warnings found by cppcheck [#CLICKHOUSE-3300].
2017-09-08 00:04:48 +03:00
Alexey Milovidov
45eda97e39
Fixed bug in usage of ZSTD [#CLICKHOUSE-3282].
2017-09-07 20:55:55 +03:00
Alexey Milovidov
4f7a3a7832
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-09-05 03:11:18 +03:00
Alexey Milovidov
4d97959e57
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-09-04 04:11:00 +03:00
alexey-milovidov
ffd75017e7
Update WriteBufferFromHTTPServerResponse.cpp
2017-09-02 00:49:06 +03:00
alexey-milovidov
f079af6197
Update WriteBufferFromHTTPServerResponse.cpp
2017-09-02 00:48:18 +03:00
alexey-milovidov
7b2cc11520
Update WriteBufferFromHTTPServerResponse.cpp
2017-09-02 00:47:37 +03:00
proller
863fd72c8a
Segmentation fault on HEAD HTTP query #912
2017-09-02 00:46:12 +03:00
alexey-milovidov
775d95888a
Merge pull request #1163 from yandex/CLICKHOUSE-2931
...
Introduce SYSTEM queries
2017-09-01 20:45:29 +03:00
proller
1a8e22c37f
Allow compile on 32bit systems ( #1175 )
...
* Trying compile under 32bit..
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* clnag-format of Split ComplexKeyCacheDictionary
* wip
* Requested changes
* wip
* wip
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* wip
* Fix arm build
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* fix
* wip
* wip
* clean
* clean
* wip
* wip
* Update MergeTreeSettings.h
* Requested changes
* Requested changes
* Requested changes
* Requested changes
2017-09-01 20:21:03 +03:00
alexey-milovidov
aa2d29f5f9
Update ReadWriteBufferFromHTTP.cpp, Context.cpp, etc
...
Update ASTSystemQuery.cpp
Update ASTSystemQuery.h
Update dictionary_clickhouse_cache.xml
Update dictionary_clickhouse_flat.xml
2017-08-31 13:26:02 +03:00
alexey-milovidov
5d14855989
Merge branch 'master' into CLICKHOUSE-2931
2017-08-31 00:23:39 +03:00
Alexey Milovidov
495daffa16
Miscellaneous [#CLICKHOUSE-2].
2017-08-30 21:13:32 +03:00
Vitaliy Lyudvichenko
48f5d8f1a3
Add SYSTEM DROP DNS CACHE. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Alexey Milovidov
e01c23267a
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-08-18 22:41:27 +03:00
Vitaliy Lyudvichenko
ad40104022
Unix timestamp format for DateTime fields in CSV. Resolves #366 . [#CLICKHOUSE-3168]
2017-08-15 23:22:36 +03:00
Alexey Milovidov
dc29ae7e73
Added test (tnx. egatov) [#CLICKHOUSE-2].
2017-08-15 23:17:50 +03:00
Alexey Milovidov
4272265128
Fixed LimitReadBuffer [#CLICKHOUSE-2].
2017-08-15 23:14:15 +03:00
Alexey Milovidov
957fb9f2e5
Added test [#CLICKHOUSE-2].
2017-08-14 07:49:20 +03:00
Alexey Milovidov
09d83eecd0
Moved code to cpp [#CLICKHOUSE-2].
2017-08-14 07:42:04 +03:00
alexey-milovidov
94a15df626
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
cbed1415d7
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
16f0af8018
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
d87b615bdf
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
3330cd6a7f
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
Evgeniy Gatov
2e6eb504dc
LimitReadBuffer fix [#CLICKHOUSE-2].
2017-08-14 07:37:01 +03:00
Alexey Milovidov
46b5c9ce03
Miscellaneous [#CLICKHOUSE-2].
2017-08-10 02:57:54 +03:00
Alexey Milovidov
4f633f316c
Removed TODO [#CLICKHOUSE-2].
2017-08-09 04:38:56 +03:00
Alexey Milovidov
6edb14ba6b
Fixed garbage [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
1fc8548018
Fixing garbage (incomplete) [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
9bbcfbd35c
Fixed error [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
fb2aff4704
Unification of data types, that is serialized with multiple streams [#CLICKHOUSE-2838].
2017-08-07 10:31:16 +03:00
Alexey Milovidov
ff54c93a22
Miscellaneous [#CLICKHOUSE-2].
2017-08-07 04:37:52 +03:00
alexey-milovidov
ae8783aee3
Merge pull request #1045 from prog8/nocompression
...
Added compression NONE
2017-08-01 23:07:52 +03:00
Alexey Milovidov
fd5ac57b8e
Addition to prev. revision [#CLICKHOUSE-2].
2017-08-01 17:33:38 +03:00
proller
db984d92a8
Fix crash on start
2017-08-01 16:36:07 +03:00
Pawel Rog
9f799820d9
Applied changes requested by Alexey
2017-08-01 10:12:15 +02:00
Alexey Milovidov
6578fb2645
Fixed error [#CLICKHOUSE-3191].
2017-08-01 00:39:24 +03:00
alexey-milovidov
fdb7e080be
Update CompressedWriteBuffer.cpp
2017-07-31 20:43:33 +03:00
alexey-milovidov
50244880cc
Update CompressedReadBufferBase.cpp
2017-07-31 20:42:23 +03:00
alexey-milovidov
3d2ec763ed
Update CompressedReadBufferBase.cpp
2017-07-31 20:40:56 +03:00
Pawel Rog
3a6c444996
Merge branch 'master' into nocompression
2017-07-31 13:36:58 +02:00
Pawel Rog
a0cc54457e
Added compression NONE
2017-07-31 12:44:45 +02:00
Alexey Milovidov
efaa44bea8
Attempt to improve performance [#CLICKHOUSE-3].
2017-07-23 09:53:28 +03:00
Alexey Milovidov
3a0bf8e642
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 09:55:33 +03:00
Alexey Milovidov
e1cc8289b2
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 09:46:50 +03:00
Guillaume Tassery
57b4066da8
Improve performance for deserialization/serialization of UUID type
2017-07-19 19:26:37 +03:00
Nikolai Kochetov
586dff9126
delay reading for granulas if prewhere column is false during partial granula reading
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
c6d5ef6d30
added MergeTreeRangeReader
2017-07-13 21:45:09 +03:00
Alexey Milovidov
7068d1ff81
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
fb8d8ec768
Fixed error (tnx Vladimir Chebotarev) [#CLICKHOUSE-2].
2017-07-11 21:59:01 +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
Alexey Milovidov
2bd84600d1
Miscellaneous [#CLICKHOUSE-2].
2017-07-11 04:20:40 +03:00
Alexey Milovidov
78e905aa3a
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:10:25 +03:00
Guillaume Tassery
2ec96fe822
Make UUID as a strong type
2017-07-06 16:50:29 +02:00
Guillaume Tassery
c6a5083419
Fix comparison of UInt128 to Float64
2017-07-05 18:29:16 +02:00
Guillaume Tassery
aeeb81fadf
Rename field in UInt128
2017-07-04 18:10:36 +02:00
Guillaume Tassery
cba9815981
Change Uuid to UUID datatype and make UInt128 a generic type
2017-07-04 12:42:53 +02:00
Guillaume Tassery
d6ab06437a
Remove mention of UUID type for dictonnary
2017-07-03 18:08:32 +02:00
Guillaume Tassery
525851ec68
sync master
2017-06-30 22:21:42 +02:00
Guillaume Tassery
1231952fca
Implement UUID type and toUuid function
2017-06-30 22:01:27 +02:00
Alexey Zatelepin
6768ebd53f
less strict parse() functions (restore compatibility with JDBC driver) [#CLICKHOUSE-2949]
2017-06-27 18:58:33 +03:00
Alexey Milovidov
dbc61a6a43
Added support for SQL-style quoting [#CLICKHOUSE-20].
2017-06-25 06:43:37 +03:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
Alexey Milovidov
6df5d556e5
Changed namespace [#DEVTOOLS-3381].
2017-06-21 11:35:38 +03:00
Alexey Milovidov
604de2bfeb
Better [#DEVTOOLS-3381].
2017-06-21 04:24:05 +03:00
Георгий Кондратьев
a736ef618a
Put ClickHouse variant of CityHash into DB namespace [#DEVTOOLS-3381]
...
This avoids symbol conflict when linking external applications that use another
variant of CityHash in the global namespace with ClickHouse libraries.
2017-06-20 12:25:16 +03:00
Alexey Milovidov
47484b4bed
Tiny modifications [#DEVTOOLS-3381].
2017-06-20 00:06:46 +03:00
Alexey Milovidov
0743cfe6d7
Removed code that was used solely by Metrika [#DEVTOOLS-3343].
2017-06-15 21:27:51 +03:00
Alexey Milovidov
9bf083625d
Removed support for QuickLZ (obsolete) [#CLICKHOUSE-2].
2017-06-15 21:21:59 +03:00
Alexey Milovidov
10f5543a49
Revert "Add support for skipping whitespaces"
...
This reverts commit 704a79ee6c
.
2017-06-13 09:09:59 +03:00
alexey-milovidov
3f6cccaaa1
Merge pull request #834 from luc1ph3r/Add-performance-test
...
Add performance test
2017-06-13 07:20:01 +03:00
Vitaliy Lyudvichenko
7ab88b8055
Fix HTTP sessions test. [#CLICKHOUSE-3]
2017-06-07 22:06:43 +03:00
Alexey Milovidov
5bd9342c0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-01 21:13:42 +03:00
Alexey Milovidov
862a304db2
Small refinements [#CLICKHOUSE-2].
2017-06-01 16:41:58 +03:00
proller
27d675465d
Remove wrong char from code
2017-05-29 14:18:51 +03:00
f1yegor
b3e0533860
translate comments: IO
2017-05-28 16:29:40 +02:00
Alexey Milovidov
0dd71e32e0
Preparations, part 8 [#CLICKHOUSE-31].
2017-05-23 23:04:42 +03:00
KochetovNicolai
f9cdae50d9
Cast boolean json fields to numbers ( #809 )
...
* added readBoolTextWord
* moved json bool cast to DataTypeNumber
2017-05-20 17:15:04 +04:00
ivanzhukov
704a79ee6c
Add support for skipping whitespaces
2017-05-09 21:53:47 +03:00
Dmitry Bilunov
11ec4c627d
IO/CompressedWriteBuffer: support new LZ4 library
2017-05-06 10:48:30 -04:00
Marek Vavruša
5f1e65b252
AggregateFunctions: implemented topK(n)
...
This implements a new function for approximate
computation of the most frequent entries using
Filtered Space Saving with a merge step adapted
from Parallel Space Saving paper.
It works better for cases where GROUP BY x
is impractical due to high cardinality of x,
such as top IP addresses or top search queries.
2017-05-03 23:09:52 -07:00
Maxim Fridental
e9d9abf328
Fix escaping of columns starting with a number
2017-04-29 23:40:34 -07:00
proller
bcb230ebc6
Fix incudes, move code from daemon/OwnPatternFormatter.h
2017-04-27 08:40:27 +03:00
proller
c8a1e19d8f
Some space changes for release testing (clang-format)
2017-04-18 13:17:37 +03:00
Alexey Milovidov
41e97787e3
Less dependencies [#CLICKHOUSE-2].
2017-04-16 08:40:17 +03:00
Alexey Milovidov
0f0fc68d50
Meaningless changes [#CLICKHOUSE-2].
2017-04-15 00:08:57 +03:00
proller
a360112311
Fix freebsd build ( #672 )
...
* fix freebsd build
* Fix freebsd build
2017-04-11 15:57:31 +03:00
proller
72ccc69212
Debian: simpler package ( #662 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
* move files from tools/etc to debian
* dont generate control
* version
* ok.
* wip
* Cmake: dont touch CMAKE_INSTALL_PREFIX
* wip
* works!
* clean
* okay
* like old
* wip
* wip
* okay
* clickhouse-server-base-dbg
* clean
* clickhouse-server-dbg
* Debian: Remove daemons
* Update rules
* add source/format
* control clean
* add watch
* clean
* clean
* temp fix build
* clean
* docs
* fake make_control
* fix
* testme
* testme
* add metrika package
* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
a0b9bf5e97
Moved code to cpp [#CLICKHOUSE-2].
2017-04-08 04:32:05 +03:00
proller
adba3b8e6d
delete ReadBufferFromHTTP, use ReadWriteBufferFromHTTP instead
2017-04-06 22:39:25 +03:00
proller
1bc311eefd
ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878] ( #656 )
...
* ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878]
* fix
* better messages on client
* change code to 429 TOO_MANY_REQUESTS
* wip
* better message
* Update InterserverIOHandler.h
* Update InterserverIOHTTPHandler.cpp
* Update StorageReplicatedMergeTree.cpp
2017-04-06 16:03:23 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
09e3134bf4
Revert "Using C++17 [#CLICKHOUSE-3]."
...
This reverts commit 431a735efe
.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
proller
8a9d9dddb4
Allow build with poco with disabled MongoDB or DataODBC or NetSSL ( #636 )
...
* partial poco support
* fix
* fix optional ssl
* servier without netssl
* fix link order
* testme
* requested changes
* throw on https listen, shutdown tip
2017-03-28 23:30:57 +03:00
Vitaliy Lyudvichenko
60dfa8dbf3
Add requested changes. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
0290203f6d
Fix test, add more comments. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
44c9bad289
Add functional test, fixed error. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
b5b863a6f4
Better HTTPHandler and IReadableWriteBuffer. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
c73971d7ec
Split implementations to different files. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
19a2195710
Implemented re-readable buffers, add unit tests. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Alexey Milovidov
14c8003081
Normalized formatting [#CLICKHOUSE-3].
...
Apply in a loop:
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '^(\t*) ' | xargs sed -i -r -e 's/^(\t*) /\1\t/'
2017-03-26 04:28:07 +03:00
f1yegor
bc0d9a2cae
translate comments
2017-03-25 21:12:56 +01:00
Alexey Milovidov
dd0b0205a1
More verbose error message [#CLICKHOUSE-2885].
2017-03-14 22:31:15 +03:00
Alexey Milovidov
701f69de6b
More specific error code [#CLICKHOUSE-2].
2017-03-14 22:06:25 +03:00
Alexey Milovidov
26788e3938
Formatting [#CLICKHOUSE-2].
2017-03-13 21:01:46 +03:00
Alexey Milovidov
5546f7f75b
Normalized formatting [#CLICKHOUSE-3].
2017-03-09 07:26:17 +03:00
proller
1af6311a99
https server ( #561 )
...
* https support in dictionaries
* Style
* Update README.md
* https server wip
* wip
* cf
* wip
* add test
* wip
* wip
* wip
* wip
* clean
* cmt
2017-03-07 23:01:37 +04:00
proller
3e835a455f
http server: allow custom root response ( #553 )
...
* http server: allow custom root responce
* fix configs
* Update Server.cpp
2017-03-04 06:00:21 +04:00
proller
0e91c47066
Allow build with external double-conversion lz4 zstd re2 zookeeper ( #531 )
...
* Allow build with external double-conversion lz4 zstd re2 zookeeper
* fix
* fix
* freebsd fixes
* spaces
* fix
* fix
* fix
* wip
* move
* fix
2017-03-01 03:49:04 +04:00
proller
5cf6f4d8c1
Fix host header in http request to dictionaries ( #526 )
...
* Tests: dictionaries: allow completely disable mongo and mysql
* Fix host header in http request to dictionaries
2017-02-28 01:09:57 +04:00
proller
57c336f267
HTTPDictionarySource support HTTPS ( #510 )
...
* https support in dictionaries
* Style
2017-02-28 01:07:57 +04:00
proller
131283de5b
Fix external poco and empty http responce
2017-02-08 20:54:32 +04:00
proller
083e9cc3aa
Correct fix of building with external poco with disabled sending progress ( #461 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
2017-02-07 23:45:55 +04:00
Alexey Milovidov
33f9917f53
Removed wrong code [#CLICKHOUSE-2].
2017-02-07 09:24:23 +03:00
Alexey Milovidov
099f8038d4
Fixed error [#CLICKHOUSE-2].
2017-02-07 09:18:16 +03:00
proller
edd9da119f
External poco fix
...
y
2017-02-03 03:08:42 +04:00
proller
90ab2b57c8
Fix external poco
2017-02-03 01:43:09 +03:00
proller
85533eab57
Fix compiling with external poco ( #445 )
...
* Freebsd: libcctz build fix
* Fix compiling with external poco
2017-02-02 23:08:12 +04:00
Alexey Milovidov
3b0900e6cf
Moved code to .cpp [#CLICKHOUSE-2027].
2017-01-30 08:13:58 +03:00
proller
8b4b1534e3
Cmake: Test on having sse ( #405 )
...
* Cmake: Test on having sse
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* fix
* fix
* fix
* fix
2017-01-27 23:55:33 +04:00
alexey-milovidov
de9bc1dc75
Text formats allow to skip errors ( #407 )
...
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Added test [#CLICKHOUSE-2778].
2017-01-27 08:29:47 +04:00
proller
f8d1573946
Various arm64 compile fixes on utils ( #394 )
2017-01-25 23:17:13 +04:00
Alexey Milovidov
641faac912
More correct time zones support; removed support for non-constant time zone argument [#CLICKHOUSE-2765].
2017-01-22 11:57:34 +03:00
proller
29475c94c0
Reorganize includes, less depends in .h files
2017-01-16 22:47:11 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
Alexey Zatelepin
502864b40a
Merge branch 'master' into METR-23582
...
Conflicts:
dbms/include/DB/IO/WriteBufferFromHTTPServerResponse.h
dbms/src/Core/ErrorCodes.cpp
2017-01-08 12:53:17 +03:00
Alexey Zatelepin
600bb5f29a
[#METR-23582]
...
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00
Alexey Milovidov
604bd6c5a3
Less const_casts [#METR-2944].
2017-01-03 04:42:17 +03:00
Alexey Milovidov
de845f7801
Fixed style [#METR-23933].
2016-12-31 05:05:37 +03:00
proller
c2a6681522
Add header Keep-Alive: timeout=.. to http server responce [#METR-23933]
2016-12-30 23:52:56 +03:00
Alexey Milovidov
baf29f5c48
NULLs support: fixed totally wrong code [#METR-19266].
2016-12-30 08:13:14 +03:00
proller
4bc003c4c1
Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 01:03:10 +00:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
proller
76dc51aae5
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-07 22:08:09 +03:00
Vladimir Chebotarev
8e1a6aaf3e
cmake: Boost, OpenSSL into find_package(). [#METR-23701]
2016-12-06 16:20:32 +03:00
Vladimir Chebotarev
bcc5500f91
cmake: More options. [#METR-23701]
2016-12-05 15:43:14 +03:00
proller
4054d1a465
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-02 19:32:25 +03:00
Marek Vavrusa
64f86b7d20
IO: Added ProfileEvents to Open/Read/Write failures
2016-11-30 12:21:57 -08:00
proller
40e674407f
return http write callback
2016-11-25 03:16:20 +03:00
proller
e6d3c8855e
http ook
2016-11-24 22:57:24 +03:00
proller
2e02e29652
wip
2016-11-24 04:01:11 +03:00
proller
eeeacd0805
merge upstream
2016-11-23 01:33:02 +03:00
Alexey Milovidov
886919a5c9
Removed excessive part checks [#METR-22214].
2016-11-22 21:29:36 +03:00
proller
e280569453
Everything [maybe] works!
2016-11-22 18:03:54 +03:00
proller
ee2d9503c8
wip
2016-11-19 03:56:15 +03:00
proller
fd3a9da076
httd dict wip
2016-11-19 03:07:58 +03:00
proller
636cbe4323
fix GET /path?params
2016-11-19 03:07:15 +03:00
proller
8fec8e2ac4
simple get works
2016-11-16 02:55:45 +03:00
Vladimir Chebotarev
cdaece7dfa
: More specific usage of static libraries. [#METR-21516]
2016-11-09 21:49:01 +03:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
ebbe877a70
Preparation [#METR-23332].
2016-10-29 20:13:35 +03:00
Alexey Milovidov
687a6d1496
Addition to prev. revision [#METR-2944].
2016-10-25 09:57:12 +03:00
Alexey Milovidov
8be993bd1e
Preparation [#METR-2944].
2016-10-25 09:49:24 +03:00
Alexey Milovidov
ea852bb9d8
Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237].
2016-10-24 07:06:27 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
Vitaliy Lyudvichenko
f3d70eb87c
Added test for JSONEachRow format. [#METR-22801]
2016-09-28 21:45:28 +03:00
Vitaliy Lyudvichenko
3c045e1545
Added ability to skip plain JSON arrays. [#METR-22801]
2016-09-28 16:14:28 +03:00
Vitaliy Lyudvichenko
c4666af3ab
Add input_format_skip_unknown_fields new config parameter. [#METR-22801]
2016-09-28 01:44:45 +03:00
Yuri Dyachenko
065b02494a
add -Wold-style-cast
2016-08-26 22:55:11 +03:00
Alexey Milovidov
22b57b060c
Fixed error [#METR-22304].
2016-08-20 23:10:47 +03:00
Alexey Milovidov
06bcc34be2
Don't do DNS requests for each fetch from replica [#METR-22304].
2016-08-19 04:54:23 +03:00
Alexey Milovidov
278d56ea4c
Allow to parse Java-style floating point denormals 'NaN' and 'Infinity' [#METR-22428].
2016-08-17 00:23:53 +03:00
Alexey Milovidov
f8e8875b8a
Fixed warnings on clang [#METR-2944].
2016-08-07 19:28:12 +03:00
Alexey Milovidov
402f09c3c4
Improved test [#METR-22173].
2016-08-05 05:41:41 +03:00
Alexey Milovidov
9014f19f01
Fewer warnings from UBSan [#METR-2944].
2016-07-31 08:56:36 +03:00
Alexey Milovidov
df438a5a47
Little better [#METR-2944].
2016-06-25 07:29:09 +03:00
Vladimir Chebotarev
39c2c0f5a5
dbms, contrib: Clang 3.8 build fixes. [#METR-21516]
2016-05-31 14:06:27 +03:00
Alexey Milovidov
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00
Alexey Milovidov
bf71e2ed90
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:11:52 +03:00
Vladimir Chebotarev
866c8929e2
dbms, contrib: GCC 6 build fixes [#METR-20000]
2016-05-23 03:41:26 +03:00
Alexey Milovidov
f7c09d58a5
Attempt to improve performance [#METR-20892].
2016-04-15 03:33:21 +03:00
Alexey Milovidov
30cba89be0
Fixing build on clang [#METR-2807].
2016-03-07 07:31:10 +03:00
Alexey Arno
6efc98d1f3
Merge
2016-03-01 20:47:53 +03:00
Alexey Milovidov
93c5ba2d4d
Added support for unknown fields in TSKVRowInputStream [#METR-20081].
2016-02-19 19:59:31 +03:00
Alexey Milovidov
d391e77b7d
Fixed error [#METR-20081].
2016-02-18 14:54:16 +03:00
Alexey Milovidov
d9da199c33
Added comment [#METR-2944].
2016-02-18 14:47:37 +03:00
Alexey Milovidov
e8802db2c3
Added format JSONEachRow [#METR-20081].
2016-02-18 14:44:50 +03:00
Alexey Milovidov
ef6ca3e1de
Added SSE 4.2 version of find_first_symbols for long set of symbols [#METR-20078].
2016-02-17 05:39:43 +03:00
Vladimir Chebotarev
77ac3ab39b
dbms: Added proper spacing in arguments of find_first_symbols [METR-20078]
2016-02-17 00:32:24 +03:00
Vladimir Chebotarev
e9c486c385
libcommon, ReadHelpers: find_first_symbols [METR-20078]
2016-02-16 19:45:40 +03:00
Alexey Milovidov
8b3afeb60d
Squashed commit of the following:
...
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:11:29 2016 +0300
Addition [#METR-2944].
commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:08:43 2016 +0300
Fixed error (incomplete) [#METR-2944].
commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 05:37:43 2016 +0300
Improving performance of row formats [#METR-2944].
commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:37:12 2016 +0300
Improving performance of text formats [#METR-2944].
commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:18:00 2016 +0300
Improving performance of row formats [#METR-2944].
commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Mon Feb 15 00:53:27 2016 +0300
Fixed error.
commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 23:13:46 2016 +0300
Improving performance of row formats [#METR-2944].
commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 16:58:56 2016 +0300
Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
e3d2a30c72
Addition [#METR-20026].
2016-02-14 07:13:12 +03:00
Alexey Milovidov
ce3f881d7a
Improved performance of WriteBufferValidUTF8 [#METR-20026].
2016-02-14 07:07:55 +03:00
Alexey Milovidov
df1d66e51a
Removed sensitive data.
2016-02-08 00:58:58 +03:00