Commit Graph

617 Commits

Author SHA1 Message Date
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