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