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