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
alesapin
3c4b7cb37b
Do not report quantilies in perf test if thereis no values.
2019-02-06 16:12:48 +03:00
Alexey Zatelepin
3ec6f508f1
Merge branch 'master' into mutations-introspection
...
Conflicts:
dbms/src/Interpreters/InterpreterKillQueryQuery.cpp
2019-02-06 15:22:48 +03:00
alesapin
321caa7f5c
Enable all metrics in performance test by default
2019-02-06 14:44:00 +03:00
Alexey Zatelepin
ba53f61208
KILL MUTATION tests [#CLICKHOUSE-3912]
2019-02-06 14:39:24 +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
alexey-milovidov
fda5aa31c2
Merge pull request #4279 from 4ertus2/joins
...
hotfix for duplicates in JOIN ON
2019-02-05 22:07: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
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
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
alesapin
abf58cf0a0
Merge pull request #4270 from yandex/try-to-fix-flap-insert_into_distributed
...
Increase timeout in intergration test to avoid flap
2019-02-05 15:08:42 +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
44a46825d0
Added perftest for ColumnsHashing.
2019-02-05 13:55:08 +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
alesapin
edf0344d0e
Increase timeout
2019-02-05 13:15:14 +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
2556a96e9e
Fixed race condition in test #4213
2019-02-05 00:38:23 +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
alexey-milovidov
d5fcc905f6
Merge pull request #4264 from yandex/run_queries_by_indexes_in_perf_test
...
Add ability to run queries by indexes
2019-02-04 22:00:46 +03:00
Alexey Milovidov
00ea27db79
Fixed test #4213
2019-02-04 21:55:43 +03:00
Alexey Milovidov
b44fbdd855
Fixed test #4213
2019-02-04 21:55:06 +03:00
Alexey Milovidov
fbe04a3c47
Merge branch 'master' of github.com:yandex/ClickHouse into dictionaries-user-profile
2019-02-04 21:47:36 +03:00
alexey-milovidov
7ac98850c4
Merge pull request #4262 from abyss7/fix-summingMergeTree-test
...
Round selected results in tests
2019-02-04 21:45:44 +03:00
chertus
27ba299c95
CROSS to INNER JOIN (analyze expressions)
2019-02-04 21:45:31 +03:00
alesapin
e1f4e02766
Add ability to run queries by indexes
2019-02-04 20:37:55 +03:00
Ivan Lezhankin
764629a0d6
Round selected results in tests
...
to address the test flakiness problem.
2019-02-04 19:46:38 +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
94bfad2cfa
Merge branch 'clickhouse_server_version_option' of https://github.com/k-lopatin/ClickHouse into k-lopatin-clickhouse_server_version_option
2019-02-04 17:16:13 +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
Nicolae Vartolomei
9d5d0a9200
Add test for cancel_http_readonly_queries_on_client_close setting
2019-02-04 13:10:23 +00:00
alexey-milovidov
a29385108a
Update Server.cpp
2019-02-04 15:49:54 +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
Lopatin Konstantin
97cb36ac2e
Clickhouse server version option support
2019-02-04 12:21:12 +03:00
Alexey Milovidov
bd04320f13
Added performance test
2019-02-04 01:27:19 +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
8db13da097
Update HTTPHandler.cpp
2019-02-03 23:40:34 +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
526b33f607
Added a test
2019-02-03 11:49:49 +03:00
Alexey Milovidov
ad9d5217ec
Updated test
2019-02-03 11:43:00 +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
450c575c7e
Merge pull request #4230 from bsd-conqueror/missing_password_value
...
Fixed the issue when --password was used without a value
2019-02-02 20:53:15 +03:00
alexey-milovidov
fb297b78ba
Update ConnectionParameters.h
2019-02-02 20:52:57 +03:00
alexey-milovidov
69c18786cb
Update Client.cpp
2019-02-02 20:50:57 +03:00
alexey-milovidov
2e082d9a9e
Merge pull request #4233 from yurriy/server-help-option
...
Server help option
2019-02-02 20:49:03 +03:00
alexey-milovidov
a3afe6650f
Merge pull request #4232 from syominsergey/my-branch
...
"-C" option for client and show problematic file path
2019-02-02 20:47:28 +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
Alexey
ce83b82776
test sql syntax fix
2019-02-02 09:00:29 -08:00
Danila Kutenin
3d00aaa7d8
test for typos
2019-02-02 19:09:24 +03:00
Yuriy Baranov
defc6bbcf4
added positional arguments description
2019-02-02 15:37:54 +00:00
Sergei Semin
cc8bac78da
add tests
2019-02-02 18:32:21 +03:00
Alexey
baa1ae9cf7
upper case for SQL in tests
2019-02-02 07:30:47 -08:00
Alexey
8c73b49e34
empty line on the end of file for tests
2019-02-02 07:20:10 -08:00
alexander kozhikhov
c5924d8bfb
review fixes
2019-02-02 18:19:59 +03:00
Alexey
ff02845677
tests
2019-02-02 07:19:06 -08: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