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
Alexey Milovidov
0614ba5684
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
7068d1ff81
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
83c8043193
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
1bab7fc344
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Nikolai Kochetov
7c705b1a24
added RemoveColumnsBlockInputStream
2017-07-12 21:51:51 +03:00
Nikolai Kochetov
489af678d5
added avg_value_size_hint for NativeBlockInputStream [#CLICKHOUSE-3066]
2017-07-12 21:41:08 +03:00
Alexey Milovidov
1908b2b5a5
Fixed error in prev. revision [#CLICKHOUSE-2].
2017-07-12 19:51:39 +03:00
Alexey Milovidov
24331a18f5
Removing dependency on functions from client: bug fixes [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
976e47e1af
Removing dependency on functions from client: preparation [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
8c1a6f5736
Removing dependency on functions from client: preparation [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Nikolai Kochetov
ee66169d5e
added throw_if_column_not_found to FilterColumnsBlockInputStream [#CLICKHOUSE-3111]
2017-07-11 20:58:49 +03:00
Alexey Milovidov
2bd84600d1
Miscellaneous [#CLICKHOUSE-2].
2017-07-11 04:20:40 +03:00
Alexey Milovidov
a742ac3b6c
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:10:39 +03:00
Alexey Milovidov
78e905aa3a
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:10:25 +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
Alexey Milovidov
db3d56b1f5
Removed obsolete test binary [#CLICKHOUSE-3].
2017-07-10 06:43:25 +03:00
Alexey Zatelepin
89939a685a
Stream row sources from disk for vertical merge [#CLICKHOUSE-3118]
2017-07-09 21:57:06 +03:00
Alexey Zatelepin
1cd936579d
introduce IColumn::gather() [#CLICKHOUSE-3118]
2017-07-09 21:57:06 +03:00
Nikolai Kochetov
25ac546e78
disabled exception during overriding settings with same value in readonly mode [#CLICKHOUSE-3041]
2017-07-09 20:16:26 +03:00
Nikolai Kochetov
63119eda7d
updated FormatSettingsJSON
2017-07-09 20:16:26 +03:00
Nikolai Kochetov
c99a9b1c55
moved FilterColumnsBlockInputStream implementation to .cpp [#CLICKHOUSE-3111]
2017-07-05 20:14:17 +03:00
alexey-milovidov
85bdb472ea
Update FilterColumnsBlockInputStream.h
2017-07-05 20:14:17 +03:00
alexey-milovidov
7bc0e40135
Update FilterColumnsBlockInputStream.h
2017-07-05 20:14:17 +03:00
Nikolai Kochetov
f1ec4cd863
added FilterColumnsBlockInputStream into StorageMerge [#CLICKHOUSE-3111]
2017-07-05 20:14:17 +03:00
Guillaume Tassery
aeeb81fadf
Rename field in UInt128
2017-07-04 18:10:36 +02:00
Alexey Milovidov
c170b6f0d2
Removed useless code [#CLICKHOUSE-3111].
2017-07-03 20:34:27 +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
Alex Zatelepin
8f250d4a18
Merge pull request #927 from yandex/fix-profile-info-race
...
Fix race condition while initializing BlockStreamProfileInfo
2017-06-26 16:38:26 +03:00
Alexey Zatelepin
1917de0380
fix race condition while initializing BlockStreamProfileInfo [#CLICKHOUSE-3099]
2017-06-26 15:30:35 +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
3c33f1841f
Little better [#CLICKHOUSE-2].
2017-06-23 09:45:48 +03:00
Alexey Milovidov
7f48f1a7f5
Fixed error [#CLICKHOUSE-2].
2017-06-23 09:11:00 +03:00
Vitaliy Lyudvichenko
a098fb170a
Avoid creating multiple global Context. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
alexey-milovidov
a669136ac2
Merge branch 'master' into CLICKHOUSE-5
2017-06-13 07:30:36 +03:00
Alexey Milovidov
782fe332b1
Miscellaneous [#CLICKHOUSE-31].
2017-06-13 07:13:54 +03:00
Alexey Zatelepin
877283b589
fix sorting when all columns are const [#CLICKHOUSE-3062]
2017-06-09 09:13:20 +03:00
Alexey Milovidov
dc0d5b604f
Addition to prev. revision [#CLICKHOUSE-2].
2017-06-06 22:06:44 +03:00
Alexey Milovidov
0d7d379b44
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:36:13 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
9ebf0b633f
Added IStorage::startup method to avoid starting replication and merging threads too early during server startup [#CLICKHOUSE-2].
2017-06-06 20:06:14 +03:00
Alexey Milovidov
8fb0afe74e
Fixed build of tests [#CLICKHOUSE-2].
2017-06-02 22:35:37 +03:00
Alexey Milovidov
5bd9342c0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-01 21:13:42 +03:00
Alexey Milovidov
862a304db2
Small refinements [#CLICKHOUSE-2].
2017-06-01 16:41:58 +03:00
Vitaliy Lyudvichenko
209015574f
Workable version for CREATE DROP w/o ZK tests. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
f1yegor
0bf5182020
translate comments: etc
2017-05-28 16:32:59 +02:00
Alexey Milovidov
6f5dcb1d84
Miscellaneous [#CLICKHOUSE-3039].
2017-05-25 22:26:17 +03:00
Alexey Milovidov
a77369d082
Preparation: Storages do not modify query [#CLICKHOUSE-31].
2017-05-25 04:12:41 +03:00
Alexey Milovidov
48f65e9097
Preparation: untangling [#CLICKHOUSE-31].
2017-05-25 00:06:29 +03:00
Alexey Milovidov
0dd71e32e0
Preparations, part 8 [#CLICKHOUSE-31].
2017-05-23 23:04:42 +03:00
Alexey Milovidov
e073b62301
Fixed build [#CLICKHOUSE-31].
2017-05-23 21:58:38 +03:00
Alexey Milovidov
25209bf040
Allow semicolon after JSONEachRow lines, for convenience [#CLICKHOUSE-2]
2017-05-23 03:57:58 +03:00
Alexey Milovidov
7269f3a23b
Format Vertical: added support for totals, extremes and output_format_pretty_max_rows [#CLICKHOUSE-3014].
2017-05-22 22:00:45 +03:00
Alexander Makarov
f8e19de0e3
fixups after review [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Vitaliy Lyudvichenko
48d85af41a
Allow to skip garbage in TSKV format. [#CLICKHOUSE-3012]
2017-05-22 17:50:13 +04:00
Vitaliy Lyudvichenko
4fd357a311
Add more clear comments, refined code. [#CLICKHOUSE-2957]
2017-05-22 15:16:21 +04:00
Vitaliy Lyudvichenko
45c1856556
Fix wrong implementation of CastTypeBlockInputStream ( #807 )
...
* Fix wrong implementation of CastTypeBlockInputStream. [#CLICKHOUSE-2957]
* Fix typos and add comments. [#CLICKHOUSE-2957]
2017-05-20 18:47:40 +04:00
Alexey Zatelepin
d9306ab6b5
choose row with the max version for unmatched paths [#CLICKHOUSE-2984]
2017-05-20 17:25:48 +04:00
Alexey Zatelepin
f37ed1fbdb
fix bugs in GraphiteMergeTree [#CLICKHOUSE-2984]:
...
* destructive rollup with Time=0 if no pattern matches
* differences in row count for Path and Value columns
* missed output rows on the boundaries between blocks
2017-05-20 17:25:48 +04:00
f1yegor
c252863b2e
translate comments
2017-05-14 19:03:55 +04:00
proller
fac00792f9
Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system
2017-05-05 16:59:18 -07:00
proller
1474de179c
CastTypeBlockInputStream: hotfix: sometimes columns in sample blocks and stream blocks does not match
2017-05-04 22:41:55 +03:00
proller
0787bd66ff
Merge: fail if cant convert columns ( #753 )
...
* Merge: fail if cant convert columns
* Merge: convert all different types, more tests
* clean
* clean
* clean
2017-05-03 21:08:59 -07:00
alexey-milovidov
0e8c3b976f
Update CastTypeBlockInputStream.cpp
2017-04-29 06:37:38 +03:00
proller
b2e2233a59
rename CastEnumBlockInputStream -> CastTypeBlockInputStream
2017-04-29 06:37:38 +03:00
proller
7a0854775b
Merge: Cast types on read [#CLICKHOUSE-2957]
2017-04-29 06:37:38 +03:00
Alexey Milovidov
c77152e3ba
Loosen dependency [#CLICKHOUSE-2828].
2017-04-27 23:47:24 +03:00
artpaul
d269827dfd
#215 convert to Enum with FunctionCast
2017-04-27 23:29:39 +03:00
proller
bcb230ebc6
Fix incudes, move code from daemon/OwnPatternFormatter.h
2017-04-27 08:40:27 +03:00
artpaul
c19dada4a3
switch while to if
2017-04-25 20:17:13 +05:00
Alexey Milovidov
5f32cf5d90
Review modifications [#CLICKHOUSE-2828].
2017-04-25 08:10:29 +03:00
Alexey Milovidov
7f0aecfcf6
Review modifications [#CLICKHOUSE-2828].
2017-04-25 08:08:26 +03:00
Alexey Milovidov
74c04c467b
Review modifications [#CLICKHOUSE-2828].
2017-04-25 08:07:18 +03:00
artpaul
fd9d613dc9
#215 add tests
2017-04-25 07:57:49 +03:00
artpaul
323a9aff6d
#215 cast strings or ints to enum on insert
2017-04-25 07:57:49 +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
485c58b039
use only ConnectionPoolWithFailover in RemoteBlockInputStream [#CLICKHOUSE-2141]
2017-04-19 20:50:17 +03:00
artpaul
d43c9bb1d0
odbc: send header info even on empty result
2017-04-19 18:42:58 +05:00
Alexey Zatelepin
e30dc7c254
check replica delay when getting a connection from ConnectionPoolWithFailover [#CLICKHOUSE-2141]
2017-04-17 22:51:41 +03:00
alexey-milovidov
f03f32e2ab
Update DistinctSortedBlockInputStream.h
2017-04-14 23:00:44 +03:00
alexey-milovidov
e62769190e
Update DistinctSortedBlockInputStream.cpp
2017-04-14 23:00:44 +03:00
Yuri Dyachenko
c6d6f2de3d
add DataStreams::DistinctSortedBlockInputStream
2017-04-14 23:00:44 +03:00
Yuri Dyachenko
b9461b8a1b
add IBlockInputStream::isGroupedOutput
2017-04-14 22:40:04 +03:00
proller
72ccc69212
Debian: simpler package ( #662 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
* move files from tools/etc to debian
* dont generate control
* version
* ok.
* wip
* Cmake: dont touch CMAKE_INSTALL_PREFIX
* wip
* works!
* clean
* okay
* like old
* wip
* wip
* okay
* clickhouse-server-base-dbg
* clean
* clickhouse-server-dbg
* Debian: Remove daemons
* Update rules
* add source/format
* control clean
* add watch
* clean
* clean
* temp fix build
* clean
* docs
* fake make_control
* fix
* testme
* testme
* add metrika package
* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
a0b9bf5e97
Moved code to cpp [#CLICKHOUSE-2].
2017-04-08 04:32:05 +03:00
alexey-milovidov
d0629a9df6
Update IBlockInputStream.h
2017-04-07 23:31:53 +03:00
Yuri Dyachenko
d54d44d97d
provide SortedDescription to block pipe
2017-04-07 23:31:53 +03:00
Alexey Milovidov
bd544bbe3a
Fixed error with NULLs [#CLICKHOUSE-4].
2017-04-06 22:51:44 +03:00
Vitaliy Lyudvichenko
74a92cb8d9
Add test for OPTIMIZE FINAL and more diagnostics. [#CLICKHOUSE-2886]
2017-04-04 15:54:21 +03:00
Alexey Milovidov
a272614c3d
Fixed error with filtering by Nullable, continued [#CLICKHOUSE-2754].
2017-04-04 12:22:06 +03:00
Alexey Milovidov
5919dcae70
Fixed error in filtering by Nullable column [#CLICKHOUSE-2754].
2017-04-04 11:00:31 +03:00
f1yegor
b4c23f122a
Translated comments
2017-04-02 20:37:49 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
09e3134bf4
Revert "Using C++17 [#CLICKHOUSE-3]."
...
This reverts commit 431a735efe
.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
f2933e7623
Fixed double whitespace [#CLICKHOUSE-2].
2017-03-28 06:54:25 +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