Commit Graph

543 Commits

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