Commit Graph

12610 Commits

Author SHA1 Message Date
alexey-milovidov
993b1a073c
Merge pull request #4330 from yandex/fix-table-create-query-toctou
Fixed test (TOCTOU)
2019-02-11 03:57:27 +03:00
Alexey Milovidov
c345ded839 Added comment #4200 2019-02-11 03:17:49 +03:00
alexey-milovidov
f58e0c7c97
Merge pull request #4200 from DarkWanderer/feature/row-binary-with-headers
Added RowBinaryWithNamesAndTypes format
2019-02-11 03:14:56 +03:00
alexey-milovidov
ae5338089a
Merge pull request #4329 from yandex/andrewgolman-add_topkweighed
Added topKWeighted aggregate function (cleanups)
2019-02-11 02:52:22 +03:00
Alexey Milovidov
0221757262 Fixed test (TOCTOU) 2019-02-11 02:13:09 +03:00
alexey-milovidov
4f2b35cb10
Merge pull request #4215 from abyss7/CLICKHOUSE-3729
Report progress from server-side to keep client connections alive
2019-02-11 02:07:57 +03:00
alexey-milovidov
d47c307f91
Merge pull request #4328 from yandex/nezed-forks-implement-not-between
Implement NOT BETWEEN operator (cleanups).
2019-02-11 00:21:34 +03:00
Alexey Milovidov
47bffbf760 Merge branch 'master' into andrewgolman-add_topkweighed 2019-02-11 00:15:35 +03:00
Alexey Milovidov
0861af12a3 Fixed thread names 2019-02-11 00:15:14 +03:00
Alexey Milovidov
7ddede66db Added support for generic case for aggregate function topKWeighted; fixed errors #4245 2019-02-11 00:01:26 +03:00
Alexey Milovidov
ec5fbce404 Merge branch 'add_topkweighed' of https://github.com/andrewgolman/ClickHouse into andrewgolman-add_topkweighed 2019-02-10 23:31:17 +03:00
alexey-milovidov
78869a7c0c
Merge pull request #4327 from yandex/highlight-like-and-regexps
Usability: highlight metacharacters in LIKE expressions and regexps
2019-02-10 23:27:39 +03:00
Alexey Milovidov
f4f97867c3 Fixed error #4228 2019-02-10 23:23:24 +03:00
Alexey Milovidov
c0dd4debc5 Fixed error #4228 2019-02-10 23:21:22 +03:00
Alexey Milovidov
1f41aeaf7a Avoid some corner cases like "SELECT 1 NOT WITH CUBE" 2019-02-10 23:18:47 +03:00
Alexey Milovidov
69b84380f2 Make it work #4228 2019-02-10 23:17:53 +03:00
Alexey Milovidov
8e564a616c Fixed error #4228 2019-02-10 23:08:44 +03:00
alexey-milovidov
0dd618b9ad
Merge pull request #4326 from yandex/duplicate-includes
Removed duplicate includes
2019-02-10 22:31:37 +03:00
alexey-milovidov
c6a01ccfb3
Merge pull request #4325 from yandex/k3box-arbitrary-const-expressions-in-limit
Add arbitrary const expressions in limit processing (cleanups)
2019-02-10 22:29:58 +03:00
alexey-milovidov
c6d9259e2a
Update ASTFunction.cpp 2019-02-10 22:21:08 +03:00
Alexey Milovidov
021fc36064 Highlight metacharacters in LIKE expressions and regexps 2019-02-10 22:11:47 +03:00
Alexey Milovidov
2c7cf23f3f Removed support for constant expressions in TOP because they cannot work 2019-02-10 21:19:26 +03:00
Alexey Milovidov
d9ab923a2a Fixed typo 2019-02-10 21:14:23 +03:00
Alexey Milovidov
5ebc717d23 Merge branch 'implement-not-between' of https://github.com/nezed-forks/ClickHouse into nezed-forks-implement-not-between 2019-02-10 20:42:27 +03:00
Alexey Milovidov
e150e62040 Grouped includes (40 of 182) 2019-02-10 20:40:52 +03:00
Alexey Milovidov
ba3cb83a84 Removed duplicate includes 2019-02-10 20:12:22 +03:00
Alexey Milovidov
58a6accee5 Updated test #4246 2019-02-10 19:55:12 +03:00
alexey-milovidov
09ee8816a1
Merge pull request #4323 from yandex/low-cardinality-production-ready
LowCardinality data type is production ready
2019-02-10 19:41:57 +03:00
Alexey Milovidov
4799a343ee Addition to prev. revision #4246 2019-02-10 19:22:38 +03:00
Alexey Milovidov
d22b52b933 Allow constant expressions in LIMIT BY and TOP; fixed error #4246 2019-02-10 18:27:27 +03:00
Alexey Milovidov
c603d270f4 Cleanups #4246 2019-02-10 18:17:45 +03:00
alexey-milovidov
75c087bcf5
Merge branch 'master' into arbitrary-const-expressions-in-limit 2019-02-10 17:20:31 +03:00
Alexey Milovidov
12d4dc8592 Renamed setting #4198 2019-02-10 02:53:57 +03:00
alexey-milovidov
5853de4d2b
Merge pull request #4198 from edonin/master
Support of Nullable types in MySQL tables
2019-02-10 02:45:45 +03:00
Alexey Milovidov
dfb207e42d Merge branch 'master' into low-cardinality-production-ready 2019-02-10 02:42:34 +03:00
alexey-milovidov
77ce3dab0f
Merge pull request #4320 from yandex/bitmask-ubsan
Fixed error found by UBSan; added a test for bitmask functions for negative input
2019-02-10 01:27:04 +03:00
alexey-milovidov
bb6d70cae6
Merge pull request #4321 from yandex/entropy-rework
Fixed entropy aggregate function
2019-02-10 01:26:45 +03:00
Alexey Milovidov
0eee4d42cb LowCardinality data type is production ready 2019-02-10 00:55:51 +03:00
alexey-milovidov
9650c4a0da
Merge pull request #4286 from nikvas0/nikvas0/index_fix
Data Skipping Indices fix
2019-02-10 00:53:04 +03:00
alexey-milovidov
2777e54a57
Merge pull request #4287 from yandex/mutations-introspection
KILL MUTATION
2019-02-10 00:51:30 +03:00
Alexey Milovidov
f794ebbec4 Fixed implementation of "arrayWithConstant" #4309 2019-02-10 00:13:58 +03:00
Alexey Milovidov
a01427db27 Merge branch 'master' of https://github.com/Stupnikov/ClickHouse into Stupnikov-master 2019-02-10 00:04:17 +03:00
Alexey Milovidov
871670d4fb Fixed test 2019-02-10 00:03:42 +03:00
Alexey Milovidov
7d86f2debe Added comments 2019-02-09 23:35:55 +03:00
Alexey Milovidov
bf95f19655 Fixed entropy aggregate function #4238 2019-02-09 23:17:20 +03:00
Alexey Milovidov
d705c4fc9c Fixed error found by UBSan; added a test for bitmask functions for negative input 2019-02-09 22:44:27 +03:00
Andy Yang
1a28ba01c1 Added bitmap function feature, fixed test errors and code styles 2019-02-09 14:33:09 +08:00
proller
a95d2d153d Build ARM fix (#4306)
* Build ARM fix

* Fix warning: declaration shadows a local variable

* Add info about SPLIT_SHARED_LIBRARIES

* Fix cpuid on ARM

* release: better pbuilder autoinstall
2019-02-09 01:09:32 +03:00
alexey-milovidov
e7541f03dd
Merge pull request #4305 from vitlibar/add-freebsd-aio-support
Add FreeBSD AIO support.
2019-02-09 01:06:41 +03:00
alexey-milovidov
bb333643f0
Merge pull request #4307 from 4ertus2/joins
New portion of SyntaxAnalyzer refactoring
2019-02-09 01:04:46 +03:00
chertus
c24ba390b3 fix test 2019-02-08 20:21:28 +03:00
Alexey Milovidov
322c46383e Addition to prev. revision #4297 2019-02-08 20:17:16 +03:00
Alexey Milovidov
6d23bbabd0 Merge branch 'master' into fix-insert-select-read-prefix 2019-02-08 19:55:06 +03:00
Alexey Milovidov
3d55e375ff Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-08 19:54:15 +03:00
Alexey Milovidov
277484297a Aggregator: miscellaneous 2019-02-08 19:54:04 +03:00
alexey-milovidov
dca242f316
Merge pull request #4313 from yandex/fix-error-in-system-tables
Fixed error in system.tables
2019-02-08 19:32:43 +03:00
chertus
668b220258 fix push down 2019-02-08 18:37:43 +03:00
Alexey Milovidov
9599e8ad2a Addition to prev. revision #4297 2019-02-08 18:21:06 +03:00
Alexey Milovidov
8037da4701 Merge branch 'master' into fix-insert-select-read-prefix 2019-02-08 17:36:38 +03:00
Alexey Milovidov
c2b6b15778 Fixed error in system.tables #3982 2019-02-08 17:10:26 +03:00
Vitaly Baranov
49611e87e9 Fix build and code-style. 2019-02-08 16:36:58 +03:00
alesapin
dc98b50f14 Fix HTTP insert 2019-02-08 16:24:24 +03:00
Alexey Milovidov
94d43c4cb2 Fixed error with dangling pointer on stack to ThreadStatus 2019-02-08 16:23:10 +03:00
chertus
6309377323 remove fix for JOIN ON columns in collectUsedColumns 2019-02-08 14:14:48 +03:00
Stupnikov Andrey
dbc9376a0f arrayWithConstant function implementation; 2019-02-08 02:24:07 +03:00
Nikita Vasilev
cecbd5d0ac Merge remote-tracking branch 'upstream/master' into nikvas0/index_fix 2019-02-08 00:17:35 +03:00
chertus
db9a2060bf get rid of custom JOIN ON names qualification 2019-02-07 22:18:40 +03:00
urgordeadbeef
f236ec93be Add FreeBSD AIO support. 2019-02-07 21:48:09 +03:00
Emmanuel Donin de Rosière
c592006979 Support of Nullable types in MySQL function
Trying to fix style error
2019-02-07 18:05:50 +01:00
Emmanuel Donin de Rosière
896b64e823 Support of Nullable types in MySQL function
Trying to fix style error
2019-02-07 15:09:22 +01:00
alesapin
b0a77ff3f7 Allow to insert from any format 2019-02-07 16:58:36 +03:00
Alexey Zatelepin
398a617bfd don't throw exceptions when a query can't be killed (e.g. ALTER queries)
Instead report it in the KILL QUERY results
2019-02-07 16:53:06 +03:00
Ivan Lezhankin
92769a2460 Don't update "arrow" on client-side for nothing 2019-02-07 16:47:16 +03:00
Emmanuel Donin de Rosière
cde57600d9 Support of Nullable types in MySQL function
Add setting 'external_tables_use_nulls'
2019-02-07 14:43:18 +01:00
alesapin
48bd750856 Fix perf-test input data and refactor two tests 2019-02-07 16:18:04 +03:00
Ivan Lezhankin
018df69d3d Merge remote-tracking branch 'upstream/master' into issue-2675 2019-02-07 15:45:21 +03:00
Emmanuel Donin de Rosière
98b70f524c Merge remote-tracking branch 'upstream/master' 2019-02-07 10:46:55 +01:00
Emmanuel Donin de Rosière
fd5656963d Support of Nullable types in MySQL tables
fix code style
2019-02-07 10:46:11 +01:00
alexey-milovidov
7c830941a6
Merge pull request #4256 from zlobober/useful_what_in_exceptions
Make exception.what() less useless.
2019-02-07 12:15:43 +03:00
Vitaly Baranov
7ff5439971
Merge pull request #4298 from vitlibar/add-function-to-start-of-ten-minutes
Add function toStartOfTenMinutes().
2019-02-07 11:46:13 +03:00
Vitaly Baranov
7cbdb17f5b Add function toStartOfTenMinutes(). 2019-02-07 01:50:04 +03:00
Alexey Milovidov
c60db4b978 Better code 2019-02-07 00:47:31 +03:00
Alexey Milovidov
e6ae1e36b6 Addition to prev. revision #4297 2019-02-07 00:44:17 +03:00
Alexey Milovidov
bcd7d3cc63 Fixed wrong behaviour of -WithNames formats when doing INSERT SELECT ... FROM file #3469 2019-02-07 00:40:49 +03:00
alexey-milovidov
494529fa78
Merge pull request #4296 from yandex/system-logs-simpler
System logs: simplification
2019-02-06 23:21:39 +03:00
Nikita Vasilev
a675ba2323 unique -> set 2019-02-06 23:05:50 +03:00
alexey-milovidov
1d7b120642
Merge pull request #4294 from yandex/optimize-better-error-message
Slightly better message with reason for OPTIMIZE query with "optimize_throw_if_noop"
2019-02-06 22:43:49 +03:00
Alexey Milovidov
596234e55c System logs: simplification 2019-02-06 21:33:29 +03:00
alexey-milovidov
2686f64233
Merge pull request #4128 from yandex/unified-sets
Unified sets
2019-02-06 20:40:11 +03:00
alexey-milovidov
9a4c4964b2
Update ColumnsHashingImpl.h 2019-02-06 20:17:59 +03:00
alexey-milovidov
ba01f7fd77
Update ColumnsHashing.h 2019-02-06 19:58:27 +03:00
KochetovNicolai
063565265b
Update formatIPv6.cpp
Fix build.
2019-02-06 19:48:38 +03:00
chertus
3fd3884b32 one more minor refactoring 2019-02-06 19:44:47 +03:00
Alexey Milovidov
89861f8663 Merge branch 'master' of github.com:yandex/ClickHouse into optimize-better-error-message 2019-02-06 19:34:53 +03:00
KochetovNicolai
03e29b5cd3
Update DataTypeNullable.cpp
Style fix.
2019-02-06 18:51:43 +03:00
Alexey Milovidov
2eb1876a7a Slightly better message with reason for OPTIMIZE query with "optimize_throw_if_noop" 2019-02-06 18:44:27 +03:00
alexey-milovidov
f234d7b55e
Merge pull request #4291 from proller/fix15
Build ARM fixes
2019-02-06 18:41:24 +03:00
KochetovNicolai
9f971c276f
Merge pull request #3669 from Enmk/ipv4_and_ipv6_domains
Ipv4 and ipv6 domains
2019-02-06 18:16:58 +03:00
chertus
9a8db441c3 some mote ExpressionAnalyzer refactoring 2019-02-06 17:48:05 +03:00
proller
8a714ed2f0 Build ARM fixes 2019-02-06 14:37:30 +00:00
Alexey Zatelepin
3ec6f508f1 Merge branch 'master' into mutations-introspection
Conflicts:
	dbms/src/Interpreters/InterpreterKillQueryQuery.cpp
2019-02-06 15:22:48 +03:00
Nikita Vasilev
6ef6536460 Merge remote-tracking branch 'upstream/master' into nikvas0/index_fix 2019-02-06 14:23:35 +03:00
Nikita Vasilev
a618c7f334 fixed unique 2019-02-06 14:08:04 +03:00
Nikita Vasilev
28870b4d50 fixed indices register 2019-02-06 12:05:05 +03:00
Nikita Vasilev
fa1e46f8a7 granularity 2019-02-06 11:43:54 +03:00
Nikita Vasilev
e3879c0933 fix 2019-02-06 11:24:16 +03:00
Nikita Vasilev
c3f7344824 style 2019-02-06 11:17:57 +03:00
Nikita Vasilev
258367c1dd ASTs 2019-02-06 10:51:35 +03:00
Nikita Vasilev
ef154a4bb2 r fix 2019-02-06 10:49:18 +03:00
Mihail Fandyushin
60cd766623 fixed clang build; added new line 2019-02-06 09:05:41 +03:00
Mikhail Fandyushin
1ee18203ae handle brotli errors; working wersion of BrotliReadBuffer 2019-02-06 02:12:31 +03:00
Maxim Akhmedov
6d5c0bdf91 Merge remote-tracking branch 'upstream/master' into useful_what_in_exceptions 2019-02-05 23:53:34 +03:00
alexey-milovidov
7012eb63d4
Merge pull request #4280 from yandex/numbers-table-function-zero
Fixed table function numbers with zero argument
2019-02-05 22:34:28 +03:00
Nikita Vasilev
9eaabcbf3f Merge remote-tracking branch 'upstream/master' into nikvas0/index_fix 2019-02-05 22:19:47 +03:00
alexey-milovidov
fda5aa31c2
Merge pull request #4279 from 4ertus2/joins
hotfix for duplicates in JOIN ON
2019-02-05 22:07:10 +03:00
Nikita Vasilev
9921fc6719 removed toString 2019-02-05 21:46:35 +03:00
Nikita Vasilev
3bea03529b fixed bug in unique_index 2019-02-05 21:34:10 +03:00
Alexey Zatelepin
8e437b191e try executing other mutations immediately after KILL MUTATION [#CLICKHOUSE-3912] 2019-02-05 21:09:16 +03:00
Alexey Zatelepin
1bf4174ec1 check readonly when executing KILL QUERY [#CLICKHOUSE-3912] 2019-02-05 21:09:16 +03:00
Alexey Zatelepin
4b4539139b use enum for KILL query type [#CLICKHOUSE-3912] 2019-02-05 21:09:16 +03:00
Alexey Zatelepin
d482f3e5d0 return CancellationCode from killMutation [#CLICKHOUSE-3912] 2019-02-05 21:09:15 +03:00
Alexey Zatelepin
e32f153328 KILL MUTATION for StorageReplicatedMergeTree [#CLICKHOUSE-3912] 2019-02-05 21:09:15 +03:00
Alexey Zatelepin
059c1b3589 write part_log.partition_id everywhere 2019-02-05 21:09:15 +03:00
Alexey Zatelepin
ca93fd483a kill ordinary MergeTree mutations [#CLICKHOUSE-3912] 2019-02-05 21:09:10 +03:00
Alexey Zatelepin
5832e474a4 is_mutation flag in system.merges [#CLICKHOUSE-3912] 2019-02-05 21:09:05 +03:00
Alexey Zatelepin
92a4342c31 system.merges element for mutations [#CLICKHOUSE-3912] 2019-02-05 21:09:00 +03:00
Alexey Zatelepin
51017959f2 fix typo in calculation of part_log.rows_read 2019-02-05 21:09:00 +03:00
Alexey Zatelepin
59bbd8c8dc refactor InterpreterKillQuery a bit [#CLICKHOUSE-3912] 2019-02-05 21:08:55 +03:00
Alexey Zatelepin
67be566325 KILL MUTATION skeleton [#CLICKHOUSE-3912] 2019-02-05 21:08:41 +03:00
Alexey Milovidov
607951895a Fixed table function numbers with zero argument #4276 2019-02-05 20:05:33 +03:00
Maxim Akhmedov
4dfce303fb Remove e.what() from exception message for DB::Exception. 2019-02-05 20:02:05 +03:00
chertus
396d4fb921 hotfix for duplicates in JOIN ON #4271 2019-02-05 19:58:57 +03:00
Alexey Milovidov
9dd2e75b71 Fixed warnings in clang 8 #4143 2019-02-05 19:43:52 +03:00
Nikita Vasilev
89913b9188 fix 2019-02-05 18:22:47 +03:00
Nikita Vasilev
a1b0dede07 Data Skipping Indices (#4143)
* made index parser

* added index parsing

* some fixes

* added index interface and factory

* fixed compilation

* ptrs

* added indexParts

* indextypes

* index condition

* IndexCondition

* added indexes in selectexecutor

* fix

* changed comment

* fix

* added granularity

* comments

* fix

* fix

* added writing indexes

* removed indexpart class

* fix

* added setSkipIndexes

* add rw for MergeTreeIndexes

* fixes

* upd error

* fix

* fix

* reading

* test index

* fixed nullptr error

* fixed

* fix

* unique names

* asts -> exprlist

* minmax index

* fix

* fixed select

* fixed merging

* fixed mutation

* working minmax

* removed test index

* fixed style

* added indexes to checkDataPart

* added tests for minmax index

* fixed constructor

* fix style

* fixed includes

* fixed setSkipIndexes

* added indexes meta to zookeeper

* added parsing

* removed throw

* alter cmds parse

* fix

* added alter

* fix

* alters fix

* fix alters

* fix "after"

* fixed alter

* alter fix + test

* fixes

* upd setSkipIndexes

* fixed alter bug with drop all indices

* fix metadata editing

* new test and repl fix

* rm test files

* fixed repl alter

* fix

* fix

* indices

* MTReadStream

* upd test for bug

* fix

* added useful parsers and ast classes

* fix

* fix comments

* replaced columns

* fix

* fixed parsing

* fixed printing

* fix err

* basic IndicesDescription

* go to IndicesDescr

* moved indices

* go to indicesDescr

* fix test minmax_index*

* fixed MT alter

* fixed bug with replMT indices storing in zk

* rename

* refactoring

* docs ru

* docs ru

* docs en

* refactor

* rename tests

* fix docs

* refactoring

* fix

* fix

* fix

* fixed style

* unique idx

* unique

* fix

* better minmax calculation

* upd

* added getBlock

* unique_condition

* added termForAST

* unique

* fixed not

* uniqueCondition::mayBeTrueOnGranule

* fix

* fixed bug with double column

* is always true

* fix

* key set

* spaces

* test

* tests

* fix

* unique

* fix

* fix

* fixed bug with duplicate column

* removed unused data

* fix

* fixes

* __bitSwapLastTwo

* fix
2019-02-05 17:50:25 +03:00
Nikita Vasilev
263b390c52 removed unnecessary actions 2019-02-05 16:59:43 +03:00
Nikita Vasilev
87a80a4361 fixed create as 2019-02-05 16:52:45 +03:00
Alexey Zatelepin
1512e17ab8 info about failed parts for ReplicatedMergeTree [#CLICKHOUSE-3912] 2019-02-05 16:37:16 +03:00
Alexey Zatelepin
b8ee63fa3a save information about failed parts for ordinary MergeTree mutations [#CLICKHOUSE-3192] 2019-02-05 16:04:58 +03:00
Nikolai Kochetov
a249fc7788 Do nut use Arena in ColumnsHashing for string in functions arrayUniq and arrayEnumerate. 2019-02-05 14:14:09 +03:00
Nikolai Kochetov
daa051b1f8 Fix tests. 2019-02-05 13:55:34 +03:00
Nikolai Kochetov
91c63c201c Delete commented code. 2019-02-05 13:55:08 +03:00
Nikolai Kochetov
1644349342 Refactor arrayEnumerateUniq using ColumnsHashing. 2019-02-05 13:55:25 +03:00
Nikolai Kochetov
df3ec47e1d Implemented sets using ColumnsHashing. 2019-02-05 13:55:08 +03:00
Nikolai Kochetov
3afc0c8108 Disable prev key optimization for string keys. 2019-02-05 13:55:08 +03:00
Nikolai Kochetov
264da7f9d3 Implemented sets using ColumnsHashing. 2019-02-05 13:55:15 +03:00
Nikolai Kochetov
10b49f3a74 Removed old key getters from Join. 2019-02-05 13:55:08 +03:00
Nikolai Kochetov
8db4116464 Update HashMethodHashed. 2019-02-05 13:55:08 +03:00
Alexey Milovidov
29c3195742 Removed bad code; fixed error 2019-02-05 02:18:04 +03:00
Mikhail Fandyushin
7e9e34bebf WIP: Reading brotli encoded HTTP messages. First-draft-ugly implementation, but its works 2019-02-05 01:15:08 +03:00
Alexey Milovidov
26f406c886 Merge branch 'master' of github.com:yandex/ClickHouse into dictionaries-user-profile 2019-02-05 00:57:39 +03:00
alexey-milovidov
23ad22b8a1
Merge pull request #4254 from yandex/fix-system-log-create-on-shutdown
Fixed weird behaviour of system logs
2019-02-05 00:11:36 +03:00
alexey-milovidov
f2c95bf243
Merge pull request #4266 from 4ertus2/cross
CROSS to INNER JOIN (analyze expressions)
2019-02-05 00:10:51 +03:00
DarkWanderer
6e92183854 Fixed format export test, fixed clang compilation 2019-02-04 22:59:59 +03:00
Alexey Milovidov
b186861ef7 Fixed error message 2019-02-04 22:50:21 +03:00
Alexey Milovidov
b0efd6089c Removed preemptive load of external dictionaries in presence of Dictionary database 2019-02-04 22:45:22 +03:00
Alexey Milovidov
1639711364 Merge branch 'master' of github.com:yandex/ClickHouse into dictionaries-user-profile 2019-02-04 22:07:28 +03:00
Alexey Milovidov
f4ee9f4db8 Merge branch 'master' of github.com:yandex/ClickHouse into fix-system-log-create-on-shutdown 2019-02-04 22:02:10 +03:00
alexey-milovidov
143f14cd64
Merge pull request #4261 from yandex/fix-bad-query-id-in-log
Fixed bad code for printing query_id in text logs
2019-02-04 22:01:09 +03:00
chertus
27ba299c95 CROSS to INNER JOIN (analyze expressions) 2019-02-04 21:45:31 +03:00
Ivan Lezhankin
994926e568 Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3729 2019-02-04 20:13:50 +03:00
Alexey Milovidov
28114b4419 Merge branch 'master' into dictionaries-user-profile 2019-02-04 19:26:38 +03:00
alexey-milovidov
2216250a84
Merge pull request #4238 from Quid37/yandex_open_code_competition
Implement Shannon entropy aggregate function
2019-02-04 18:43:29 +03:00
Alexey Milovidov
5fcc02bab2 Fixed bad code for printing query_id in text logs 2019-02-04 18:39:08 +03:00
Maxim Akhmedov
d67a3a901e Make exception.what() less useless. 2019-02-04 17:36:09 +03:00
alexey-milovidov
39f8eb571f
Merge pull request #4213 from nvartolomei/nv/http-cancel
Cancel http read only queries if client socket goes away
2019-02-04 17:33:47 +03:00
Alexey Milovidov
fe94a15092 Merge branch 'master' into dictionaries-user-profile 2019-02-04 17:11:53 +03:00
Alexey Milovidov
a4d1cacea8 Fixed weird behaviour of system logs [#CLICKHOUSE-4275] 2019-02-04 17:08:39 +03:00
Nikita Vasilev
5a7ca354a5 unknown field 2019-02-04 16:42:13 +03:00
Nikita Vasilev
fa07d1cf86 replace andBit 2019-02-04 13:42:30 +03:00
Vasily Nemkov
2716df8ab2 IPv4 and IPv6 Domain implementation.
Added:
 * IDataTypeDomain interface;
 * method DataTypeFactory::registerDataTypeDomain for registering domains;
 * DataTypeDomainWithSimpleSerialization domain base class with simple serialization/deserialization;
 * Concrete IPv4 and IPv6 domain implementations: DataTypeDomanIPv6 and DataTypeDomanIPv4;

Updated:
 * IDataType text serialization/deserialization methods;
 * IDataType implementation to use domain for text serialization/deserialization;
 * Refactored implementation of the IPv4/IPv6 functions to use formatIPv4/v6 and parseIPv4/v6 from Common/formatIPv6.h;

Tests:
 * Added test cases for IPv4 and IPv6 domains.
 * Updated IPv4/v6 functions tests to validate more cases;
 * Added performance tests for IPv4 and IPv6 related functions;
2019-02-04 12:37:46 +03:00
Alexey Milovidov
1f72b0fb16 Disable JIT compilation for comparison of Date and DateTime and conditional operator 2019-02-04 01:11:28 +03:00
Alexey Milovidov
59318c2ad9 Disable JIT compilation for comparison of Date and DateTime and conditional operator 2019-02-04 01:08:17 +03:00
Vitaliy Karnienko
d9da430982 add arbitrary const expressions in limit processing 2019-02-03 21:31:17 +03:00
Alexey Milovidov
2129094ba3 Merge branch 'master' into generic-case-for-function-if 2019-02-03 16:01:56 +03:00
andrewsg
31f2f9ce2f Add topKWeighed aggregate function 2019-02-03 13:59:27 +03:00
alexey-milovidov
91d0d403a2
Merge pull request #3890 from zhang2014/fix/ISSUES-3885
ISSUES-3885 temporarily disable predicate optimization for order by
2019-02-03 12:10:20 +03:00
Alexey Milovidov
bf19e73386 Added generic case for function "if" 2019-02-03 11:41:25 +03:00
alexey-milovidov
ad2f6b4db3
Merge pull request #4237 from valexey/date_and_datetime_comparison
correct Date and DateTime comparison
2019-02-02 20:58:07 +03:00
alexey-milovidov
592d56ac69
Update FunctionsComparison.h 2019-02-02 20:57:36 +03:00
alexey-milovidov
14f208b9a3
Merge pull request #4239 from danlark1/master
produce hints for typo functions and types
2019-02-02 20:42:35 +03:00
NeZeD [Mac Pro]
2cabe8fcdb
Refactor code logic and make it readable 2019-02-02 18:44:47 +03:00
alexander kozhikhov
c5924d8bfb review fixes 2019-02-02 18:19:59 +03:00
Danila Kutenin
f6acd59929 fix brace 2019-02-02 18:15:53 +03:00
Danila Kutenin
9c7b62e95b fix function 2019-02-02 18:13:31 +03:00
Danila Kutenin
7d6e4083fa fix snake_case 2019-02-02 18:08:45 +03:00
Alexey
fc417a4e62 code cleanup 2019-02-02 07:02:57 -08:00
alexey-milovidov
7e5786a2e2
Merge pull request #4236 from kvinty/kvinty-pdqsort
Use pdqsort instead of std::sort in ORDER BY
2019-02-02 17:58:10 +03:00
Danila Kutenin
5e62a0825a produce hints for typo functions and types 2019-02-02 17:54:50 +03:00
alexey-milovidov
e3b32ec679
Merge pull request #4231 from fandyushin/queryid
Added Query-Id to http response header
2019-02-02 17:38:13 +03:00
Mihail Fandyushin
7b51139a80 fixed review notes; remove nullptr 2019-02-02 17:35:35 +03:00
alexander kozhikhov
9d2a0c69fc Merge branch 'master' of https://github.com/yandex/ClickHouse into yandex_open_code_competition 2019-02-02 17:28:34 +03:00
alexander kozhikhov
8c2726b77c Aggregate function for entropy 2019-02-02 17:27:43 +03:00
Alexey
84bbc83192 use common time for Date and DateTime comparisons 2019-02-02 06:23:44 -08:00
Evgenii Pravda
67d26f6528 Use pdqsort instead of std::sort in ORDER BY 2019-02-02 16:52:20 +03:00
alexey-milovidov
fdfb60318c
Merge pull request #4193 from 4ertus2/ast
Refactoring: extract SubqueryForSet to own files
2019-02-02 15:28:31 +03:00
Mihail Fandyushin
7294b8adf2 Added Query-Id to http response header 2019-02-02 15:24:26 +03:00
NeZeD [Mac Pro]
764cf232a0
Consistient codestyle 2019-02-02 15:18:30 +03:00
Nicolae Vartolomei
3fdc04428e
Cancel http read only queries if client socket goes away
To check the socket status, try to read one byte from socket in a
non-blocking way:
      0 - client closed the connection
   >= 1 - client send more data, we are ignoring this case for now
timeout - normal case, client is waiting for response
    ... - socket broken?

Dirty, but should do the job. Limiting to readonly queries as I don't
want to mess with alter queries / insert select and others.
2019-02-02 12:14:52 +00:00
NeZeD [Mac Pro]
d605c9c104
Fix comparsion logic 2019-02-02 14:47:09 +03:00
alexey-milovidov
297c2511c7
Merge pull request #4229 from nvartolomei/nv/typos
Make START REPLICATED SENDS command start replicated sends
2019-02-02 14:44:51 +03:00
Nicolae Vartolomei
f110d377d2
Fix typo in const name 2019-02-02 11:28:43 +00:00
Nicolae Vartolomei
5a8ebba4e1
Fix typo which prevents to start replicated sends 2019-02-02 11:27:27 +00:00
alexey-milovidov
25502718ae
Merge pull request #4221 from 4ertus2/cross
CROSS JOIN to INNER JOIN converter
2019-02-02 14:27:05 +03:00
proller
c7cb8d2db5 Freebsd fixes (#4225)
* CLICKHOUSE-4109 mlock clickhouse

* wip

* Fix

* wip

* fix

* fix

* better place

* wip

* clean

* tidy

* fix

* Freebsd fix

* Fix compile on ARM

* Freebsd fixes

* Simpler test

* Fuzzy test: dont skip already fixed functions
2019-02-02 14:09:22 +03:00
NeZeD [Mac Pro]
9dd0292d77
Implement 'NOT BETWEEN' 2019-02-02 14:07:55 +03:00
proller
a383868442 Remove not used dbms/src/IO/InterserverWriteBuffer.* 2019-02-02 12:03:09 +03:00
chertus
f731702de0 rewrite COMMA JOIN too 2019-02-01 20:22:28 +03:00
chertus
170c108a59 CROSS JOIN to INNER JOIN converter 2019-02-01 19:36:40 +03:00
Alexey Milovidov
0f577da5c2 Updated system.contributors 2019-02-01 18:49:17 +03:00
chertus
52de2cd927 hotfix for allow_experimental_multiple_joins_emulation 2019-02-01 17:26:36 +03:00
Nikolai Kochetov
6a729e59ba Merged with master. 2019-02-01 11:36:57 +03:00
Nikolai Kochetov
d143a78419 Refactor ColumnsHashing 2019-02-01 11:23:38 +03:00
alexey-milovidov
bd62e2d85d
Merge pull request #4184 from 4ertus2/joins
Fix JOIN with duplicates [issue-4108]
2019-02-01 01:35:37 +03:00
alexey-milovidov
012bd5267b
Merge pull request #4195 from yandex/convert-parts-from-old-format
А tool to convert an old month-partition part to the custom-partitioned format
2019-01-31 22:45:44 +03:00
DarkWanderer
e2fe15aafa Build fix: round 2 2019-01-31 22:30:36 +03:00
Alexey Milovidov
435a5497dd Addition to prev. revision 2019-01-31 21:16:11 +03:00
chertus
26b2526a3b fix right & full join with dups (complex join on still affected) 2019-01-31 21:10:16 +03:00
proller
ff30a156c9 Fix compile on ARM
Freebsd fix
2019-01-31 18:38:21 +03:00
Andy Yang
7e7a864fd4 Added bitmap function feature with roaring bitmap 2019-01-31 21:26:11 +08:00
zhang2014
cac52f8312 ISSUES-3885 remove useless methods 2019-01-31 07:23:22 +08:00
alexey-milovidov
1fa8553cc6
Merge pull request #4170 from yandex/split-odbc-bridge
Build odbc-bridge as a separate binary. Do not export symbols from it.
2019-01-31 02:22:28 +03:00
DarkWanderer
c8cff57a62 Fix compile errors, added output format test 2019-01-30 23:38:47 +03:00
Nikita Vasilev
094ae0f810 fix 2019-01-30 22:48:24 +03:00
Nikita Vasilev
476f33f9a3 __bitSwapLastTwo 2019-01-30 22:40:01 +03:00
alexey-milovidov
34ce755117
Merge pull request #4196 from proller/fix14
Fix rethrowing exception #4188
2019-01-30 21:35:53 +03:00
alexey-milovidov
7a5c57ad8d
Merge pull request #4186 from yandex/fix_cache_compressed_buffer
Fix non initialized codec and wrong size in CacheCompressedReadBuffer
2019-01-30 21:18:13 +03:00
Ivan Lezhankin
39e2563f93 Create new consumers on-demand
and give them some time for graceful assignment.
2019-01-30 20:58:49 +03:00
chertus
866c2b2e78 move required right keys calculation to Join.cpp 2019-01-30 18:51:39 +03:00
Alexey Milovidov
18e512d069 Merge branch 'master' into dictionaries-user-profile 2019-01-30 18:18:20 +03:00
Nikita Vasilev
0492ed780f fixes 2019-01-30 18:04:24 +03:00
Alexey Zatelepin
063366307f fix build 2019-01-30 18:03:43 +03:00
proller
0e863fff1e Fix rethrowing exception #4188 2019-01-30 17:06:42 +03:00
Alexey Milovidov
73a6209eba Merge branch 'master' into split-odbc-bridge 2019-01-30 17:01:06 +03:00
Alexey Milovidov
2eb861c143 Reverted part of changes #4188 2019-01-30 16:57:44 +03:00
Alexey Zatelepin
8957e73681 a tool to convert an old month-partition part to the custom-partitioned format [#CLICKHOUSE-4231] 2019-01-30 16:51:39 +03:00
Nikita Vasilev
bcd07a4074 fix 2019-01-30 16:34:28 +03:00
chertus
d6450bc488 Refactoring: extract SubqueryForSet to own files 2019-01-30 15:01:00 +03:00
DarkWanderer
bcac2722d1 Added RowBinaryWithNamesAndTypes format
* Extended BinaryRowOutputStream with flags allowing to output names/types of columns
* Added one (for now) new output format - RowBinaryWithNamesAndTypes
* Updated docs
2019-01-30 14:30:43 +03:00
Nikita Vasilev
69daa33462 removed unused data 2019-01-30 13:58:10 +03:00
Nikita Vasilev
160c8c0807 fixed bug with duplicate column 2019-01-30 13:18:59 +03:00
proller
1cfec66165 Merge remote-tracking branch 'upstream/master' into fix14 2019-01-30 13:01:45 +03:00
proller
dc34e8998c Better fix 2019-01-30 13:01:01 +03:00
Nikita Vasilev
c0d7a8b0fd Merge branch 'nikvas0/index' of github.com:nikvas0/ClickHouse into nikvas0/index 2019-01-30 10:17:19 +03:00
zhang2014
3af26ca070 ISSUES-3885 better test & fix isStateful bug 2019-01-30 12:49:00 +08:00
zhang2014
ddbd384f32 ISSUES-3885 mark stateful function & do not optimize their predicate 2019-01-30 12:04:28 +08:00
alesapin
95db9b4d76 Merge master 2019-01-29 23:17:52 +03:00
Nikita Vasilev
6d7ccc6982 fix 2019-01-29 23:06:31 +03:00
Nikita Vasilev
c12b03d350 Merge remote-tracking branch 'upstream/master' into nikvas0/index 2019-01-29 23:00:12 +03:00
Alexey Milovidov
b57ec0543f Setting user when doing in-process loading of dictionaries (incomplete) 2019-01-29 22:05:32 +03:00
Nikita Vasilev
371e1658f8 fix 2019-01-29 21:40:10 +03:00
alexey-milovidov
fd5ab9ed2e
Merge pull request #4055 from yandex/fix-group-by-array-low-cardibality-arguments
Fix group by array low cardinality arguments
2019-01-29 21:32:45 +03:00
Nikita Vasilev
c4dad05b87 fix 2019-01-29 21:00:40 +03:00
Nikita Vasilev
9311c01ef7 spaces 2019-01-29 20:28:13 +03:00
Nikita Vasilev
4ec0923fc9 key set 2019-01-29 20:26:45 +03:00
Alexey Milovidov
0b0960e28f Fixed "Attempt to attach to nullptr thread group" when reloading dictionaries 2019-01-29 20:24:54 +03:00
alesapin
4f97c291e6 Always run clickhouse-odbc-bridge; Integration tests now able to run odbc-bridge from separate binary; add symlink to clickhouse-odbc-bridge in dbms/programs folder; 2019-01-29 20:17:31 +03:00
Nikita Vasilev
68ea3f0ae0 fix 2019-01-29 20:09:17 +03:00
Nikita Vasilev
67af98670e is always true 2019-01-29 19:53:44 +03:00
proller
4942e024b1 4177 4156 : Fix crash on dictionary reload if dictionary not available 2019-01-29 19:36:50 +03:00
Nikolai Kochetov
21242ad658 Added tests. Restored recursiveRemoveLowCardinality interface. 2019-01-29 18:44:02 +03:00
alesapin
cb0e77dce6 Fix non initialized codec and wrong size in CacheCompressedReadBuffer 2019-01-29 17:55:57 +03:00
Nikita Vasilev
149b0d84f9 fixed bug with double column 2019-01-29 16:13:18 +03:00
chertus
9c6f71bb7e fix inner and left join with duplicates [issue-4108] 2019-01-29 15:38:53 +03:00
Nikolai Kochetov
2c2932e185 Merged with master 2019-01-29 15:25:19 +03:00
Nikolai Kochetov
5d29562302 Fix build. 2019-01-29 13:56:44 +03:00
Alexey Milovidov
27b08a7f22 Merge branch 'master' into fixed-clickhouse-localhost-dictionaries 2019-01-29 13:45:06 +03:00
alexey-milovidov
aa06005a32
Merge pull request #4179 from yandex/avoid-overflow-in-function-sleep
Fixed possible overflow in function "sleep" (found by fuzz test with UBSan)
2019-01-29 13:44:39 +03:00
Alexey Milovidov
c792191831 Fixed possible overflow in function "sleep" (found by fuzz test with UBSan) #4166 2019-01-29 13:42:45 +03:00
Emmanuel Donin de Rosière
4de40e438e Support of Nullable types in MySQL tables 2019-01-29 09:22:03 +01:00
proller
343b31af66 More link with Threads::Threads 2019-01-28 21:21:20 +03:00
Alexey Milovidov
9b2a5c3dec Merge branch 'master' into split-odbc-bridge 2019-01-28 18:15:18 +03:00
proller
2ab3138eb6 Merge remote-tracking branch 'upstream/master' into fix10 2019-01-28 17:01:06 +03:00
proller
2eee2d97df Update contrib/libmetrohash 2019-01-28 17:00:50 +03:00
Alexey Milovidov
bc4944eed2 Fixed optimization of loading of ClickHouse dictionaries via localhost #1529 2019-01-28 16:26:10 +03:00
proller
403d36a7f4 Fix 2019-01-28 16:24:55 +03:00
proller
a874945e0e Use cpuinfo if cpuid not available 2019-01-28 16:16:08 +03:00
proller
22549cc43b Merge remote-tracking branch 'upstream/master' into fix10 2019-01-28 15:44:25 +03:00
Alexey Milovidov
4e3d9a0f15 Merge branch 'master' of github.com:yandex/ClickHouse into global-thread-pool 2019-01-28 14:20:24 +03:00
Nikita Vasilev
7c036e9b43 fix 2019-01-28 13:35:19 +03:00
Nikita Vasilev
b4d1bf869b uniqueCondition::mayBeTrueOnGranule 2019-01-28 11:15:13 +03:00
Nikita Vasilev
a74ed80f99 fixed not 2019-01-28 10:24:32 +03:00
Nikita Vasilev
00ec4cc6ca unique 2019-01-28 10:05:24 +03:00
alexey-milovidov
032ed27c27
Merge pull request #4154 from 4ertus2/joins
Add IdentifierSemantic and PredicateExpressionsOptimizer refactoring
2019-01-28 01:47:57 +03:00
Nikita Vasilev
aa37d95036 added termForAST 2019-01-28 00:08:14 +03:00
Nikita Vasilev
902c9a9e5c unique_condition 2019-01-27 23:24:33 +03:00
Nikita Vasilev
c701cb7e00 added getBlock 2019-01-27 21:23:08 +03:00
alexey-milovidov
4b8cf83de7
Merge pull request #4151 from ercolanelli-leo/fix/sumMap-overflow
Fix/sum map overflow
2019-01-27 21:11:51 +03:00
alexey-milovidov
ba8fcfd32b
Merge pull request #4158 from vitlibar/add-support-for-absolute-format-schema-paths
Add support for absolute format schema paths.
2019-01-27 21:07:00 +03:00
Nikita Vasilev
537b23ef15 upd 2019-01-27 21:02:15 +03:00
Vitaly Baranov
e9721c9548 Add support for absolute format schema paths. 2019-01-27 12:15:32 +03:00
Alexey Milovidov
ef51f126b4 Removed extraordinarily bad code in StorageFile #2150 2019-01-27 03:38:30 +03:00
Nikita Vasilev
0ea031d188 Merge branch 'nikvas0/index' into nikvas0/unique_index 2019-01-26 22:43:30 +03:00
Nikita Vasilev
b94915b7da better minmax calculation 2019-01-26 22:31:12 +03:00
Nikita Vasilev
077212f6f8 fix 2019-01-26 20:54:40 +03:00
Nikita Vasilev
387ed1b7c3 unique 2019-01-26 18:45:38 +03:00
Nikita Vasilev
6b6b0aa79a unique idx 2019-01-26 16:12:13 +03:00
Nikita Vasilev
b2915bc844 Merge remote-tracking branch 'upstream/master' into nikvas0/index 2019-01-26 09:27:32 +03:00
Nikita Vasilev
0ea0b171f4 fixed style 2019-01-26 09:26:49 +03:00
proller
9230fe9917 Merge remote-tracking branch 'upstream/master' into fix10 2019-01-25 23:10:38 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka (#4152) 2019-01-25 23:02:03 +03:00
Léo Ercolanelli
e1d6017120 use sumMapWithOverflow in SummingSortedBlockInputStream 2019-01-25 20:36:18 +01:00
Léo Ercolanelli
038a48bb38 sumMap: implement sumMapWithOverflow 2019-01-25 20:35:53 +01:00
proller
6964fb47ff BUILD_DETERMINISTIC 2019-01-25 22:29:01 +03:00
Alexey Milovidov
253ac93459 Addition to prev. revision #4150 2019-01-25 21:44:30 +03:00
alexey-milovidov
8124ee50e8
Merge pull request #4153 from amosbird/joingetfix
Better joinGet.
2019-01-25 20:47:53 +03:00
alexey-milovidov
c07dbee50d
Merge pull request #4148 from vitlibar/master
Use more IO/WriteHelpers.h functions in the class ProtobufSimpleWriter, rename variant=>varint.
2019-01-25 19:22:31 +03:00
chertus
9539467b59 hotfix 2019-01-25 18:48:53 +03:00
chertus
091efcda95 add IdentifierSemantic and PredicateExpressionsOptimizer refactoring 2019-01-25 18:42:24 +03:00
Amos Bird
d8eba7e71b Better joinGet. 2019-01-25 23:38:13 +08:00
Léo Ercolanelli
a78282b834 IDataType.h: remove trailing whitespace 2019-01-25 15:42:44 +01:00
Léo Ercolanelli
57104f81da rename widen to promote for IDataType 2019-01-25 15:16:23 +01:00
Vitaly Baranov
ed1136e49e Use more IO/WriteHelpers.h functions in the class ProtobufSimpleWriter,
rename variant=>varint.
2019-01-25 17:15:44 +03:00
Alexey Milovidov
468f8b4cfb Addition to prev. revision #4150 2019-01-25 17:08:01 +03:00
Alexey Milovidov
65f8e4d4a8 Merge branch 'master' into global-thread-pool 2019-01-25 16:33:50 +03:00
Léo Ercolanelli
0d6094a3ea sumMap: return types less prone to oveflows
It used to be that sumMap would return the same type as the values
columns. If columns of Array(UInt8) were to be given, that would really
easily cause oveflow. It now uses `getWidenDataType` (and ultimately
`NearestFieldType`) in order to define the result type.
2019-01-25 14:29:45 +01:00
Léo Ercolanelli
d9195cda99 implement getWidenType() on IDataType
This is essentially to help implementing the `getReturnType` of
aggregation function susceptible to provoque overflow (such as
`sumMap`).
2019-01-25 14:25:25 +01:00
Ivan Lezhankin
681266abd0 Poll messages in batches of max_block_size size. 2019-01-25 15:48:59 +03:00
chertus
a0fafefc96 minor change - add Aliases.h 2019-01-25 14:43:19 +03:00
alexey-milovidov
20970154d8
Merge pull request #4141 from 4ertus2/ast
JOIN with USING: do not duplicate columns
2019-01-25 03:22:43 +03:00
alexey-milovidov
2626a2614c
Merge pull request #4145 from yandex/fix-fuzz-test-in-ubsan-quantile-weighted
Fix fuzz test in ubsan: added parameter type check for quantile*Weighted.
2019-01-25 02:45:07 +03:00
Alexey Milovidov
ef50601b5c Removed non-breaking spaces: find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xc2\xa0' | xargs sed -i -r -e 's/\xc2\xa0/ /g' 2019-01-25 02:01:56 +03:00
Alexey Milovidov
5ccc42fd96 Revert "Removed non-breaking spaces: find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xc2\xa0' | xargs sed -i -r -e 's/\xc2\xa0/ /'"
This reverts commit a28f0acf09.
2019-01-25 01:59:45 +03:00
Alexey Milovidov
304c7b0386 Style #4005 2019-01-24 22:50:16 +03:00
Alexey Milovidov
a28f0acf09 Removed non-breaking spaces: find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xc2\xa0' | xargs sed -i -r -e 's/\xc2\xa0/ /' 2019-01-24 22:49:36 +03:00
Alexey Milovidov
854817c232 Fixed -Wshadow-field #4005 2019-01-24 22:37:32 +03:00
Alexey Milovidov
04fa827e4b Style 2019-01-24 22:21:47 +03:00
alexey-milovidov
f96b8e4ed6
Merge pull request #4005 from vitlibar/add-protobuf-output-format
Add protobuf output format
2019-01-24 22:05:23 +03:00
Alexey Milovidov
ffd18163de Fixed fuzz test in UBSan: added parameter check for quantile*Weighted function 2019-01-24 21:33:57 +03:00
alexey-milovidov
fbefc99fb1
Merge pull request #4129 from ercolanelli-leo/sumMapFiltered
implement sumMapFiltered
2019-01-24 21:27:03 +03:00
alexey-milovidov
18f1266dab
Merge pull request #4099 from yandex/mutations-fix-in
Get rid of IAST::range
2019-01-24 20:29:13 +03:00
Alexey Milovidov
0e59fe0b46 Renamed setting and variables #3973 2019-01-24 20:12:05 +03:00
chertus
ccd9bd0877 fix build 2019-01-24 18:06:15 +03:00
Nikolai Kochetov
f7b9059dad Merged with master 2019-01-24 18:06:11 +03:00
Nikolai Kochetov
5f1007a8df Refactor Join. 2019-01-24 17:56:04 +03:00
Vitaly Baranov
2886f42c0e Implemented a new block output stream using protobuf output format. 2019-01-24 17:54:57 +03:00
Vitaly Baranov
c241a4ea6d Added function serializeProtobuf() to each data type. 2019-01-24 17:54:57 +03:00
Vitaly Baranov
1e7a231c56 Implemented main class for writing protobufs. 2019-01-24 17:54:52 +03:00
Vitaly Baranov
42d9d4e81d Implemented storage for parsed protobuf schemas. 2019-01-24 17:32:10 +03:00
Vitaly Baranov
28e9837819 Implemented utility class for writing protobufs. 2019-01-24 17:32:01 +03:00
Vitaly Baranov
b1aba679d0 Class WriteBufferFromOwnString now can return StringRef too. 2019-01-24 17:32:01 +03:00
Vitaly Baranov
ec37ef5a89 No escaping for the format schema file's name anymore,
added an utility class for parsing and checking the format schema.
2019-01-24 17:31:41 +03:00
chertus
cbbf04204b JOIN with USING: do not duplicate columns 2019-01-24 17:22:58 +03:00
Ivan Lezhankin
9636bdcd67 Fix build 2019-01-24 15:44:58 +03:00
Léo Ercolanelli
ba1f1c7460 sumMapFiltered: use an unordered_set 2019-01-24 13:32:30 +01:00
Léo Ercolanelli
90afad8c00 sumMapFiltered: improve error reporting on parameter type mismatch 2019-01-24 13:32:30 +01:00
Léo Ercolanelli
a8647761ce sumMapFiltered: fix dangling reference 2019-01-24 13:32:30 +01:00
Ivan Lezhankin
862d419f31 Fix losing the next message after a broken one. 2019-01-24 14:58:25 +03:00
Ivan Lezhankin
425d483cfb Add integration tests 2019-01-24 14:58:25 +03:00
Ivan Lezhankin
c8e605327d Split StorageKafka.cpp on smaller files per class 2019-01-24 14:58:24 +03:00
Léo Ercolanelli
22f7bd03b9 sumMapFiltered: use CRTP instead of virtual for keepKey 2019-01-24 09:02:17 +01:00
Léo Ercolanelli
efb1cb0528 sumMapFiltered: remove this-> in constructor 2019-01-24 08:58:57 +01:00
alexey-milovidov
f13d094a4e
Merge pull request #3973 from amosbird/join_overwrite
Add join_overwrite settings for StorageJoin.
2019-01-24 02:05:13 +03:00
alexey-milovidov
e6e404ae58
Merge pull request #4133 from abyss7/refactor-block_input_stream
Merge `IBlockInputStream` and `IProfilingBlockInputStream` into one
2019-01-24 01:14:34 +03:00
Vitaly Baranov
67fca7e029 Add support for settings 'format_schema' in an output query.
This fixes syntax error when executing 'SELECT ... FORMAT ... SETTINGS format_schema=...'
2019-01-23 22:23:37 +03:00
Danila Kutenin
784c3e5fda fix of ppc64le definitions 2019-01-23 18:24:14 +03:00
Ivan Lezhankin
05ab15cc84 Merge IBlockInputStream and IProfilingBlockInputStream into one 2019-01-23 17:48:50 +03:00
Danila Kutenin
f6e6f99737 fix 2019-01-23 17:26:05 +03:00
Léo Ercolanelli
8ad1a55f3b implement sumMapFiltered 2019-01-23 15:23:04 +01:00
Danila Kutenin
7f4b0f3c04 added powerpc build support 2019-01-23 17:18:19 +03:00
Alexey Zatelepin
b623d4302c add clone() calls when copying ASTs from stored mutation commands (just in case) #4058 2019-01-23 16:27:01 +03:00
Alexey Zatelepin
da0f555484 speedup calculation of ASTLiteral hash a bit #4058 2019-01-23 16:20:03 +03:00
Alexey Zatelepin
370c8c4e54 Merge branch 'master' into mutations-fix-in
Conflicts:
	dbms/src/Parsers/IAST.h
2019-01-23 14:47:53 +03:00
Alexey Zatelepin
f3b4292fc6 add data types to the prepared_sets key for literals #4058 2019-01-23 14:20:01 +03:00
Alexey Zatelepin
5154814bf9 try to get rid of IAST::range #4058 2019-01-23 14:19:22 +03:00
Nikita Vasilev
296ad9163c fix 2019-01-23 12:10:52 +03:00
maiha
6c83beafdd dbms: Fixed misspells in comments 2019-01-23 04:56:53 +09:00
Nikita Vasilev
d8f3bf7882 refactoring 2019-01-22 22:43:52 +03:00
chertus
f54ed4a2e3 do not revisit ArrayJoin identifiers 2019-01-22 21:02:53 +03:00
chertus
97199b9712 fix ArrayJoin columns calculation 2019-01-22 20:36:08 +03:00
Nikita Vasilev
d47cd4825d Merge remote-tracking branch 'upstream/master' into nikvas0/index 2019-01-22 19:02:20 +03:00
Nikita Vasilev
9ee50da8b6 refactor 2019-01-22 18:58:11 +03:00
chertus
1d0bee7dee fix collecting required columns in lambda 2019-01-21 22:56:11 +03:00
Alexey Milovidov
c70e8cc5f0 Miscellaneous #3726 2019-01-21 22:45:26 +03:00
alexey-milovidov
b41fa8e7af
Merge pull request #3726 from zhang2014/feature/use_cluster_pool
Use cluster connections pool in DirectoryMonitor
2019-01-21 22:33:19 +03:00
Alexey Milovidov
f7ecfc776b Miscellaneous #4111 2019-01-21 21:04:08 +03:00
alexey-milovidov
09b991b47c
Merge pull request #4111 from yandex/compression_codecs_log_storages
Compression codecs log storages
2019-01-21 20:59:56 +03:00
Nikita Vasilev
51830221bd refactoring 2019-01-21 20:54:27 +03:00
Nikita Vasilev
08adef7027 rename 2019-01-21 20:17:21 +03:00
Alexey Milovidov
47139adc5b Merge branch 'master' into test-hint-fix 2019-01-21 18:28:23 +03:00
Nikita Vasilev
2a76e86338 Merge branch 'nikvas0/index' into nikvas0/parse_index 2019-01-21 17:54:13 +03:00
Nikita Vasilev
03cf70e960 Merge remote-tracking branch 'upstream/master' into nikvas0/index 2019-01-21 17:52:38 +03:00
Nikita Vasilev
f0a0dbbf5a fixed bug with replMT indices storing in zk 2019-01-21 17:47:47 +03:00
alesapin
88c413fbe2 Remove accidental change 2019-01-21 17:03:34 +03:00
alesapin
34fb1c89f1 Add ability to choose codecs for storage log and tiny log 2019-01-21 17:00:06 +03:00
Nikita Vasilev
506f2c41c8 fixed MT alter 2019-01-21 16:51:42 +03:00
Alexey Milovidov
ac0060079a Fixed warnings in SpecializedAggregator 2019-01-21 16:13:20 +03:00
Nikolai Kochetov
e8aa41b6ac Merge branch 'master' into unified-sets 2019-01-21 13:40:47 +03:00
Nikolai Kochetov
6fce028b56 Refactor ColumnsHashing. 2019-01-21 13:39:53 +03:00
Nikolai Kochetov
d207498573 Added ColumnsHashing 2019-01-21 13:39:24 +03:00
Nikita Vasilev
c32d1983a0 go to indicesDescr 2019-01-21 12:47:35 +03:00
Nikita Vasilev
977b1e20d0 moved indices 2019-01-20 23:03:17 +03:00
Nikita Vasilev
3f5447f471 go to IndicesDescr 2019-01-20 21:43:49 +03:00
Nikita Vasilev
093b94ae38 basic IndicesDescription 2019-01-20 20:49:53 +03:00
Nikita Vasilev
d6545177fb fix err 2019-01-20 18:50:11 +03:00
Nikita Vasilev
9120bebe56 fixed printing 2019-01-20 18:02:19 +03:00
Nikita Vasilev
cf377b9828 fixed parsing 2019-01-20 14:40:58 +03:00
Nikita Vasilev
5e626be07f fix 2019-01-20 14:34:13 +03:00
Nikita Vasilev
13a4fb2756 replaced columns 2019-01-20 14:03:21 +03:00
Nikita Vasilev
bc0e4facc8 fix comments 2019-01-20 12:33:29 +03:00
Nikita Vasilev
8152bc40d5 fix 2019-01-20 12:24:31 +03:00
Nikita Vasilev
4bf0ac886b added useful parsers and ast classes 2019-01-20 12:19:34 +03:00
Nikita Vasilev
4a19523698 Merge remote-tracking branch 'upstream/master' into nikvas0/index 2019-01-20 10:14:06 +03:00
alexey-milovidov
ee23f6997d
Merge pull request #4084 from yandex/storage_hdfs_improvements
Storage hdfs write and refactoring
2019-01-20 02:51:39 +03:00
alexey-milovidov
9a22185bd6
Update ReadBufferFromHDFS.cpp 2019-01-20 02:51:03 +03:00
Alexey Milovidov
c7b95b5175 Miscellaneous changes for PVS-Studio 2019-01-20 02:27:52 +03:00
alesapin
21f1c4d1ce Better code and tests for bad cases 2019-01-19 23:17:19 +03:00
alesapin
33d5f0c8dd Fix potential null pointer dereference 2019-01-18 21:57:11 +03:00
alexey-milovidov
3c6263e89e
Merge pull request #4094 from abyss7/issue-2675
Add setting to Kafka Engine to control number of parsing errors
2019-01-18 21:46:52 +03:00
alesapin
66bd80703e Fix clang warning 2019-01-18 19:17:24 +03:00
Boris Granveaud
f1a7f60165 new functions filesystemAvailable, filesystemFree and filesystemCapacity 2019-01-18 16:44:53 +01:00
Ivan Lezhankin
5f74094edb Fix a setting description. 2019-01-18 16:15:36 +03:00
alesapin
7c1c6eba8b Wrap hdfsBuilder into unique ptr 2019-01-18 15:48:55 +03:00
Ivan Lezhankin
89ffb577b1 Implement additional Kafka engine setting for allowed parsing errors 2019-01-18 15:48:38 +03:00
alesapin
a139f375c3 Remove copypaste 2019-01-18 14:39:36 +03:00
alesapin
71e58ca001 Fix potential leak in read buffer 2019-01-18 14:01:07 +03:00
alesapin
83c32727dc Remove strange commit 2019-01-18 13:57:00 +03:00
alesapin
2f7b63cf71 Fix review notes 2019-01-18 13:55:03 +03:00
zhang2014
998591b30d fix build failure 2019-01-18 10:31:28 +08:00
alexey-milovidov
3d4bd7cbf8
Merge branch 'master' into feature/use_cluster_pool 2019-01-18 01:02:39 +03:00
alexey-milovidov
7beb25eaaf
Merge pull request #4087 from 4ertus2/joins
child free ASTIdentifier
2019-01-18 00:51:08 +03:00
alexey-milovidov
908015aa4b
Merge pull request #4088 from proller/fix14
CLICKHOUSE-4257 remoteSecure
2019-01-18 00:48:55 +03:00
Alexey Milovidov
a7c468da8e Merge remote-tracking branch 'origin/master' into global-thread-pool 2019-01-17 21:57:01 +03:00
Alexey Milovidov
c3aae60aed Trying to understand the code #4063 2019-01-17 21:49:56 +03:00
proller
e778a5eeca Fix port secelt 2019-01-17 21:49:01 +03:00
Nikita Vasilev
0e6f5b4356 fix 2019-01-17 21:22:45 +03:00
proller
f2bbac6523 CLICKHOUSE-4257 remoteSecure 2019-01-17 20:55:44 +03:00
chertus
5289c1337e child free ASTIdentifier 2019-01-17 20:01:48 +03:00
alesapin
b6ad3cf148 Remove shadow variable warning 2019-01-17 19:15:51 +03:00
Alexey Zatelepin
addc9a43b0 remove unused IAST field 2019-01-17 18:52:29 +03:00
Alexey Milovidov
736e1e2d71 Fixed build #4063 2019-01-17 18:21:21 +03:00
Alexey Milovidov
303c3cc043 Merge branch 'master' of https://github.com/Miniwoffer/ClickHouse into Miniwoffer-master 2019-01-17 18:04:06 +03:00
Alexey Milovidov
178302cc5d Miscellaneous #3960 2019-01-17 17:45:02 +03:00
Nikita Vasilev
8c2a23a129 MTReadStream 2019-01-17 17:23:12 +03:00
alesapin
07e11577d3 Add write logic and remove strange multifile read logic 2019-01-17 17:10:30 +03:00
alexey-milovidov
0ec1fdef04
Merge pull request #3960 from yandex/zk-columns-compact-storage
Compact storage of the part header in ZooKeeper
2019-01-17 17:05:01 +03:00
Nikita Vasilev
c4a725a496 indices 2019-01-17 15:11:36 +03:00
alesapin
2d3e08fc74 Refactor ReadBufferFromHDFS 2019-01-17 14:26:29 +03:00
Nikita Vasilev
6b8c7dadb9 fix 2019-01-17 14:10:43 +03:00
Nikita Vasilev
8d47872436 fix 2019-01-17 13:09:51 +03:00
Nikita Vasilev
6a09340eed Merge remote-tracking branch 'upstream/master' into nikvas0/index 2019-01-17 12:34:51 +03:00
Nikita Vasilev
d514d3739a fixed repl alter 2019-01-17 12:16:39 +03:00
Nikita Vasilev
062819f0a2 new test and repl fix 2019-01-17 11:05:26 +03:00
alexey-milovidov
b50fa22606
Merge pull request #4077 from 4ertus2/joins
Some more ASTIdentifier refactoring
2019-01-17 00:58:36 +03:00
Nikita Vasilev
f8fa36c6bd fix metadata editing 2019-01-16 22:47:21 +03:00
Nikita Vasilev
62dde8c327 fixed alter bug with drop all indices 2019-01-16 22:31:04 +03:00
chertus
394e8b0378 minor improvements and fix 2019-01-16 21:38:19 +03:00
chertus
6a79a03a9e minor improvements 2019-01-16 21:38:19 +03:00
chertus
738080c73f minor improvements 2019-01-16 21:38:19 +03:00
chertus
8bb35ac987 minor changes 2019-01-16 21:38:19 +03:00
Nikita Vasilev
579832ff9b upd setSkipIndexes 2019-01-16 21:35:03 +03:00
Nikita Vasilev
08d23c16d1 fixes 2019-01-16 21:24:38 +03:00
Nikita Vasilev
b4ce03ea7e alter fix + test 2019-01-16 20:59:47 +03:00
Danila Kutenin
45882dc048 Merge branch 'danlark1-master' 2019-01-16 20:46:51 +03:00
Danila Kutenin
4f29102e7f Merge branch 'master' of https://github.com/yandex/ClickHouse 2019-01-16 20:44:21 +03:00
Danila Kutenin
12bcff48ee Miscellaneous and some optimizations 2019-01-16 20:41:08 +03:00
Alexey Milovidov
61a59956b3 Indentation #4004 2019-01-16 20:25:06 +03:00
Nikita Vasilev
2de2b6f32e fixed alter 2019-01-16 19:53:38 +03:00
Alexey Zatelepin
be6a8d6118 fix clang build 2019-01-16 19:42:02 +03:00
Alexey Milovidov
23fbf18555 Merge branch 'sequence-max-iterations' of https://github.com/ercolanelli-leo/ClickHouse into ercolanelli-leo-sequence-max-iterations 2019-01-16 19:37:51 +03:00
Léo Ercolanelli
043ef82468 fix style in AggregateFunctionSequenceMatch.h 2019-01-16 17:20:29 +01:00
Alexey Milovidov
bf2ca149c9 Merge branch 'sequence-max-iterations' of https://github.com/ercolanelli-leo/ClickHouse into ercolanelli-leo-sequence-max-iterations 2019-01-16 18:22:35 +03:00
Alexey Zatelepin
0f8e5f8522 Merge branch 'master' into zk-columns-compact-storage
Conflicts:
	dbms/src/Storages/StorageReplicatedMergeTree.cpp
2019-01-16 17:45:16 +03:00
Danila Kutenin
1badabdcd0 Merge branch 'master' of https://github.com/yandex/ClickHouse 2019-01-16 17:06:38 +03:00
Alexey Milovidov
7d03804d06 Miscellaneous #4053 2019-01-16 16:57:11 +03:00
Alexey Milovidov
0817ff0d58 Merge branch 'master' of https://github.com/danlark1/ClickHouse into danlark1-master 2019-01-16 16:28:28 +03:00
alexey-milovidov
eeac860e0a
Update CapnProtoRowInputStream.cpp 2019-01-16 16:14:54 +03:00
alexey-milovidov
fb68929b10
Update CapnProtoRowInputStream.cpp 2019-01-16 16:14:34 +03:00
Nikita Vasilev
65539bfea0 fix "after" 2019-01-16 16:05:27 +03:00
Nikita Vasilev
8c35ccdd1d fix alters 2019-01-16 15:29:26 +03:00
Léo Ercolanelli
6048a83462 add comment to sequenceMatch's DFA implementation 2019-01-16 10:39:35 +01:00
Léo Ercolanelli
04651503d6 sequence: implement DFA matching algorithm 2019-01-16 10:39:35 +01:00
Alexey Milovidov
78671d15bd Avoid bad code #4052 2019-01-16 03:52:33 +03:00
Alexey Milovidov
e8871bc211 Added a check #3837 2019-01-16 03:26:15 +03:00
alesapin
e33de8133e Unaligned store of the first element 2019-01-15 23:50:57 +03:00
Nikita Vasilev
b110738f61 alters fix 2019-01-15 22:14:47 +03:00
Nikita Vasilev
2f07e31903 fix 2019-01-15 20:39:10 +03:00
Danila Kutenin
ce90ad32d1 some style 2019-01-15 19:26:14 +03:00
Nikita Vasilev
026a30092e added alter 2019-01-15 17:49:22 +03:00
alesapin
361d26c643 Use information about type in Delta codec to choose correct delta size if possible 2019-01-15 17:20:34 +03:00
alesapin
37c78aa3d2 Merge branch 'master' of github.com:yandex/ClickHouse into compression_codec_delta 2019-01-15 16:24:49 +03:00
Danila Kutenin
43965c1703 Merge branch 'master' of https://github.com/yandex/ClickHouse 2019-01-15 16:19:15 +03:00
alesapin
4714bb5f68
Merge pull request #4054 from yandex/compression_codec_alter
Compression codec alter
2019-01-15 16:18:33 +03:00
alesapin
8315c540d4 Merge branch 'master' into compression_codec_delta 2019-01-15 15:45:02 +03:00
chertus
a5d8858ee2 minor ASTIdentifier changes 2019-01-15 15:28:17 +03:00
alesapin
48847441f1 Add spaces in codecs description 2019-01-15 14:06:00 +03:00
alesapin
694f746798 Merge branch 'master' into compression_codec_alter 2019-01-15 13:52:45 +03:00
Odin Hultgren Van Der Horst
3ff868917e Changed tabs to spaces 2019-01-15 09:41:48 +01:00
Odin Hultgren Van Der Horst
3378bf58f5 Comments and changes to parent check
- Added some comments.
 - Immplemented a recurisve parent check so fields with parents by
the same name but grandparents with diffrent names dont cause problems
2019-01-15 09:27:38 +01:00
Odin Hultgren Van Der Horst
8bff8d4e2d Merge branch 'master' of https://github.com/yandex/ClickHouse 2019-01-15 08:13:51 +01:00
alexey-milovidov
27a0c37d77
Update Join.h 2019-01-15 00:41:35 +03:00
alexey-milovidov
64c31a6ad7
Update Join.h 2019-01-15 00:40:42 +03:00
alexey-milovidov
8a401e491a
Update Join.cpp 2019-01-15 00:40:02 +03:00
alexey-milovidov
bcc54d1606
Merge pull request #4025 from abyss7/fix-kafka
Update Kafka libraries
2019-01-15 00:23:20 +03:00
alexey-milovidov
8a251753be
Merge pull request #4056 from 4ertus2/ast
Helpers for ASTIdentifier (based on 'QueryNormalizer refactoring' changes)
2019-01-15 00:22:54 +03:00
alexey-milovidov
d727689ca4
Merge pull request #4031 from 4ertus2/joins
QueryNormalizer refactoring
2019-01-15 00:22:23 +03:00
Alexey Milovidov
f6b9b06307 Attempt to implemnt global thread pool #4018 2019-01-14 22:22:09 +03:00
Nikolai Kochetov
5a50a4fe21 Fix aggregate function low cardinality array argument. #4038 2019-01-14 21:17:55 +03:00
chertus
dbb88e8cb4 helpers for ASTIdentifier (hide semantic and casts) 2019-01-14 21:15:04 +03:00
proller
4b6af5788a Fix macos build 2019-01-14 19:55:11 +03:00
Danila Kutenin
a5669b6b7a MultiVolnitsky added with tests and some benchmark, many multiFunctions are added to support multistring search 2019-01-14 18:54:47 +03:00
proller
72df7ceee6 Macos build fix 2019-01-14 18:20:09 +03:00
zhang2014
cdb138f13c merge 2019-01-14 18:14:34 +03:00
alesapin
4089700e6d Fix segfault but don't know why 2019-01-14 18:10:48 +03:00
proller
af0b875f57 Fix macos build 2019-01-14 17:17:43 +03:00
proller
c0b72492c0 Fix macos build 2019-01-14 16:34:14 +03:00
alesapin
23a53c7e4e Add compression codec delta 2019-01-14 14:55:53 +03:00
alesapin
c8257f6d0b Add compression codec delta and fix naming for parametric codecs 2019-01-14 14:54:40 +03:00
proller
5024d1b7f7 Fix macos build 2019-01-14 14:53:22 +03:00
Ivan Lezhankin
337c092c7e Use cppkafka instead of raw C interface 2019-01-14 14:15:57 +03:00
Ivan Lezhankin
9c35598373 Add cppkafka to contrib 2019-01-14 14:15:57 +03:00
chertus
5147e2ad03 Merge branch 'master' into joins 2019-01-14 14:11:35 +03:00
Alexey Milovidov
35c35f1c77 Merge branch 'global-thread-pool' of github.com:yandex/ClickHouse into global-thread-pool 2019-01-14 14:01:52 +03:00
Alexey Milovidov
aec5570b6e Attempt to implemnt global thread pool #4018 2019-01-14 13:59:58 +03:00
Nikita Vasilev
e197697b22 fix 2019-01-13 22:31:48 +03:00
Alexey Milovidov
00a4b2cf8a Removing garbage, part 1 2019-01-13 21:51:57 +03:00
Alexey Milovidov
a6bf5a7e28 Addition to prev. revision 2019-01-13 20:49:21 +03:00
Nikita Vasilev
d0db87b412 alter cmds parse 2019-01-13 20:23:08 +03:00
Nikita Vasilev
4f48ebd971 removed throw 2019-01-13 19:05:21 +03:00
Nikita Vasilev
183ddea518 added parsing 2019-01-13 19:04:41 +03:00
Nikita Vasilev
e288022fea Merge remote-tracking branch 'upstream/master' into nikvas0/index 2019-01-13 17:33:24 +03:00
alexey-milovidov
5c5358f9c9
Merge pull request #4042 from yandex/compiled_expressions_cache_memory_usage
Try to reduce CompiledExpressionsCache size
2019-01-12 13:19:58 +03:00
alesapin
a9550c5a43
Update ExpressionJIT.cpp 2019-01-12 10:19:18 +03:00
alesapin
748bcb0a3c Remove accident changes 2019-01-12 00:18:57 +03:00
alesapin
00200615e8 Trying to remove redundant objects from CompiledExpressionsCache (LLVMFunction), also remove CompiledExpressionsCacheBytes metric because it's not connected with real size 2019-01-12 00:16:49 +03:00
chertus
b759219243 fix crash on wrong data 2019-01-11 22:33:00 +03:00
Alexey Milovidov
0afee1df23 Attempt to implemnt global thread pool #4018 2019-01-11 22:27:24 +03:00
Alexey Milovidov
abcd5a2a49 Attempt to implemnt global thread pool #4018 2019-01-11 22:12:36 +03:00
chertus
e098348aa4 more QueryNormalizer refactoring: split visit function 2019-01-11 22:07:38 +03:00
Alexey Milovidov
9031be381a Attempt to implemnt global thread pool #4018 2019-01-11 19:59:15 +03:00
proller
7cefef6983
Fix linking in all modes (unbundled, split, ...) (#4037) 2019-01-11 19:52:46 +03:00
chertus
c53854125f QueryNormalizer with visitor interface 2019-01-11 17:09:23 +03:00
chertus
861c225c1e one another build fix 2019-01-11 01:04:37 +03:00
chertus
0084785898 fix build 2019-01-11 00:05:01 +03:00
chertus
275d6b2fcc some QueryNormalizer refactoring 2019-01-10 21:58:55 +03:00
Nikita Vasilev
89b831eaf7 added indexes meta to zookeeper 2019-01-10 20:48:04 +03:00
Nikita Vasilev
d310d1a5ec fixed setSkipIndexes 2019-01-10 19:51:49 +03:00
Nikita Vasilev
0c18e73871 Merge remote-tracking branch 'upstream/master' into nikvas0/index 2019-01-10 17:55:08 +03:00
Nikita Vasilev
701627ec60 fixed includes 2019-01-10 16:50:41 +03:00
Nikita Vasilev
634d5eb516 fix style 2019-01-10 16:30:06 +03:00
Nikita Vasilev
3f8c2ad814 fixed constructor 2019-01-10 15:57:12 +03:00
alesapin
8ae59da557 Fix name hiding 2019-01-10 14:46:20 +03:00
alesapin
6401628dc8 Fix clang-7 werrors 2019-01-10 14:25:59 +03:00
Odin Hultgren Van Der Horst
b844bdef15 Tabs are now spaces 2019-01-10 09:18:13 +01:00
Odin Hultgren Van Der Horst
23c93b8c79 Removed include statemnets 2019-01-10 08:55:59 +01:00
alexey-milovidov
9b46678920
Merge pull request #4014 from 4ertus2/joins
minor SyntaxAnalyzer refactoring
2019-01-09 23:10:40 +03:00
alexey-milovidov
6fabb5eb03
Merge pull request #4017 from yandex/netlink-sockets-pool
Don't use a pool for TaskStatsInfoGetters
2019-01-09 22:56:27 +03:00
alexey-milovidov
a739edc239
Merge pull request #4013 from yandex/pvs-studio-fixes-2
Fixed bugs found by PVS-Studio
2019-01-09 22:55:11 +03:00
Nikita Vasilev
d9b7f30245 added indexes to checkDataPart 2019-01-09 22:20:50 +03:00
proller
64c2c3650c
cmake: Dont cache version; macos: fix build; /release_lib.sh move to utils (#4016) 2019-01-09 21:32:43 +03:00
Alexey Zatelepin
006a764df9 don't use pool for TaskStatsInfoGetter [#CLICKHOUSE-4209]
Pool is not needed because creation of a TaskStatsInfoGetter takes
an order of 10us. Also pool is harmful because created sockets are
never closed.
2019-01-09 20:52:25 +03:00
chertus
c460a270da enlight when SyntaxAnalyzer affects only selects 2019-01-09 20:40:26 +03:00
Alexey Milovidov
4712fd668e Addition to prev. revision 2019-01-09 20:31:30 +03:00
chertus
7ba268049a extract OptimizeIfWithConstantConditionVisitor from SyntaxAnalyzer 2019-01-09 20:06:40 +03:00
Nikita Vasilev
0ba6f1421a fixed style 2019-01-09 20:05:52 +03:00
alexey-milovidov
08f4e792b1
Merge pull request #4009 from yandex/test_for_remote_global_in_user
Fix bug with wrong user in remote table function.
2019-01-09 19:29:34 +03:00
alexey-milovidov
ca7c3c0bfd
Merge pull request #4012 from yandex/fix-low-cardinality-numeric-distinct
Distinct by single LowCardinality numeric column.
2019-01-09 19:28:42 +03:00
chertus
729ca697d9 minor SyntaxAnalyzer refactoring 2019-01-09 19:16:59 +03:00
Alexey Milovidov
19f4652959 Fixed bugs found by PVS-Studio 2019-01-09 18:44:20 +03:00
Odin Hultgren Van Der Horst
ffdf565528 Merge branch 'master' of https://github.com/Miniwoffer/ClickHouse 2019-01-09 15:27:11 +00:00
Odin Hultgren Van Der Horst
96352ce78d Added _ as delim
Added _ as delim
This makes it so you do not have to use . when addresing structures
and since Capnproto can not use _ in its naming its fine to use.
2019-01-09 15:24:17 +00:00
alexey-milovidov
715abd0e0a
Merge pull request #4011 from yandex/fix-empty-low-cardinality-array
LowCardinality empty array serialization.
2019-01-09 18:22:05 +03:00
Nikolai Kochetov
5ab362a303 Fix distinct by single LowCardinality numeric column. 2019-01-09 17:47:51 +03:00
Nikita Vasilev
10355ae555 Merge remote-tracking branch 'upstream/master' into nikvas0/index 2019-01-09 17:36:06 +03:00
Alexey Milovidov
87c4443f98 Removed outdated test 2019-01-09 17:34:25 +03:00
Nikita Vasilev
d8f8b6352b removed test index 2019-01-09 17:30:25 +03:00
Nikita Vasilev
1e8fa5d9ea working minmax 2019-01-09 17:15:23 +03:00
alesapin
b8efafd400 Fix bug with wrong user restrictions in remote table func 2019-01-09 15:21:04 +03:00
Nikolai Kochetov
cea23a1486 Fix LowCardinality empty array serialization. #3907 2019-01-09 15:16:03 +03:00
Nikita Vasilev
91fb17f27f fixed mutation 2019-01-09 12:55:28 +03:00
Nikita Vasilev
e580180efc fixed merging 2019-01-09 12:54:18 +03:00
alexey-milovidov
0648088ff0
Merge pull request #4000 from housepower/feature/gccHash
Add gccHash function
2019-01-09 10:29:37 +03:00
sundy-li
31a516300a rename to gccMurmurHash 2019-01-09 10:03:50 +08:00
Nikita Vasilev
6eeed48e86 fixed select 2019-01-08 23:17:45 +03:00
Nikita Vasilev
ad4df16899 fix 2019-01-08 22:41:36 +03:00
Nikita Vasilev
49148ac3e9 minmax index 2019-01-08 20:27:44 +03:00
Alexey Milovidov
ad586e9bd2 Miscellaneous #4000 2019-01-08 18:57:15 +03:00
Alexey Milovidov
ed07c1a1d2 Added "reserve" for "arrayFirst" #3920 2019-01-08 18:30:04 +03:00
Alexey Milovidov
da449ff9d1 Little better #3920 2019-01-08 17:56:50 +03:00
Alexey Milovidov
3874dc5ac3 Fixed error in #3920 2019-01-08 17:56:07 +03:00
Alexey Milovidov
a594293b50 Addition to Amos Bird changes #3920 2019-01-08 17:55:37 +03:00
alexey-milovidov
2884b870b3
Merge pull request #3993 from yandex/weverything-2
Added more warnings from clang's -Weverything, that are available in clang 8
2019-01-08 17:54:43 +03:00
Odin Hultgren Van Der Horst
68ed4d5c78 Removed console logs used in debuging 2019-01-08 15:02:41 +01:00
Odin Hultgren Van Der Horst
3875265721 CapnProto should now load jagged structures
Changed how actions are created for CapnProto so it supports jagged
structures.
2019-01-08 14:57:52 +01:00
Nikita Vasilev
d1e2ab85e3 asts -> exprlist 2019-01-08 14:04:25 +03:00
Alexey Milovidov
0630e67a21 Addition to Amos Bird changes #3920 2019-01-08 13:07:33 +03:00
Nikita Vasilev
48e136f029 unique names 2019-01-08 12:38:46 +03:00
sundy-li
e6c02a2356 Add gccHash function 2019-01-08 13:12:52 +08:00
Nikita Vasilev
541c641b24 fix 2019-01-08 00:06:08 +03:00
Alexey Milovidov
d4f5310358 Miscellaneous [#CLICKHOUSE-2] 2019-01-07 22:57:32 +03:00
Alexey Milovidov
1c7ccbf108 Miscellaneous [#CLICKHOUSE-2] 2019-01-07 22:56:53 +03:00
Nikita Vasilev
76c25c2024 fixed 2019-01-07 22:21:51 +03:00
Nikita Vasilev
69c6e77d53 fixed nullptr error 2019-01-07 21:53:51 +03:00
Nikita Vasilev
6871665231 test index 2019-01-07 19:49:34 +03:00
Nikita Vasilev
11d37efa74 reading 2019-01-07 15:51:14 +03:00
Alexey Milovidov
0dfa553fca Added more warnings from clang's -Weverything, that are available in clang 8 2019-01-07 13:40:58 +03:00
Alexey Milovidov
a5e354fba9 Fixed warning [#CLICKHOUSE-2] 2019-01-07 11:00:29 +03:00
Amos Bird
8ea4d7987b Add join_overwrite settings for StorageJoin.
This makes using StorageJoin as dictionary more flexible.
2019-01-07 01:23:26 +08:00
Nikita Vasilev
17f6618fa3 fix 2019-01-06 18:22:04 +03:00
alexey-milovidov
14f471dd0d
Merge pull request #3980 from zhang2014/fix/ISSUES-3710
ISSUES-3710 fix alias is missing when distributed & join on
2019-01-06 17:26:45 +03:00