Commit Graph

685 Commits

Author SHA1 Message Date
Alexey Milovidov
ae3d44f30f Cleanup semantics of data types [#CLICKHOUSE-2]. 2017-12-09 19:17:37 +03:00
Alexey Milovidov
254030d6c3 Cleanup semantics of data types [#CLICKHOUSE-2]. 2017-12-09 19:17:37 +03:00
Alexey Milovidov
3def5f03f5 Cleanup semantics of data types [#CLICKHOUSE-2]. 2017-12-09 19:17:37 +03:00
Alexey Milovidov
7f6c48d5de Cleanup semantics of data types [#CLICKHOUSE-2]. 2017-12-09 19:17:37 +03:00
Alexey Milovidov
d2cfda4d9b Cleanup semantics of data types [#CLICKHOUSE-2]. 2017-12-09 19:17:37 +03:00
Alexey Milovidov
8cc0bae1bc Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 02:07:41 +03:00
Alexey Milovidov
d9c87bf4df Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 01:11:51 +03:00
Alexey Milovidov
be72c247fe Simplification of Nullable [#CLICKHOUSE-2] 2017-12-07 15:09:55 +03:00
Alexey Milovidov
5510bea3f8 Unification of serde of data types: development [#CLICKHOUSE-2838]. 2017-12-03 01:12:27 +03:00
Alexey Milovidov
bdd25b15bd Better [#CLICKHOUSE-2]. 2017-12-01 22:34:51 +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
37a22bceba Merge branch 'master' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams 2017-11-29 02:31:38 +03:00
proller
2ade0a92d2 Cmake fix 2017-11-27 23:40:19 +03:00
proller
4b63d9a4c3 Cmake: fix link of some tests (missing pthread) 2017-11-27 23:39:06 +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
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
2fd17a3072 Fixed linking [#CLICKHOUSE-2]. 2017-11-20 09:01:05 +03:00
Alexey Milovidov
07d594c505 Fixed linking [#CLICKHOUSE-2]. 2017-11-20 08:59:58 +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
proller
aa3dd03389 Split lib dbms to dbms + dbms_common_io 2017-11-17 22:19:49 +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
Nikolai Kochetov
74a4c7508a merged with master 2017-10-20 19:18:09 +03:00
Nikolai Kochetov
ff088b4a1d modified CatBoostModel [#CLICKHOUSE-3305] 2017-10-20 19:13:21 +03:00
Marek Vavruša
927c0f7b74 dbms: Partially revert previous change
Instead of trying to convert long/unsigned long to Poco types, just
don't use them.
2017-10-13 23:46:10 -07:00
Marek Vavruša
8a0571af24 dbms: Better fix for missing unsigned long to Poco::UInt64 alias 2017-10-13 21:39:14 -07:00
proller
7feb94357b use enum class 2017-10-03 22:12:44 +03:00
proller
add13f233e requested changes 2017-10-03 22:12:44 +03:00
proller
b7780aa6c4 Better ports 2017-10-03 22:12:44 +03:00
proller
2467530583 Works! 2017-10-03 22:12:44 +03:00
proller
ebb4a6a0ed Start ssl'ing (#CLICKHOUSE-3032) 2017-10-03 22:12:44 +03:00
Vitaliy Lyudvichenko
97277ed691 Return 411 code in case of empty body without Content-Length head. [#CLICKHOUSE-3333] 2017-09-30 14:06:50 +03:00
Alexey Zatelepin
68cb592277 allow arbitrary partition literals in ALTER PARTITION queries [#CLICKHOUSE-3000] 2017-09-26 20:40:02 +03:00
Alex Bocharov
1f70d0e163 Resolve conflict in SummingSortedBlockInputStream when moving FieldVisitorSum. 2017-09-18 18:43:47 +01:00
Alex Bocharov
6e74602e45 Aggregate function sumMap: use FieldVisitorSum instead of += operator. 2017-09-18 16:41:07 +01:00
alexey-milovidov
edb66bfffe Merge branch 'master' into master 2017-09-18 10:31:31 +03:00
Alexey Milovidov
86c46ad1bd Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
Alex Bocharov
591cd5c009 Add new aggregate function sumMap(key, value). 2017-09-15 12:14:19 +01: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
4d97959e57 Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams 2017-09-04 04:11:00 +03:00
alexey-milovidov
775d95888a Merge pull request #1163 from yandex/CLICKHOUSE-2931
Introduce SYSTEM queries
2017-09-01 20:45:29 +03:00
alexey-milovidov
897a9ad6b2 Merge pull request #1146 from yandex/array-functions-concat-slice-push-pop
Array functions concat slice push pop
2017-09-01 20:30:51 +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
Nikolai Kochetov
7885c5c032 renamed TypeListNumber to TypeListNumbers [#CLICKHOUSE-2090] 2017-09-01 15:09:08 +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
Alexey Milovidov
d1da6c3cfc Fixed bad translation [#CLICKHOUSE-2]. 2017-08-29 22:07:54 +03:00
Vitaliy Lyudvichenko
ffe7558fe2 Add SYSTEM KILL and SHUTDOWN implementations. [#CLICKHOUSE-2931] 2017-08-28 20:27:16 +03:00
Nikolai Kochetov
239f4f2d36 merged with master 2017-08-25 15:05:18 +03:00
Nikolai Kochetov
c1479a5594 updated GatherUtils [#CLICKHOUSE-2090] 2017-08-24 19:46:15 +03:00
proller
49ae03a4a7 Fix build in freebsd (#1129) 2017-08-23 18:58:42 +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
Alexey Milovidov
16d6c4f9e7 Removed very old protocol compatibility features [#CLICKHOUSE-2]. 2017-08-16 23:27:35 +03:00
Vitaliy Lyudvichenko
e4785aeb4d Simplified clean queue logic. Added more tests. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
proller
2ea63defa5 Fix test/string_pool include (#1086)
* Fix sparcehash include

* Fix re2_st include

* Fix test/string_pool include
2017-08-10 03:28:29 +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
9a546b5414 Fixed build with gcc 6 [#CLICKHOUSE-2]. 2017-08-01 04:58:18 +03:00
Alexey Milovidov
a6cb383c4f Fixed build with gcc-7.1 [#CLICKHOUSE-2]. 2017-08-01 04:25:03 +03:00
Alexey Milovidov
6578fb2645 Fixed error [#CLICKHOUSE-3191]. 2017-08-01 00:39:24 +03:00
proller
57b9bcd354 Fix missing includes 2017-07-24 18:04:49 +03:00
alexey-milovidov
d4d266fa18 ColumnConst unification (#1011)
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* Fixed error in ColumnArray::replicateGeneric [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].

* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
2017-07-21 09:35:58 +03:00
Alexey Milovidov
5c3ca0c16e Inverted dependency in DataTypeFactory [#CLICKHOUSE-3149]. 2017-07-16 07:11:11 +03:00
Nikolai Kochetov
75be0b81d8 removed typeid_cast from IColumn.h 2017-07-13 23:58:19 +03:00
Nikolai Kochetov
985e449bd3 added IDataType::updateAvgValueSizeHints; renamed PODArray::allocated_size to PODArray::allocated_bytes; renamed renamed IColumn::allocatedSize to IColumn::allocatedBytes; removed IColumn.h from IDataType.h 2017-07-13 19:49:09 +03:00
Nikolai Kochetov
7c450aa5a5 added Block::allocatedSize() 2017-07-13 17:47:46 +03:00
alexey-milovidov
b64b243a73 Merge pull request #945 from YiuRULE/master
Implement natively uuid type in Clickhouse
2017-07-10 07:00:45 +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
cba9815981 Change Uuid to UUID datatype and make UInt128 a generic type 2017-07-04 12:42:53 +02:00
Maxim Fridental
e30c9242bc Implement functions findClusterIndex and findClusterValue. 2017-07-03 17:01:21 +03: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 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
4738094d7e Fixed error when dynamically compiled .so file is broken [#METR-25550]. 2017-06-21 20:31:22 +03:00
Alexey Milovidov
6df5d556e5 Changed namespace [#DEVTOOLS-3381]. 2017-06-21 11:35:38 +03:00
Alexey Milovidov
a99f25f2a0 Merge branch 'master' of github.com:yandex/ClickHouse 2017-06-21 04:24:10 +03:00
Alexey Milovidov
604de2bfeb Better [#DEVTOOLS-3381]. 2017-06-21 04:24:05 +03:00
proller
9c7d30e0df Fix missing includes 2017-06-20 17:16:51 +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
0743cfe6d7 Removed code that was used solely by Metrika [#DEVTOOLS-3343]. 2017-06-15 21:27:51 +03:00
alexey-milovidov
a669136ac2 Merge branch 'master' into CLICKHOUSE-5 2017-06-13 07:30:36 +03:00
Sergey V. Galtsev
07f14e05ee Implement sessions in HTTP interface [#CLICKHOUSE-2949]. 2017-06-02 22:35:05 +03:00
Vitaliy Lyudvichenko
9fd8d6b79f Add ALTER queries. [#CLICKHOUSE-5] 2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
209015574f Workable version for CREATE DROP w/o ZK tests. [#CLICKHOUSE-5] 2017-06-01 13:49:20 +03:00
Alexey Milovidov
13f0af3d83 Whitespaces [#CLICKHOUSE-2] 2017-05-26 18:30:07 +03:00
Alexey Zatelepin
1c903df8d7 move AccurateComparison.h [#CLICKHOUSE-3002] 2017-05-25 05:34:26 +04:00
Alexey Zatelepin
e9f8f99e06 Correct index comparisons in case constants cannot be precisely casted [#CLICKHOUSE-3002] 2017-05-25 05:34:26 +04:00
Alexander Makarov
f8e19de0e3 fixups after review [#CLICKHOUSE-2929] 2017-05-22 18:40:11 +04:00
alexey-milovidov
0fb0d36045 Update Block.h 2017-05-22 18:40:11 +04:00
alexey-milovidov
d9761b6506 Update Block.cpp 2017-05-22 18:40:11 +04:00
alexey-milovidov
d8e9e8fa99 Update Block.cpp 2017-05-22 18:40:11 +04:00
alexey-milovidov
934476b2ed Update Block.cpp 2017-05-22 18:40:11 +04:00
Alexander Makarov
dfabe90373 TrivialBuffer implementation [#CLICKHOUSE-2929] 2017-05-22 18:40:11 +04:00
Alexey Milovidov
40595ce688 Whitespaces [#CLICKHOUSE-3003]. 2017-05-12 23:41:50 +03:00
Alexey Milovidov
8f0e833b52 Whitespaces [#CLICKHOUSE-2]. 2017-05-11 22:48:46 +03:00
Alexey Milovidov
8e5f92f025 Fixed translation errors, part 1 [#CLICKHOUSE-3]. 2017-05-09 15:07:35 -04:00
f1yegor
5ffa35cf24 translate comments 2017-04-30 23:46:40 -07:00
Alexey Milovidov
6f65176285 Explicitly disallow dummy data types and special Null data type to be in table declaration [#CLICKHOUSE-4]. 2017-04-23 10:59:49 +03:00
Alexey Zatelepin
d1fa449f4a PR fixes [#CLICKHOUSE-2141] 2017-04-20 17:04:38 +03:00
Alexey Zatelepin
ba254a082e Merge branch 'master' into lagging-replicas-failover
Conflicts:
	dbms/src/Core/ErrorCodes.cpp
2017-04-19 21:31:29 +03:00
Alexey Zatelepin
c91828e5bf PR fixes [#CLICKHOUSE-2141] 2017-04-19 21:29:50 +03:00
Alexey Milovidov
0224468be3 Save stack trace on exception from typeid_cast [#CLICKHOUSE-4]. 2017-04-19 06:36:50 +03:00
Alexey Milovidov
1fedee71fb Removed useless includes [#CLICKHOUSE-2]. 2017-04-19 02:17:40 +03:00
Alexey Milovidov
47d2ca4136 Fixed error with fetches and sends limit when queue is traversed without pause [#CLICKHOUSE-2960]. 2017-04-18 23:36:19 +03:00
Alexey Milovidov
f51b3992f3 Little better [#CLICKHOUSE-4]. 2017-04-17 23:19:09 +03:00
Alexey Zatelepin
d29f3c79c3 translate comments [#CLICKHOUSE-3] 2017-04-17 22:51:42 +03:00
Alexey Zatelepin
e30dc7c254 check replica delay when getting a connection from ConnectionPoolWithFailover [#CLICKHOUSE-2141] 2017-04-17 22:51:41 +03:00
Alexey Zatelepin
0a98f43d3a add TablesStatus request to protocol [#CLICKHOUSE-2141] 2017-04-17 19:02:48 +03:00
Alexey Milovidov
41e97787e3 Less dependencies [#CLICKHOUSE-2]. 2017-04-16 08:40:17 +03:00
Alexey Zatelepin
3ca6efbbd9 substitute parse<size_t>(config.getString()) for config.getUInt64() 2017-04-12 19:37:19 +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
Yuri Dyachenko
f508f1e5f3 add ErrorCode OUTPUT_IS_NOT_SORTED 2017-04-07 23:31:53 +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
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
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
Alexey Milovidov
93890423f1 Fixed zero-width spaces [#CLICKHOUSE-3].
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xe2\x80\x8b' | xargs sed -i 's/'$'\xe2\x80\x8b''//g'
2017-03-26 04:20:25 +03:00
f1yegor
bc0d9a2cae translate comments 2017-03-25 21:12:56 +01:00
Alexey Milovidov
701f69de6b More specific error code [#CLICKHOUSE-2]. 2017-03-14 22:06:25 +03:00
Alexey Milovidov
79dd801348 Fixed error [#CLICKHOUSE-2]. 2017-03-14 00:37:53 +03:00
Alexey Milovidov
7532a1d564 Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882]. 2017-03-12 15:56:59 +03:00
alexey-milovidov
6d5bfc8c6f Refactoring of numeric DataTypes (#581)
* Better code [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
Alexey Milovidov
93bb49cecd Using ICU instead of iconv. Improved performance of 'convertCharset' function [#CLICKHOUSE-2879]. 2017-03-11 07:36:14 +03:00
artpaul
f9a08d74a5 remove unused include 2017-03-06 10:58:29 +05:00
artpaul
7f8c41dd1e remove unused includes 2017-03-06 02:20:02 +05:00
Alexey Milovidov
1ad4e2752e Block::unshareColumns: more complete implementation [#CLICKHOUSE-2]. 2017-02-10 09:12:22 +03:00
Alexey Milovidov
1c8841b04e Fixed error [#CLICKHOUSE-2184]. 2017-02-01 05:35:06 +03:00
proller
f890af1f8d Remove code and includes from Collator.h, fix including <unicode/...> in dbms (#395) 2017-01-25 22:19:15 +04:00
Vitaliy Lyudvichenko
c9e52a5cf9 Add requested PR changes. [#CLICKHOUSE-2145] [issue #325] 2017-01-24 22:26:29 +04:00
Alexey Milovidov
00475da25e Sending progress in HTTP headers [#CLICKHOUSE-32]. 2017-01-22 18:03:55 +03:00
alexey-milovidov
ed5b521110 Less dependencies 2 (#378)
* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].

* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
Alexey Milovidov
63c3870fd0 Modified test [#CLICKHOUSE-2756]. 2017-01-20 07:27:51 +03:00
Alexey Milovidov
6226132be0 Modified test [#CLICKHOUSE-2756]. 2017-01-20 06:24:57 +03:00
Alexey Milovidov
bb61f917b8 Memory leak in Field: investigation [#CLICKHOUSE-2763]. 2017-01-20 05:34:35 +03:00
Alexey Zatelepin
5de1975bc4 parse INTO OUTFILE clause [#CLICKHOUSE-2133] 2017-01-19 03:48:59 +04:00
Alexey Milovidov
c83ae92d41 Analyzers: added AnalyzeLambdas step [#CLICKHOUSE-11]. 2017-01-14 08:19:48 +03:00
Alexey Milovidov
522e96d4bf Analyzers: added support for lambda expressions when searching for columns [#METR-23947]. 2017-01-12 05:06:50 +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
d89ee33ce2 Squashed commit of the following:
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:35:01 2017 +0300

    Style [#METR-2944].

commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:33:11 2017 +0300

    Miscellaneous [#METR-2944].

commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:30:19 2017 +0300

    Miscellaneous [#METR-2944].

commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 20:11:41 2017 +0300

    Miscellaneous [#METR-2944].

commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:56:15 2017 +0300

    Miscellaneous [#METR-2944].

commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:47:52 2017 +0300

    Miscellaneous [#METR-2944].

commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:46:05 2017 +0300

    Miscellaneous [#METR-2944].

commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:39:46 2017 +0300

    Miscellaneous [#METR-2944].

commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:38:03 2017 +0300

    Miscellaneous [#METR-2944].

commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Jan 6 19:34:15 2017 +0300

    Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
89d4873b9e Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-06 16:36:08 +03:00
Alexey Milovidov
ed107f675a Preparations [#METR-20307]. 2017-01-04 20:25:07 +03:00
Alexey Milovidov
779d549d3d Reworking ExpressionAnalyzer (preparations) [#METR-20307]. 2017-01-04 18:05:31 +03:00
Alexey Milovidov
5460a13d58 Addition to prev. revision [#METR-2944]. 2017-01-02 23:47:59 +03:00
Alexey Milovidov
ca37f28b5f Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944]. 2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34 Renamed method (less confusion) [#METR-2944]. 2017-01-02 23:12:12 +03:00
Alexey Milovidov
c195b0212b Fixed long delay when querying Merge table based on very large amount of StripeLog tables; fixed error in Merge table [#METR-23945]. 2016-12-25 07:39:22 +03:00
Alexey Milovidov
3d5005016b Applied a patch, sent by aSealBack [#METR-2944]. 2016-12-23 04:24:19 +03:00
Alexey Milovidov
02af261c07 Cleanups [#METR-2944]. 2016-12-21 03:18:11 +03:00
Alexander Makarov
15118dec81 Added new diff for block structures. 2016-12-21 01:22:23 +03:00
Alexey Milovidov
599308aef0 Get rid of obsolete mongodb client library [#METR-23791]. 2016-12-11 12:43:16 +03:00
Alexey Milovidov
e97ecb6cf7 Merge branch 'master' into METR-19266
Conflicts:
	dbms/CMakeLists.txt
	dbms/include/DB/Functions/FunctionsArray.h
	dbms/include/DB/Functions/FunctionsString.h
	dbms/include/DB/Parsers/ExpressionListParsers.h
	dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
	dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
	dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
	dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
	dbms/src/Core/ErrorCodes.cpp
	dbms/src/Parsers/ASTFunction.cpp
	dbms/src/Storages/MergeTree/MergeTreeData.cpp
	dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
	dbms/src/Storages/MergeTree/MergeTreeReader.cpp
	dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
Vladimir Chebotarev
bcc5500f91 cmake: More options. [#METR-23701] 2016-12-05 15:43:14 +03:00
Vitaliy Lyudvichenko
544ef67c28 Fixed IN <Set> usage inside PK expressions.
Refactoring of type conversion functions convertFieldToType().
2016-11-24 15:32:04 +03:00
Vitaliy Lyudvichenko
4f9064ca19 Fixed case when pk column is wrapped by functions. 2016-11-23 22:58:33 +03:00
Alexey Milovidov
9018906e1a Better [#METR-2944]. 2016-11-20 15:43:20 +03:00
Vitaliy Lyudvichenko
107f7b34c7 Added requested PR changes, 2nd iteration. 2016-11-14 02:57:18 +03:00
Alexey Milovidov
c2fa56b905 ClientInfo: fixes [#METR-23279]. 2016-10-25 08:07:29 +03:00
Alexey Milovidov
daeac24f04 Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279]. 2016-10-25 00:40:39 +03:00
Alexey Arno
924402f33e dbms: Server: merged from master [#METR-19266] 2016-10-19 18:00:56 +03:00
Alexey Milovidov
d9db19acea Function 'convertCharset': development [#METR-22482]. 2016-08-26 00:44:47 +03:00
Alexey Arno
e75a45db66 dbms: typo fix [#METR-19266] 2016-08-25 18:51:18 +03:00
Alexey Arno
27e095f095 dbms: Do not allow inserting NULLs into non-nullable columns [#METR-19266] 2016-08-25 17:04:26 +03:00
Alexey Arno
6a036bad4f dbms: Fixed issues with INSERT. [#METR-19266] 2016-08-24 19:02:34 +03:00
Alexey Arno
f5d9d0ebc9 Merge branch 'master' into METR-19266 [#METR-19266] 2016-08-10 22:13:15 +03:00
Alexey Arno
e2b6e10ec1 dbms: Various fixes + more comments [#METR-19266] 2016-08-10 22:12:29 +03:00
Alexey Milovidov
30eb125100 Fixed error with INSERT SELECT and nested data structures [#METR-22328]. 2016-08-07 18:13:40 +03:00
Alexey Milovidov
b5b37d0f26 Added test program [#MOBMET-3953]. 2016-08-07 01:33:20 +03:00
Alexey Milovidov
9fd26e381a Less code [#MOBMET-3953]. 2016-08-07 01:31:58 +03:00
Alexey Milovidov
a37b9371b0 Fixed error [#METR-22173]. 2016-08-05 22:15:07 +03:00
Alexey Arno
531ff3d5ac dbms: Merged with master [#METR-19266] 2016-08-05 18:44:19 +03:00
Alexey Arno
e38d29346e dbms: Cleanup [#METR-19266] 2016-08-05 10:49:56 +03:00
Alexey Milovidov
61b9996d9e Better [#METR-22173]. 2016-08-05 05:28:34 +03:00
Alexey Arno
4500376dc8 dbms: Cleanup [#METR-19266] 2016-08-05 02:17:58 +03:00
Alexey Milovidov
093353d0ad Blocks simplification [#METR-22173]. 2016-08-05 00:40:20 +03:00
Alexey Arno
8c02bc44c5 dbms: Added support for nullable parameters (conditions and/or branches) in the function multiIf [#METR-19266] 2016-08-04 18:06:27 +03:00
Alexey Arno
18340adbe8 dbms: better [#METR-19266] 2016-07-26 15:58:51 +03:00
Alexey Arno
44aa30fedf dbms: better [#METR-19266] 2016-07-26 12:18:28 +03:00
Alexey Arno
2514b2a04c dbms: simplifications, improvements, post-testing fixes. Unfinished, so do not pay attention to this commit. [#METR-19266] 2016-07-25 21:26:45 +03:00
Alexey Arno
1055c10621 dbms: fixes [#METR-19266] 2016-07-25 00:34:09 +03:00
Alexey Arno
1fe6786b78 dbms: NULL support for MergeTree [#METR-19266] 2016-07-24 22:32:21 +03:00
Alexey Arno
dcbe183d41 dbms: merged with master [#METR-19266] 2016-07-11 13:09:16 +03:00
Alexey Milovidov
27360b8166 Added support for tuple arguments of function if [#METR-22033]. 2016-07-09 06:54:57 +03:00
Alexey Arno
582b8fb555 dbms: Server: Feature development. [#METR-19266] 2016-07-05 19:23:37 +03:00
Alexey Milovidov
c2276a3654 Fixed build on clang [#METR-20000]. 2016-05-30 23:54:39 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
4b7f461e46 Using std::shared_ptr for columns [#METR-21503]. 2016-05-28 08:31:36 +03:00
Alexey Milovidov
f2ccbc9802 Better exception message [#METR-21479]. 2016-05-26 00:35:57 +03:00
Alexey Milovidov
bd734cd1b4 Allowed to disable MongoDB dictionary source at build time [#METR-20000]. 2016-05-22 03:54:26 +03:00
Alexey Arno
286baa8611 Merge 2016-05-04 02:19:14 +03:00
Alexey Milovidov
0b7a474beb Better exception message [#METR-20817]. 2016-04-09 08:45:42 +03:00
Alexey Milovidov
2a85a1d266 Added setting 'replicated_alter_columns_timeout' [#METR-20816]. 2016-04-09 08:43:55 +03:00
Alexey Arno
776a0e3041 dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510] 2016-03-25 15:21:10 +03:00
Alexey Arno
32a38485e6 Merge 2016-03-25 14:48:45 +03:00
Alexey Milovidov
bbdd0ca4d7 Database engines: development [#METR-19997]. 2016-03-21 15:57:12 +03:00
Alexey Milovidov
5fc44df6b5 Squashed commit of the following:
commit f9b478181cd49224154cc350fb57df7121842f1c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 04:06:36 2016 +0300

    Database engines: development [#METR-19997].

commit f7a10a67761ccfd05f3dac32d6444920cd8d4d60
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 03:44:37 2016 +0300

    Database engines: development [#METR-19997].

commit bd98a8558e98bad2bed278e5762c4e0fc66e6f38
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 00:33:59 2016 +0300

    Database engines: development [#METR-19997].

commit 19712fd884c22a4e2c2b67474086dea8f44e7c7b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 00:03:11 2016 +0300

    Database engines: development [#METR-19997].

commit 50274d6df7e91fcc34aab8a8c72347daa2c6512f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 23:24:57 2016 +0300

    Database engines: development [#METR-19997].

commit 4a0b99b19b34e90ef8b7be2d199f6232e36ef3f7
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 22:50:36 2016 +0300

    Database engines: development [#METR-19997].

commit 44ff3ebba7a3e460a27a89f31ddf199dbea1d182
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 15:09:17 2016 +0300

    Database engines: development [#METR-19997].

commit 137c31f3004cfd282473b6acb01cbe1b4ca2aadd
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 03:26:34 2016 +0300

    Database engines: development [#METR-19997].

commit aa4c0496d4afe4a691164254be2bd5600542b38a
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 03:22:59 2016 +0300

    Database engines: development [#METR-19997].

commit 5a94d1f0607450a2dac28a4d7df8b1393a864c23
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 01:02:40 2016 +0300

    Database engines: development [#METR-19997].

commit 50fd5b52ea1141955a5dfba0dcb191f3289ac25b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 23:23:40 2016 +0300

    Database engines: development [#METR-19997].

commit a333d91b058e4f56dd83a6d2878c3c2bd8efc002
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 20:29:07 2016 +0300

    Database engines: development [#METR-19997].

commit f81d366e7ac8348436f2698d040f8e341743a024
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 01:30:23 2016 +0300

    Database engines: development [#METR-19997].

commit d0696860c9060827896214c08d147c759ea79376
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 21:55:31 2016 +0300

    Database engines: development [#METR-19997].

commit 46a168c2ada140a0e95cd8d4b9d8ba9bac855d11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 08:00:58 2016 +0300

    Database engines: development [#METR-19997].

commit 20a2bad161454225fc1b5f9b919b842fbebc3231
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 06:51:10 2016 +0300

    Database engines: development [#METR-19997].

commit ca0a77fcc2a8d0b276eb3743c53551ad3fe16314
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 06:02:20 2016 +0300

    Reverted erroneous modification [#METR-19997].

commit 1370bdcc4594182f6ef2b146f9afabfe1c295080
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 00:41:34 2016 +0300

    Database engines: development [#METR-19997].

commit 16e72c67041cae6471509d3f0f3d4a9aa7b7dc0f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Mar 15 00:41:48 2016 +0300

    Database engines: development [#METR-19997].
2016-03-19 04:18:49 +03:00
Alexey Arno
3b9ea20c91 dbms: More locking improvements. [#METR-18510] 2016-03-03 19:20:19 +03:00
Alexey Arno
6232e1cf9a dbms: Added stricter checkings for coordinated requests originating from shards and a more reliable cluster naming scheme. [#METR-18510] 2016-03-02 16:35:30 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +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
12363ed329 Added limited support for expressions in INSERT ... VALUES [#METR-20048]. 2016-02-13 09:37:19 +03:00
Alexey Milovidov
df1d66e51a Removed sensitive data. 2016-02-08 00:58:58 +03:00
Alexey Milovidov
c3827a29eb Removed unrelated data. 2016-02-07 23:02:44 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
7725b8ef8b dbms: better [#METR-17973]. 2016-02-05 05:21:18 +03:00
Alexey Arno
113b592380 Merge 2016-01-28 19:06:57 +03:00
Alexey Milovidov
e5d4149ca4 Merge 2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7 Merge 2016-01-28 04:00:27 +03:00
Alexey Milovidov
5c90d7d45c Merge 2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a Merge 2016-01-26 04:56:42 +03:00
Alexey Arno
ae2f7c7613 Merge 2016-01-26 03:30:18 +03:00
Alexey Milovidov
6d50fb4b44 dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779]. 2016-01-24 08:00:24 +03:00
Alexey Arno
a3ea32b985 Merge 2016-01-21 19:30:05 +03:00
Alexey Milovidov
9a53bd2a3e dbms: tiny fixes (tnx. orantius) [#METR-2944]. 2016-01-13 04:02:10 +03:00
Alexey Milovidov
df780e9429 dbms: addition to prev. revision [#METR-19586]. 2016-01-12 23:07:10 +03:00
Alexey Milovidov
5692015ed9 dbms: cut dependency [#METR-2944]. 2016-01-12 06:17:33 +03:00
Alexey Milovidov
c062fc1ce0 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:21:15 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Andrey Mironov
c483485eaf dbms: create a separate type for Tuple in Field [#METR-19265] 2015-12-25 15:06:17 +03:00
Andrey Mironov
eba1cb4ca3 dbms: FieldVisitorToString::formatFloat emit trailing dec pt [#METR-17328] 2015-12-01 14:16:50 +03:00
Andrey Mironov
386d560d39 dbms: refactor DoubleConverter [#METR-17328] 2015-11-30 20:55:42 +03:00
Alexey Milovidov
bb283e6602 dbms: added support for different numeric types in function has [#METR-18382]. 2015-10-12 10:05:54 +03:00
Alexey Milovidov
918422ad48 Moved files [#METR-17973]. 2015-10-05 04:35:28 +03:00
Alexey Milovidov
7f6bc50055 Moved files [#METR-17973]. 2015-10-05 04:31:57 +03:00
Alexey Milovidov
4a061b97cb Moved file [#METR-17973]. 2015-10-05 03:44:40 +03:00
Alexey Milovidov
1f6def094f dbms: fixed build [#METR-18202]. 2015-09-29 22:19:54 +03:00
Alexey Milovidov
dea3c8b8a4 dbms: external dictionaries: fixed bunch of errors; added optional parameter 'dont_check_update_time' for MySQL dictionary source [#METR-17508]. 2015-08-12 06:57:32 +03:00
Alexey Milovidov
845758e378 Merge 2015-08-03 23:12:23 +03:00
Alexey Milovidov
70f4887d74 dbms: tiny modifications [#METR-2944]. 2015-08-03 23:11:57 +03:00
Alexey Milovidov
5b0b5dc9cf dbms: added memory-efficient mode of distributed aggregation [#METR-17536]. 2015-07-31 02:41:02 +03:00
Alexey Milovidov
e3b5bc0ea6 dbms: fixed segfault when using INSERT SELECT or CREATE AS SELECT with extremes=1 or WITH TOTALS [#METR-17491]. 2015-07-27 18:51:37 +03:00
Alexey Milovidov
c0e029bb1b dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944]. 2015-07-17 04:27:35 +03:00
Alexey Milovidov
b5fd5fe490 dbms: QueryLog: development (incomplete) [#METR-16946]. 2015-06-30 00:35:35 +03:00
Alexey Milovidov
0984363b9c dbms: removed passing DataTypeFactory everywhere [#METR-16545]. 2015-05-28 06:49:28 +03:00
Alexey Milovidov
7d4bf16d06 dbms: fixed Block::insertDefault method for elements of nested data structures (it is used in AddedDefaultsBlockInputStream, InterpreterInsertQuery) [#METR-15896]. 2015-04-09 05:10:06 +03:00
Andrey Mironov
fed50c4702 dbms: add tryLogCurrentException overload taking a pointer to Poco::Logger 2015-03-27 16:11:31 +03:00
Andrey Mironov
92eb64e1cd dbms: add unknown exception type detection for tryLogCurrentException 2015-03-17 17:16:08 +03:00
Alexey Milovidov
68dd2317ce dbms: improved performance on short queries from wide tables [#METR-2944]. 2015-02-15 16:30:07 +03:00
Alexey Milovidov
ad2392ee7d dbms: fixed error with StorageBuffer [#METR-15105]. 2015-02-13 23:37:30 +03:00
Alexey Milovidov
a9eb28c07d Using std::make_unique [#METR-2807]. 2015-02-11 00:10:58 +03:00
Andrey Mironov
19e3f7a561 dbms: remove unused header 2015-02-09 13:10:35 +03:00
Alexey Milovidov
593f9bc191 dbms: fixed error with empty result when distributed query execution and WITH TOTALS and max_rows_to_group_by and totals_mode = 'after_having...' [#METR-14604]. 2015-01-16 23:59:24 +03:00
Alexey Milovidov
221efeb82a dbms: more scalable aggregator: development [#METR-2944]. 2015-01-03 06:18:49 +03:00
Alexey Arno
f8cb28cf07 Apply required fixes [#METR-14099]. 2014-12-17 18:56:52 +03:00
Alexey Arno
72ca080f64 Further simplify the type compatibility checking code 2014-12-15 19:07:50 +03:00
Alexey Arno
dd6ac530f4 Various cleanups 2014-12-15 19:07:49 +03:00
Alexey Arno
8995500f14 Add initial support for SELECT requests chained by UNION ALL. 2014-12-15 19:07:49 +03:00
Andrey Mironov
d0971956e0 dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199] 2014-11-21 16:34:37 +03:00
Alexey Milovidov
7b8beea5e4 dbms: FREEZE PARTITION: improvement [#METR-2944]. 2014-11-17 03:41:40 +03:00
Andrey Mironov
731be3e7cf Merge 2014-11-12 13:37:47 +03:00
Andrey Mironov
ec5aa734f9 dbms: cut coupling between dbms and dbms_functions. [#METR-12739] 2014-10-24 13:33:31 +04:00
Andrey Mironov
847b91614a dbms: deduce and check types during alter, alteration of defaulted columns. [#METR-12739] 2014-10-21 16:11:20 +04:00
Andrey Mironov
8a8e5963c5 dbms: chaining support for defaulted columns when corresponding columns files are absent. [#METR-12739] 2014-10-17 16:26:53 +04:00
Andrey Mironov
1dfcaefc64 Merge 2014-10-16 20:55:23 +04:00
Andrey Mironov
0bfd35e5c7 dbms: defaulted columns support for ALTER, currently without type deduction and checking. 2014-10-16 17:37:01 +04:00
Alexey Milovidov
c2e4662ad7 Changed boost:: to std:: for bind, ref/cref, thread, shared_ptr [#METR-2807]. 2014-10-16 05:21:03 +04:00
Andrey Mironov
6f7997ce11 dbms: prohibit inserting materialized columns, support create as and similar queries. [#METR-12739] 2014-10-10 19:45:43 +04:00
Andrey Mironov
8052020218 add draft version of DEFAULT, MATERIALIZED/ALIAS currently parsed but not taken into account. [#METR-12739] 2014-09-30 07:08:47 +04:00
Alexey Milovidov
126bfa0750 dbms: tiny modifications [#METR-12729]. 2014-09-12 06:30:01 +04:00
Michael Kolupaev
8a2a34a8f3 Small improvements. [#METR-2807] 2014-07-21 13:11:20 +04:00
Michael Kolupaev
0a67d151bd dbms: updated all usages of NamesAndTypesPair to new field names. [#METR-10202] 2014-07-09 15:54:26 +04:00
Michael Kolupaev
c8fde6537f fixed SELECT anyHash64([1,2,3]) [#METR-11774] 2014-07-03 16:13:32 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
413b8d214e dbms: improved performance of short queries [#METR-11571]. 2014-06-25 04:17:51 +04:00
Alexey Milovidov
d420486522 dbms: improved performance on short queries [#METR-11571]. 2014-06-20 23:56:45 +04:00
Alexey Milovidov
16f092d87b dbms: development [#METR-10894]. 2014-06-05 23:52:13 +04:00
Alexey Milovidov
752ed08e8f dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:51:05 +04:00
Alexey Milovidov
897752de16 dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:28:18 +04:00
Alexey Milovidov
38f7c7834e dbms: unified hash tables: development [#METR-2944]. 2014-04-28 07:29:32 +04:00
Alexey Milovidov
4bf42ea6e6 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 06:47:56 +04:00
Alexey Milovidov
8232983714 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 05:48:24 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Michael Kolupaev
5542aa8f2d Moved DB::Exception and StackTrace to statdaemons (to allow zkutil to have stack trace in exceptions without depending on dbms). [#METR-10202] 2014-04-03 11:14:42 +04:00
Alexey Milovidov
cd2e6663a5 dbms: tiny improvement [#METR-10240]. 2014-03-07 07:58:13 +04:00
Alexey Milovidov
9c4043de67 Removed 'tr1' [#METR-2807]. 2014-01-08 16:33:28 +00:00
Alexey Milovidov
16ed91c728 dbms: tiny modification [#METR-2944]. 2014-01-08 16:23:31 +00:00
Michael Kolupaev
ad95a4f6d5 Missing changes for previous revision. [#METR-9091] 2013-12-05 12:47:05 +00:00
Alexey Milovidov
025531e1c5 dbms: better [#METR-9194]. 2013-11-18 19:18:03 +00:00
Alexey Milovidov
2783d952ad dbms: added test [#METR-2944]. 2013-11-17 19:18:27 +00:00
Alexey Milovidov
405f03d437 dbms: less copying of blocks; improvement [#METR-2944]. 2013-11-17 19:14:17 +00:00
Alexey Milovidov
a3caaef38a dbms: better exception handling [#METR-2944]. 2013-11-02 23:42:10 +00:00
Sergey Fedorov
b56af16ca6 programs: indicate name of the columns in the insert query in ███████████ and ███████████ [#METR-9081] 2013-10-30 09:23:37 +00:00
Sergey Fedorov
f7a6316abd dbms: Moved addingDefault logic into the Block class [#METR-9001] 2013-10-28 16:09:42 +00:00
Alexey Milovidov
a38317e1f5 dbms: better exception messages [#METR-8224]. 2013-10-26 03:20:51 +00:00
Alexey Milovidov
e513f8a314 dbms: fixed build [#CONV-2944]. 2013-10-11 18:38:35 +00:00
Vyacheslav Alipov
adf9e506f4 added nested arrays offsets check [#CONV-7967] 2013-08-02 14:26:04 +00:00
Alexey Milovidov
4da27ecd38 Addition to prev. revision [#CONV-7951]. 2013-06-21 23:27:26 +00:00
Alexey Milovidov
3fbd36fde9 dbms: improvement [#CONV-2944]. 2013-06-21 21:05:16 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Alexey Milovidov
9d1142b028 dbms: fixed error [#CONV-7444]. 2013-06-08 20:19:29 +00:00
Michael Kolupaev
452a233030 clickhouse: added function prerequisite support [#CONV-7444]. 2013-06-04 13:34:46 +00:00
Michael Kolupaev
796df96cbc clickhouse: Expression refactoring: development [#CONV-7444]. 2013-05-24 10:49:19 +00:00
Alexey Milovidov
1b7a4b064c Using one file name to include sparse/dense hash (error if you use different style in one translation unit) [#CONV-7042]. 2013-04-09 19:15:52 +00:00
Alexey Milovidov
e9a9124069 dbms: continuing improvement (incomplete) [#CONV-2944]. 2013-02-08 20:34:30 +00:00
Alexey Milovidov
d4c64603a2 dbms: improvement of aggregation (incomplete) [#CONV-2944]. 2013-02-08 19:34:44 +00:00
Alexey Milovidov
3891f4a230 dbms: improved performance for queries with large aggregation result [#CONV-2944]. 2013-02-03 23:11:21 +00:00
Alexey Milovidov
664b6199de dbms: improvement [#CONV-2944]. 2013-01-08 21:32:16 +00:00
Alexey Milovidov
b88bed60b8 dbms: improved performance [#CONV-2944]. 2013-01-08 20:31:24 +00:00
Alexey Milovidov
3e50a4f63b dbms: compatibility with clang [#CONV-2944]. 2013-01-06 16:04:52 +00:00
Alexey Milovidov
af17e33cce dbms: addition to prev. revision [#CONV-2944]. 2013-01-05 20:42:18 +00:00
Alexey Milovidov
7b3f533ecd Using own Field class instead of boost::variant (experimental) [#CONV-2944]. 2013-01-05 20:03:19 +00:00
Michael Kolupaev
fe73df8f8a ███████████: removed throwFromErrno [#CONV-5680] 2012-11-15 11:59:39 +00:00
Alexey Milovidov
40e1d3c43e dbms: better diagnostics [#CONV-2944]. 2012-10-15 19:29:17 +00:00
Alexey Milovidov
bbd4109f3a dbms: fixed error (arrayJoin) [#CONV-2944]. 2012-09-20 19:14:37 +00:00
Alexey Milovidov
048898245b dbms: development [#CONV-2944]. 2012-06-01 10:45:29 +00:00
Alexey Milovidov
8e5cbf8093 dbms: development [#CONV-2944]. 2012-05-31 04:49:55 +00:00
Alexey Milovidov
7b84280846 dbms: development [#CONV-2944]. 2012-05-21 06:49:05 +00:00
Alexey Milovidov
5f598c7a78 dbms: development [#CONV-2944]. 2012-05-17 19:15:53 +00:00
Alexey Milovidov
c89ff86132 dbms: development [#CONV-2944]. 2012-05-14 20:37:10 +00:00
Alexey Milovidov
b1815b9278 dbms: development [#CONV-2944]. 2012-05-08 05:42:05 +00:00
Alexey Milovidov
51f4954d88 Removed garbage [#CONV-2807]. 2012-02-26 01:49:10 +00:00
Alexey Milovidov
390f3b72ff dbms: development [#CONV-2944]. 2011-12-12 06:15:34 +00:00
Alexey Milovidov
c0c2ca630d dbms: development [#CONV-2944]. 2011-11-06 02:29:13 +00:00
Alexey Milovidov
4164a38d79 dbms: development [#CONV-2944]. 2011-09-19 03:34:23 +00:00
Alexey Milovidov
d9aced1d0a dbms: development [#CONV-2944]. 2011-09-05 00:32:22 +00:00
Alexey Milovidov
2215bc9626 dbms: development [#CONV-2944]. 2011-09-04 05:14:52 +00:00
Alexey Milovidov
b1935500a8 dbms: development. 2011-08-21 03:41:37 +00:00
Alexey Milovidov
987784ed80 dbms: development [#CONV-2944]. 2011-08-14 00:49:30 +00:00
Alexey Milovidov
f3c427ae63 dbms: development [#CONV-2944]. 2011-08-12 20:39:42 +00:00
Alexey Milovidov
e0f951245a dbms: development 2010-06-04 18:25:25 +00:00
Alexey Milovidov
7a360b0cd6 dbms: development. 2010-06-01 14:12:28 +00:00
Alexey Milovidov
f6f252b8f2 dbms: development. 2010-06-01 13:35:09 +00:00
Alexey Milovidov
e00ee12aed dbms: development. 2010-05-28 19:13:55 +00:00
Alexey Milovidov
fb5ca4d182 dbms: development. 2010-03-18 20:32:35 +00:00
Alexey Milovidov
c474d064a8 dbms: development. 2010-03-12 20:44:25 +00:00
Alexey Milovidov
f25307c662 dbms: development. 2010-03-12 18:25:35 +00:00
Alexey Milovidov
d741d53889 dbms: development. 2010-03-05 15:29:17 +00:00
Alexey Milovidov
148b08ff1a dbms: development. 2010-03-04 19:20:28 +00:00
Alexey Milovidov
d1016346bf DB: development. 2010-03-01 16:59:51 +00:00