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
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
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
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
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
Alexey Milovidov
2129094ba3
Merge branch 'master' into generic-case-for-function-if
2019-02-03 16:01:56 +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
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