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