Alexey Milovidov
9d328839d5
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-01 20:56:03 +03:00
Alexey Milovidov
30a2513fac
Whitespace [#CLICKHOUSE-2]
2018-11-01 20:55:53 +03:00
Alexey Milovidov
accda8bed2
Fixed some code (incomplete) #3139
2018-11-01 20:55:11 +03:00
Alexey Milovidov
dd3f57dd5d
Fixed some code (incomplete) #3139
2018-11-01 20:54:53 +03:00
alexey-milovidov
6bc7297a92
Merge pull request #3523 from yandex/low-cardinality-fix-extremes
...
Low cardinality fix extremes
2018-11-01 20:54:09 +03:00
Alexey Milovidov
4a5fd44da2
Merge branch 'add_rate_function' of https://github.com/twosixlabs/ClickHouse into twosixlabs-add_rate_function
2018-11-01 20:41:32 +03:00
Nikolai Kochetov
e7b6937152
Added tests with LowCardinality and mv. #3288
...
Added tests with LowCardinality and mv. #3288
2018-11-01 20:24:10 +03:00
Nikolai Kochetov
03b2b609b1
Fix ColumnLowCardinality::getExtremes. #3288
2018-11-01 20:24:05 +03:00
alexey-milovidov
b1db9ec23c
Merge pull request #3436 from amosbird/master
...
Flexible fields assignment
2018-11-01 20:22:28 +03:00
alexey-milovidov
4dedead38f
Update StorageSystemDataTypeFamilies.cpp
2018-11-01 20:21:43 +03:00
alexey-milovidov
1a4a99377a
Update StorageSystemFunctions.cpp
2018-11-01 20:21:15 +03:00
alexey-milovidov
e10fd083ef
Update StorageSystemFunctions.cpp
2018-11-01 20:20:41 +03:00
alexey-milovidov
ac10a55b6f
Update StorageSystemDataTypeFamilies.cpp
2018-11-01 20:20:14 +03:00
alexey-milovidov
cce68f5b40
Merge pull request #3519 from yandex/better-behaviour-of-hash-functions
...
Fixed idiosyncrasy with hash functions introduced in #3451
2018-11-01 20:13:39 +03:00
alexey-milovidov
e2b0c6c94f
Merge pull request #3518 from yandex/low-cardinality-fix-nullable-serialization-into-arena
...
Low cardinality fix nullable serialization into arena
2018-11-01 20:12:06 +03:00
chertus
009f77002e
add default db name to views [CLICKHOUSE-3145]
2018-11-01 20:07:20 +03:00
proller
f86d1a7034
CONTRIB-254 Arcadia fixes ( #3475 )
...
* Macos: set ENABLE_EMBEDDED_COMPILER=0 by default (because contrib/llvm temporary broken under macos)
* \n
* arcadia fix
* fix arcadia link
* wip
* wip
* wip
* fix
* wip
* wip
* fix
* try use users from server dir
* Revert "try use users from server dir"
This reverts commit 79b2c6fd9c
.
* Fix logging
* fix
* Update ZooKeeperImpl.h
2018-11-01 20:07:20 +03:00
Alexey Milovidov
77af9f7abb
Fixed error code in test #3503
2018-11-01 18:55:28 +03:00
Alexey Milovidov
e7bb9d5d84
Added test #3519
2018-11-01 18:50:30 +03:00
Alexey Milovidov
719efbe60a
Fixed idiosyncrasy introduced in #3451
2018-11-01 18:47:08 +03:00
alexey-milovidov
82933e9c31
Merge pull request #3451 from CurtizJ/CLICKHOUSE-3490
...
Support more hash functions for tuple, unify FunctionHash template. [CLICKHOUSE-3490]
2018-11-01 18:30:01 +03:00
alesapin
11092e895c
Better comment
2018-11-01 18:22:59 +03:00
alesapin
c6d1677222
CLICKHOUSE-4097: Remove redundant whitespace
2018-11-01 18:09:19 +03:00
Nikolai Kochetov
f2c64dc5dc
Added test with group by LowCardinality(Nullable) #3227 #3256 #3212
2018-11-01 17:57:55 +03:00
Nikolai Kochetov
dc688ef5e1
Fix nullable comparsion for LowCardinality(Nullable()). #3227 #3256 #3212
2018-11-01 17:57:50 +03:00
alesapin
b0ac729228
CLICKHOUSE-4094: Add ability to kill pending queries
2018-11-01 17:56:37 +03:00
Nikolai Kochetov
045b5d5cd8
Fixed LowCardinality(Nullable()) (de)serialization with arena. #3227 #3256 #3212
2018-11-01 17:55:37 +03:00
chertus
d6defafad2
use AddDefaultDatabaseVisitor for views [CLICKHOUSE-3145]
2018-11-01 17:49:37 +03:00
proller
71403c3ff8
StorageSystemContributors.sh debug ( #3491 )
...
* Sql fuzzy test
* wip
* wip
* wip
* wip
* wip
* Build fixes
* better
* bugs
* wip
* fix
* Fix test
* build fixes
* better
* wip
* fix test
* StorageSystemContributors.sh debug
* debug
* wip
* more
* Fix jemalloc include
* more
2018-11-01 17:07:14 +03:00
proller
a7437b93a9
Commited StorageSystemContributors.generated.cpp ( #3510 )
...
* CLICKHOUSE-4085 system.contributors
* fi
* Fix random
* Commited StorageSystemContributors.generated.cpp
* fix
* Update CMakeLists.txt
2018-11-01 17:05:37 +03:00
alexey-milovidov
121f04522e
Merge pull request #3503 from yandex/check_array_value_null
...
Better code for check on null values inside array IN expression
2018-11-01 17:01:06 +03:00
alexey-milovidov
7508a8d6a0
Merge pull request #3513 from amosbird/patch-13
...
restore query context before polling
2018-11-01 16:17:41 +03:00
alexey-milovidov
00fa7d9fad
Update Aggregator.cpp
2018-11-01 15:42:57 +03:00
Artem Zuikov
eb535c4b9b
Merge pull request #3500 from 4ertus2/joins
...
refactoring: one place for db and table extraction from AST
2018-11-01 14:59:56 +03:00
igor.lapko
2d565f1099
code style fix
2018-11-01 13:42:15 +02:00
chertus
1a71a443b8
resolve review remarks
2018-11-01 14:32:44 +03:00
alesapin
63c6647be4
Better comment
2018-11-01 14:23:23 +03:00
alesapin
abcc692dbf
CLICKHOUSE-4096: Fix nested unaliased joins segfault
2018-11-01 14:23:23 +03:00
Amos Bird
d7fe560090
restore query context before polling
2018-11-01 17:14:01 +08:00
igor.lapko
d603cb1eb8
fixed group by int16 and Date types on AMD EPYC 7401P machine
2018-11-01 09:01:34 +02:00
Marek Vavruša
d88450db4d
DictionarySourceFactory: fix mistaken connect timeout for read timeout
...
It looks like this was accidental, as XDBCStorage and bridges use
http_receive_timeout, but the dictionary passes http_connection_timeout,
so it times out on long queries.
2018-10-31 16:21:23 -07:00
chertus
1db565193c
description for TranslateQualifiedNamesVisitor
2018-10-31 20:45:41 +03:00
chertus
1eae5c38ea
remove code duplicates for creating table AST node
2018-10-31 20:31:04 +03:00
alesapin
237186056a
Merge pull request #3504 from yandex/merge_big_parts_using_direct_io
...
Enable merge with DIRECT_IO when summary size of participating parts more than 10GB
2018-10-31 18:11:32 +03:00
chertus
3931a4db5c
Merge branch 'master' into joins
2018-10-31 18:11:23 +03:00
chertus
6bbbd8721c
more tests for joins
2018-10-31 18:09:53 +03:00
chertus
d8674a264a
ExpressionAnalyzer fix columns deduplication
2018-10-31 15:58:12 +03:00
alesapin
5e487608d2
Strict order in select
2018-10-31 15:49:50 +03:00
alesapin
252109f314
Add test with O_DIRECT merge
2018-10-31 14:45:53 +03:00
alesapin
791a1422de
Enable merge with DIRECT_IO when summary size of participating parts more than 10GB
2018-10-31 12:24:58 +03:00
alesapin
892ab4ce8a
Better code for check on null values inside array IN expression
2018-10-31 12:17:47 +03:00
chertus
4ff0391ca6
DatabaseAndTableWithAlias - the only place for db & table expraction from AST
2018-10-30 19:31:21 +03:00
abyss7
d538f70679
Fix build and tests on Fedora ( #3496 )
...
* Fix some tests and build on Fedora 28
* Update contrib/ssl
* Try `sudo` first, then without `sudo`.
2018-10-30 17:05:44 +03:00
chertus
d2518fdb3f
more refactoring: funcs to extract database_and_table from AST
2018-10-29 22:04:28 +03:00
Alexey Zatelepin
31bc680ac5
ErrorCodes::SYNTAX_ERROR now causes HTTP_BAD_REQUEST
2018-10-29 21:00:36 +03:00
Alex Zatelepin
83ac918bab
Merge pull request #3477 from hotid/master
...
stop generating empty WHERE () section in mysql queries (#3431 )
2018-10-29 18:23:14 +03:00
alesapin
b944a068d0
Merge pull request #3487 from yandex/fix_nullable_array_at_client
...
Add validation of array data
2018-10-29 18:09:11 +03:00
Alex Zatelepin
fc99b7d389
style fixes
2018-10-29 17:17:58 +03:00
alesapin
444b6e1e43
Add validation of array data
2018-10-29 16:18:41 +03:00
alesapin
32540583a6
Merge pull request #3481 from Enmk/range_hashed_from_mysql_source_2
...
Tests for MySQL and ClickHouse as sources for range_hashed dictionary
2018-10-29 13:21:54 +03:00
Artem Zuikov
ccfb51b8dd
Merge pull request #3476 from 4ertus2/joins
...
ExpressionAnalyzer refactoring - remove duplicated code
2018-10-29 11:36:06 +03:00
Vasily Nemkov
aa0f812b1e
Tests for ClickHouse as range_hashed dictionary source
2018-10-28 08:17:05 +03:00
Sabyanin Maxim
73e9f5057d
fix code style checker errors
2018-10-27 23:39:59 +03:00
Sabyanin Maxim
65bd40e290
Merge branch 'master' of github.com:yandex/ClickHouse into CLICKHOUSE-4032
2018-10-27 22:33:52 +03:00
proller
c35c979285
CLICKHOUSE-4085 system.contributors ( #3452 )
...
* CLICKHOUSE-4085 system.contributors
* fi
* Fix random
2018-10-26 20:43:50 +03:00
hotid
f22779ad15
stop generating empty WHERE () section in mysql queries
2018-10-26 20:14:43 +03:00
Alexey Zatelepin
e4e38f71e1
allow empty header in RemoteBlockOutputStream #3411
...
The bug with inserts to Distributed tables was introduced in https://github.com/yandex/ClickHouse/pull/3171
It added a workaround specifically for inserting in the Native format without specifying the list of columns.
Native (as opposed to other formats) historically supports this. To signal that the input block structure
shouldn't conform to any fixed header in this case, the remote server started sending empty header block.
This commit adds support for empty headers to RemoteBlockOutputStream.
2018-10-26 18:26:07 +03:00
chertus
95c618b163
ExpressionAnalyzer: remove duplicated code
2018-10-26 18:13:02 +03:00
Alex Zatelepin
a54dff25aa
Merge pull request #3457 from yandex/fix_non_deterministic_compile
...
Don't unfold non deterministic expressions CLICKHOUSE-4077
2018-10-26 15:59:33 +03:00
alesapin
32f6745ae8
Config file
2018-10-26 12:23:29 +03:00
alesapin
20b20d04f9
Include from env
2018-10-26 12:22:33 +03:00
alesapin
64b1108989
Merge branch 'master' of github.com:yandex/ClickHouse into fix_non_deterministic_compile
2018-10-25 20:01:22 +03:00
alesapin
a4dd489165
Do not build compiled functions
2018-10-25 19:52:28 +03:00
alesapin
3a9311d3ad
Now default block can have size more than one
2018-10-25 19:02:20 +03:00
proller
713c44c3db
Build fixes ( #3466 )
2018-10-25 18:23:41 +03:00
alesapin
c3159af898
Enlarge constant default column if it's empty
2018-10-25 17:54:00 +03:00
chertus
19a69004f0
fix crash with non const scale in toDecimal()
2018-10-25 16:53:25 +03:00
Ivan Lezhankin
0592081f2f
Reduce maximum allowable size of |HashSet|.
2018-10-25 16:17:29 +03:00
chertus
480bee07db
hotfix for distributed DDLs over secure port [CLICKHOUSE-4089]
2018-10-25 14:35:19 +03:00
Artem Zuikov
fd6fc3d2cb
Merge pull request #3460 from 4ertus2/joins
...
USE database for ON CLUSTER DDLs [CLICKHOUSE-4036]
2018-10-25 14:15:23 +03:00
chertus
e8f9e3c2a2
better fix for distributed DDL [CLICKHOUSE-4036] [CLICKHOUSE-4015]
2018-10-25 12:40:30 +03:00
Vasily Nemkov
7ebc44a0c8
Fixed test case for UUID_ dictionary attribute.
2018-10-25 07:42:02 +03:00
Vasily Nemkov
8aa0c423aa
Fix for the case when there is no filter.
2018-10-25 07:16:41 +03:00
Ivan Lezhankin
68138a76f8
Add tests for different HLL precisions
2018-10-24 21:05:55 +03:00
proller
7dafcacd15
Build fixes ( #3459 )
2018-10-24 20:20:27 +03:00
chertus
6375009c81
Merge branch 'master' into joins
2018-10-24 19:43:48 +03:00
chertus
7a24e9b8ff
one more minor fix
2018-10-24 18:41:28 +03:00
chertus
a844d10a9a
minor fix
2018-10-24 18:39:37 +03:00
chertus
58f14b0db2
USE database for ON CLUSTER DDLs [CLICKHOUSE-4036]
2018-10-24 18:31:07 +03:00
Ivan Lezhankin
aa6a69b635
Add TODO comment
2018-10-24 17:28:23 +03:00
Ivan Lezhankin
69ebaaeed6
Merge branch '3958/many_templates' of github.com:abyss7/ClickHouse into 3958/many_templates
2018-10-24 17:24:52 +03:00
Ivan Lezhankin
9296ef5008
Temporarily disable precalculated bias estimations for precisions other than 17.
2018-10-24 17:23:57 +03:00
CurtizJ
89808b89b6
update test
2018-10-24 16:27:49 +03:00
CurtizJ
06e955e92a
fix combine hashes
2018-10-24 16:12:59 +03:00
alesapin
54a1f0c2a6
enable compiled expressions byt default
2018-10-24 14:36:02 +03:00
alesapin
070d75c7c9
Don't unfold non deterministic expressions
2018-10-24 14:31:23 +03:00
Amos Bird
3cf2177268
Flexible fields assignment
...
Field f;
before:
f = Int64(-42);
after:
f = -42;
2018-10-24 08:47:33 +08:00
alexey-milovidov
bb00bb8592
Merge pull request #3405 from yandex/CLICKHOUSE-2211
...
CLICKHOUSE-2211: Fix aio reading (with correct buffer size), reduce M…
2018-10-24 01:37:05 +03:00
Alexey Milovidov
07f0fd3da9
Merge branch 'master' of github.com:yandex/ClickHouse
2018-10-23 23:23:51 +03:00
Alexey Milovidov
1dc2acf3e4
Fixed test #3385
2018-10-23 23:23:39 +03:00
alexey-milovidov
10abde5b62
Merge pull request #3441 from CurtizJ/CLICKHOUSE-1834
...
Setting for TCP keepalive. [CLICKHOUSE-1834]
2018-10-23 23:21:15 +03:00
alexey-milovidov
165890a3e6
Merge pull request #3453 from yandex/fix-union-header
...
Fix union header
2018-10-23 23:18:36 +03:00
proller
0a9d6f91d2
SQL fuzz test ( #3442 )
...
* Sql fuzzy test
* wip
* wip
* wip
* wip
* wip
2018-10-23 23:14:43 +03:00
alesapin
1c77cf51ce
Remove compile_expressions by default
2018-10-23 21:25:55 +03:00
CurtizJ
68f2bea4ba
fix style
2018-10-23 21:07:20 +03:00
Nikolai Kochetov
d2f0925685
Uniform headers for union stream. #2156
2018-10-23 21:01:38 +03:00
Nikolai Kochetov
75338fbfa9
Added test.
2018-10-23 20:48:58 +03:00
CurtizJ
ef5c65c3dd
fix test
2018-10-23 20:48:01 +03:00
CurtizJ
e3dea84265
support more hash functions for tuples
2018-10-23 20:43:09 +03:00
alesapin
72e435893d
Better comment
2018-10-23 14:19:01 +03:00
alexey-milovidov
4bf54337b9
Merge pull request #3292 from CurtizJ/order-by-efficient
...
Efficiently finish sorting by (x, y) stream, that already sorted by (x) [CLICKHOUSE-4022]
2018-10-23 11:34:22 +03:00
alexey-milovidov
21e7c25134
Update FinishSortingBlockInputStream.cpp
2018-10-23 11:32:28 +03:00
alexey-milovidov
9c3278f378
Merge pull request #3400 from zhang2014/fix/ISSUES-2312
...
ISSUES-2312 fix nested view & joined view without database
2018-10-23 11:21:29 +03:00
Alexey Milovidov
bac6b6f381
Fixed error #2863
2018-10-23 11:19:47 +03:00
Vasily Nemkov
c65fec341c
Test for MySQL as range_hashed dictionary source
2018-10-23 10:18:28 +03:00
CurtizJ
7963e952f1
rename setting to tcp_keep_alive
2018-10-23 02:02:57 +03:00
Alexey Milovidov
b8cfa77ea0
Fixed build [#CLICKHOUSE-2]
2018-10-22 23:58:16 +03:00
alexey-milovidov
98c2ed582c
Merge pull request #2863 from VadimPE/ISSUES-2581
...
ISSUES-2581 fix SELECT with sequential consistency
2018-10-22 23:55:33 +03:00
alexey-milovidov
2deb510c59
Merge branch 'master' into master
2018-10-22 23:45:26 +03:00
alexey-milovidov
57e6dc3477
Merge pull request #3385 from VadimPE/CLICKHOUSE-1791
...
[CLICKHOUSE-1791] add modulo for Date and DateTime
2018-10-22 23:38:40 +03:00
alexey-milovidov
25d9918b78
Update 00726_modulo_for_date.sql
2018-10-22 23:38:16 +03:00
alexey-milovidov
1c3c4c0890
Update FunctionsArithmetic.h
2018-10-22 23:35:28 +03:00
alexey-milovidov
00d49602d3
Merge pull request #3404 from CurtizJ/CLICKHOUSE-3274
...
Add lock for .inner. table while insert. [CLICKHOUSE-3274]
2018-10-22 23:32:12 +03:00
alexey-milovidov
fd86a6bea5
Update AggregateFunctionUniqCombined.cpp
2018-10-22 22:38:46 +03:00
alexey-milovidov
bd148bb082
Update AggregateFunctionUniqCombined.cpp
2018-10-22 22:37:55 +03:00
alexey-milovidov
f90783d885
Update AggregateFunctionUniqCombined.cpp
2018-10-22 22:36:32 +03:00
alexey-milovidov
c8868cffaa
Update AggregateFunctionUniqCombined.cpp
2018-10-22 22:34:39 +03:00
alexey-milovidov
72b3ec1ffa
Merge pull request #3428 from 4ertus2/joins
...
Мore ExpressionAnalyser refactoring, add unit-test for it
2018-10-22 22:24:39 +03:00
CurtizJ
a05aa5448d
add setting keep_alive
2018-10-22 21:09:55 +03:00
Ivan Lezhankin
2a53716043
Move the precision template argument one level up.
2018-10-22 20:18:08 +03:00
Alexey Zatelepin
bd38b4f560
add clear error message #275
2018-10-22 15:38:04 +03:00
VadimPE
31794b7a46
fix codestyle
2018-10-22 14:58:56 +03:00
alexey-milovidov
28fc99c556
Merge pull request #3430 from yandex/fix_subquery_global_counter
...
Add global counter to subqueries
2018-10-22 14:56:31 +03:00
alesapin
c6debd1c33
Better comment
2018-10-22 14:30:24 +03:00
Ivan Lezhankin
19ed7b6ae9
Minor optimizations
2018-10-22 13:00:37 +03:00
chertus
a62fae8332
Merge branch 'master' into joins
2018-10-22 11:25:43 +03:00
chertus
d4699bd9d2
fix FieldToDataType for Decimal128
2018-10-22 11:25:11 +03:00
alesapin
9127e41415
Fix hack in test
2018-10-20 13:43:15 +03:00
alesapin
dcc8ca49d7
Add global counter to subqueries
2018-10-20 00:03:45 +03:00
proller
61568a0e74
Better test
2018-10-19 20:33:46 +03:00
proller
2659e94573
Fix use after pop_back()
2018-10-19 20:27:38 +03:00
proller
67eb30d192
CLICKHOUSE-4074 Fix merge_tree_uniform_read_distribution=0
2018-10-19 19:31:51 +03:00
chertus
b784f754a7
minor settings changes
2018-10-19 18:42:47 +03:00
chertus
dcf04ac36d
unit-test for ExpressionAnalyzer [CLICKHOUSE-3996]
2018-10-19 18:33:40 +03:00
Alex Zatelepin
4449d7e059
Update FinishSortingBlockInputStream.cpp
2018-10-19 16:21:50 +03:00
CurtizJ
6ff8a60460
fix style
2018-10-19 16:04:50 +03:00
CurtizJ
8a72ddd94b
wip on finish sorting
2018-10-19 15:02:31 +03:00
proller
abfe675097
Build fixes ( #3419 )
2018-10-18 22:28:05 +03:00
chertus
5aedca40c2
fix asan
2018-10-18 22:27:28 +03:00
Ivan Lezhankin
28ea773b9e
Use a single "place" for a default precision constant.
...
Also update stateless tests.
2018-10-18 21:38:45 +03:00
Marek Vavruša
37e03bd938
StorageKafka: check dependencies recursively, add max_block setting
...
Changes:
* Check table dependencies recursively before starting streaming
* Use actual number of created consumers when streaming
* Add size limits hint to Kafka consumer stream
* Configurable `kafka_max_block_size` per table
2018-10-18 09:20:34 -07:00
Ivan Lezhankin
45e6fd8cd2
Fix compilation with gcc and code style
2018-10-18 18:25:39 +03:00
chertus
a32e06d298
more ExpressionAnalyzer refactoring [CLICKHOUSE-3996]
2018-10-18 18:03:14 +03:00
Ivan Lezhankin
d588120677
Keep default value for HLL precision in tests - to not break them.
2018-10-18 17:47:21 +03:00
VadimPE
f2db463ab0
fix bug with merge part, wich us inserted with quorum
2018-10-18 17:14:07 +03:00
VadimPE
451114c9a3
rename partition -> part
2018-10-18 15:16:53 +03:00
VadimPE
4a0ca4cbc5
ad test
2018-10-18 15:00:36 +03:00
VadimPE
4a93d3b836
fix addedparts
2018-10-18 14:51:40 +03:00
Ivan Lezhankin
e16081d4d4
Fix initialization of precision.
2018-10-18 14:15:47 +03:00
alesapin
87bb06fdd8
CLICKHOUSE-2211: Add exception for impossible case
2018-10-18 12:24:16 +03:00
CurtizJ
7623a3f48b
fix test
2018-10-17 19:56:00 +03:00
alesapin
fe6406eac1
CLICKHOUSE-2211: Fix accident delition
2018-10-17 19:18:14 +03:00
alesapin
d78d569d42
CLICKHOUSE-2211: Fix aio reading (with correct buffer size), reduce MergeTreeReader creation and add useless test
2018-10-17 17:56:15 +03:00
Ivan Lezhankin
6d783ef013
Move-away "uniqCombined" as a separate aggregated function with HLL precision
2018-10-17 17:31:06 +03:00
CurtizJ
f86b9d3983
add lock for .inner. table
2018-10-17 17:11:20 +03:00
CurtizJ
d81ed27004
add lock for .inner. table
2018-10-17 17:08:52 +03:00
Artem Zuikov
52e94ecc5a
Merge pull request #3368 from 4ertus2/joins
...
Extract visitors from ExpressionAnalyser [CLICKHOUSE-3996]
2018-10-17 15:48:42 +03:00
chertus
5d3f03a6d2
minor refactoring (function naming)
2018-10-17 14:06:46 +03:00
chertus
40f1805bf4
fix gcc build
2018-10-17 13:59:05 +03:00
zhang2014
133363e8e3
ISSUES-2312 fix nested view & joined view without database
2018-10-17 14:35:16 +08:00
Alexey Milovidov
5466ca27b8
Merge branch 'master' of github.com:yandex/ClickHouse
2018-10-17 09:03:10 +03:00
Alexey Milovidov
ce67ebdded
Updated test [#CLICKHOUSE-3]
2018-10-17 09:02:48 +03:00
alexey-milovidov
7566ffe751
Merge pull request #3398 from yandex/better-startup-time
...
Better server startup time
2018-10-17 08:58:23 +03:00
Alexey Milovidov
72e4963248
Added test for old issue #1788
2018-10-17 08:50:40 +03:00
Alexey Milovidov
de2d081f8b
Added more test cases #1164
2018-10-17 08:24:32 +03:00
Alexey Milovidov
a4daa58b7f
Added another test #1164
2018-10-17 08:20:07 +03:00
Alexey Milovidov
388bc4ff03
Added another test for old issue #1087
2018-10-17 07:51:59 +03:00
Alexey Milovidov
0e6694957d
Added a test for old issue #1119
2018-10-17 07:45:27 +03:00
Alexey Milovidov
f25606fdca
Added a test just in case #880
2018-10-17 07:25:36 +03:00
Alexey Milovidov
44f5c735aa
Temporary disable "enable_optimize_predicate_expression" setting by default #1777
2018-10-17 06:46:06 +03:00
Alexey Milovidov
99a64d3b92
Presumably better #2278
2018-10-17 06:13:00 +03:00
Alexey Milovidov
427eba3451
Improved server startup time #2278
2018-10-17 05:34:14 +03:00
Alexey Milovidov
a7090f4fab
Improved server startup time #2278
2018-10-17 04:59:24 +03:00
Alexey Milovidov
aa227795ef
Improved server startup time #2278
2018-10-17 04:31:28 +03:00
Alexey Milovidov
36f5ce728d
Added fixture #2312
2018-10-17 03:30:46 +03:00
alexey-milovidov
3024bf2e3b
Merge pull request #3397 from yandex/fix-vertical-merge-of-multidimensional-nested-structures
...
Fix vertical merge of multidimensional nested structures
2018-10-17 02:05:37 +03:00
Alexey Milovidov
63bb074ba7
Added a test from Matt Robenolt #2662
2018-10-17 00:46:42 +03:00
Alexey Milovidov
781332d57c
Added another test from Kirill Shvakov just in case #2231
2018-10-17 00:34:10 +03:00
Alexey Milovidov
faffe1e82a
Added test [#CLICKHOUSE-3901]
2018-10-17 00:27:07 +03:00
Alexey Milovidov
7c4d24ce39
Added comment [#CLICKHOUSE-3901]
2018-10-17 00:25:45 +03:00
Alexey Milovidov
98543b7c41
Fixed vertical merge of multidimensional Nested structures [#CLICKHOUSE-3901]
2018-10-17 00:22:41 +03:00
Alexey Milovidov
6d6e237ac9
More simple test [#CLICKHOUSE-3901]
2018-10-16 23:51:12 +03:00
Alexey Milovidov
b6e9a2b293
Added fixture [#CLICKHOUSE-3901]
2018-10-16 23:48:13 +03:00
chertus
27d66a45c3
extract more visitors from ExpressionAnalyzer [CLICKHOUSE-3996]
2018-10-16 22:00:05 +03:00
robot-clickhouse
fcce722c26
Auto version update to [18.14.9] [54409]
2018-10-16 15:58:16 +03:00
alesapin
457f8fd495
Merge pull request #3389 from yandex/CLICKHOUSE-4067
...
CLICKHOUSE-4067: Fixes in odbc dictionaries. Now dictionaries receive…
2018-10-16 15:37:23 +03:00
chertus
4071155043
better ActionsVisitor extraction [CLICKHOUSE-3996]
2018-10-16 15:34:20 +03:00
VadimPE
070eae2ae6
fix name
2018-10-16 14:38:49 +03:00
VadimPE
868c1bd70b
ISSUES-2581
2018-10-16 13:52:15 +03:00
alesapin
c2ca99980f
More stable test
2018-10-16 13:27:21 +03:00
chertus
e6e28d2451
Merge branch 'master' into joins
2018-10-16 13:10:32 +03:00
Artem Zuikov
3359ba06c3
Merge pull request #3391 from 4ertus2/decimal
...
fix for Decimal128 group by [issue-3378]
2018-10-16 13:07:11 +03:00
alesapin
e37a163c3b
CLICKHOUSE-4067: var usage
2018-10-16 12:14:54 +03:00
chertus
29bd00f9f4
simple fix for Decimal128 group by [issue-3378]
2018-10-16 10:31:17 +03:00
alesapin
051390cd7f
trying to debug
2018-10-15 23:56:01 +03:00
chertus
465cb6d267
fix for Decimal128 group by [issue-3378]
2018-10-15 22:14:08 +03:00
alesapin
f9a6116324
Add missed file
2018-10-15 21:38:52 +03:00
proller
0cf72f9b26
clickhouse-odbc#125 : Make TIMESTAMP alias for DateTime type for allowing CAST(x AS TIMESTAMP)
2018-10-15 18:10:34 +03:00
VadimPE
52deb3932f
fix test
2018-10-15 17:55:02 +03:00
alesapin
c951ec7bad
CLICKHOUSE-4067: Fixes in odbc dictionaries. Now dictionaries receives bridge path from global config (as it was before). Quotation performed on table and schema independently. Add tests with postgres interaction. Update documentation
2018-10-15 17:49:23 +03:00
VadimPE
fca4a7be90
Merge branch 'ISSUES-2581' of https://github.com/VadimPE/ClickHouse into ISSUES-2581
2018-10-15 17:10:44 +03:00
VadimPE
4d6da00184
fix tests
2018-10-15 17:09:22 +03:00
Vadim
ade4f56c3f
Update 00726_modulo_for_date.sql
2018-10-15 16:24:46 +03:00
VadimPE
e331f15ffd
CLICKHOUSE-1791 add modulo for nonIntegral divisor
2018-10-15 16:24:01 +03:00
VadimPE
7b6f0f5372
CLICKHOUSE-1791 add modulo for date
2018-10-15 15:53:05 +03:00
Vadim
a013dce567
Update 00732_quorum_insert_simple_test_2_parts_zookeeper.reference
2018-10-15 13:32:43 +03:00
Vadim
5898a22824
Update 00732_quorum_insert_simple_test_1_parts_zookeeper.reference
2018-10-15 13:32:30 +03:00
Vadim
9b1271afd3
Update 00732_quorum_insert_lost_part_and_alive_part_zookeeper.reference
2018-10-15 13:32:17 +03:00
VadimPE
58c2bd366f
ISSUES-2581 add test
2018-10-15 13:31:24 +03:00
VadimPE
1c51407fa7
ISSUES-2581 add test
2018-10-15 13:27:17 +03:00
Sabyanin Maxim
e050bc0428
Merge branch 'master' into CLICKHOUSE-4032
2018-10-14 18:35:45 +03:00
Sabyanin Maxim
ab050c8466
add comment section in column declaration.
...
add comment column type in alter method.
add comment section in system.columns.
2018-10-14 18:30:06 +03:00
alesapin
e6c414c936
Remove abs path from testing framework
2018-10-14 12:51:16 +03:00
Alexey Milovidov
50234013b5
Whitespaces [#CLICKHOUSE-4016]
2018-10-14 11:23:21 +03:00
Alexey Milovidov
c53f38260f
Added instruction for quick syntax check [#CLICKHOUSE-2]
2018-10-14 11:22:56 +03:00
Alexey Milovidov
9c4e74ad91
Merge branch 'master' of github.com:yandex/ClickHouse
2018-10-14 11:05:23 +03:00
Alexey Milovidov
42d5418257
Added fixture [#CLICKHOUSE-4016]
2018-10-14 11:05:13 +03:00
Kirill Shvakov
5600c35847
check drop type
2018-10-14 00:37:16 +03:00
Kirill Shvakov
0f509b9eb5
ReplicatedMergeTree: send drop request to the leader replica
2018-10-13 23:58:04 +03:00
Alexey Milovidov
881893da56
Merge branch 'master' of github.com:yandex/ClickHouse
2018-10-13 17:33:53 +03:00
Alexey Milovidov
f720a5bf95
Fixed typos in code #3373
2018-10-13 17:33:43 +03:00
avsharapov
11da23f153
Fix typo in readme
2018-10-13 15:28:08 +03:00
robot-clickhouse
dd07029050
Auto version update to [18.14.8] [54409]
2018-10-13 03:31:18 +03:00
Alexey Milovidov
72e2996e3e
Fixed incompatibility when versions prior to 18.12.17 are used on remote servers and newer is used on initiating server, and GROUP BY both fixed and non-fixed keys, and when two-level group by method is activated [#CLICKHOUSE-4035]
2018-10-13 02:43:25 +03:00
Alexey Milovidov
98859f232b
Merge branch 'master' into group_by_two_level_compatibility
2018-10-13 02:13:30 +03:00
robot-clickhouse
adf6291746
Auto version update to [18.14.7] [54409]
2018-10-12 22:44:51 +03:00
alexey-milovidov
845e8b19d8
Merge pull request #3367 from yandex/CLICKHOUSE-4060
...
CLICKHOUSE-4060: Use individual context for each function
2018-10-12 22:08:16 +03:00
chertus
e2e3205c62
add test for OR optimisation [issue-3339]
2018-10-12 19:16:27 +03:00
chertus
9120d5f38e
extract visitor from ExpressionAnalyser [CLICKHOUSE-3996]
2018-10-12 18:41:28 +03:00
alesapin
72ef357a02
Fix typo assignment
2018-10-12 17:52:39 +03:00
alexey-milovidov
69a1303fc2
Merge pull request #3365 from liuyimin-bytedance/master
...
Add test for issue #3269
2018-10-12 17:08:01 +03:00
alexey-milovidov
8b4e58460a
Merge pull request #3366 from 4ertus2/decimal
...
Conditional for UUID [CLICKHOUSE-4016]
2018-10-12 17:06:29 +03:00
alexey-milovidov
b1ceb4bfc8
Merge pull request #3362 from yandex/nullable-types-from-external-databases
...
Allow Nullable types in MySQL, ODBC and MongoDB external sources
2018-10-12 16:59:01 +03:00
alesapin
17150fd688
CLICKHOUSE-4060: Use individual context for each function
2018-10-12 16:03:57 +03:00
chertus
688b5aa8e4
Conditional for UUID [CLICKHOUSE-4016]
2018-10-12 14:23:05 +03:00
liuyimin
5d40757e9b
Add test for issue #3269
2018-10-12 18:34:37 +08:00
Alexandr Krasheninnikov
468ca70683
Minor review fixes
2018-10-12 11:46:53 +03:00
Alexandr Krasheninnikov
92916d3b8d
Merge https://github.com/yandex/ClickHouse into base64_functions
2018-10-12 11:29:01 +03:00
Alexey Milovidov
81a9ab424f
Style #3362
2018-10-12 06:11:19 +03:00
Alexey Milovidov
0573b80288
Allow Nullable types in MySQL, ODBC and MongoDB external sources #3284
2018-10-12 05:41:54 +03:00
Alexey Milovidov
4bb8da039f
Allow Nullable types in MySQL, ODBC and MongoDB external sources #3284
2018-10-12 05:26:48 +03:00
Alexey Milovidov
d5bfe37879
Allow Nullable types in MySQL, ODBC and MongoDB external sources #3284
2018-10-12 05:09:47 +03:00
Alexey Milovidov
f8e5a22e03
Fixed "timeSlot" and "timeSlots" functions [#CLICKHOUSE-4016]
2018-10-12 03:40:19 +03:00
Alexey Milovidov
6e39e021f0
Disable "compile_expressions" setting by default because it is not production ready [#CLICKHOUSE-4060]
2018-10-12 03:21:24 +03:00
Alexey Milovidov
f2e161156e
Added test #3342
2018-10-12 03:18:36 +03:00
Alexey Milovidov
f650bde97d
Merge branch 'master' into fix-function-if
2018-10-12 02:49:06 +03:00
alexey-milovidov
12772c2cd5
Merge pull request #3357 from yandex/check-for-array-join-in-prewhere
...
Added check for invalid PREWHERE
2018-10-12 01:32:44 +03:00
Alexey Milovidov
218366e17f
Fixed error introduced in #3342
2018-10-12 00:31:36 +03:00
alexey-milovidov
27a07a9d90
Merge pull request #3356 from yandex/llvm-better-exception-messages
...
LLVM compiler: better exception messages.
2018-10-12 00:18:42 +03:00
Alexey Milovidov
1af718677a
Merge branch 'master' of github.com:yandex/ClickHouse
2018-10-12 00:12:23 +03:00
Alexey Milovidov
f0db16af20
Whitespaces [#CLICKHOUSE-2]
2018-10-12 00:12:14 +03:00
Alexey Milovidov
e752271d99
Added check for invalid PREWHERE #3336
2018-10-11 23:52:25 +03:00
alexey-milovidov
42e18a4615
Merge pull request #3355 from 4ertus2/joins
...
Extract one more visitor from ExpressionAnalyzer [CLICKHOUSE-3996]
2018-10-11 23:33:35 +03:00
Alexey Milovidov
7d6365d139
LLVM compiler: better exception messages [#CLICKHOUSE-2]
2018-10-11 23:31:41 +03:00
chertus
c593d9a971
extract ExecuteScalarSubqueriesVisitor from ExpressionAnalyser [CLICKHOUSE-3996]
2018-10-11 22:28:59 +03:00
alexey-milovidov
9f494b0278
Merge pull request #3351 from CurtizJ/CLICKHOUSE-3974
...
Create client_info when it`s not initialized [CLICKHOUSE-3974]
2018-10-11 22:09:25 +03:00
alexey-milovidov
d385a1a6b8
Merge pull request #3352 from CurtizJ/CLICKHOUSE-4059
...
Fix incorrect number of iterations in clickhouse-benchmark [CLICKHOUSE-4059]
2018-10-11 22:07:46 +03:00
CurtizJ
3d15ae8eed
fix sigint receive
2018-10-11 21:25:05 +03:00
CurtizJ
d46fa0f37f
fix incorrect number of iterations
2018-10-11 21:12:28 +03:00
CurtizJ
1f71a97881
create client_info when it`s not initialized
2018-10-11 19:57:21 +03:00
alexey-milovidov
150be189ac
Merge pull request #3348 from 4ertus2/decimal
...
SummingMergeTree for Decimal128 [issue-3282]
2018-10-11 19:54:29 +03:00
Alexandr Krasheninnikov
41281ad397
Make compilation on-demand
2018-10-11 19:25:17 +03:00
alesapin
e68f9d2193
CLICKHOUSE-4055: LibraryDictionarySource -- set null_value from config for absent values
2018-10-11 18:21:12 +03:00
chertus
178b0d7fb9
rename test
2018-10-11 18:12:38 +03:00
chertus
5896e45dac
SummingMergeTree for Decimal128 [issue-3282]
2018-10-11 17:33:01 +03:00
CurtizJ
c565c75350
fix style
2018-10-11 12:27:16 +03:00
Alexey Milovidov
b8543bcd4d
Fixed non-deterministic test #3145
2018-10-11 07:40:41 +03:00
Marek Vavruša
0652302d9a
Common/MemoryTracker: fix metrics not being updated after MemoryTracker reset
...
The #3230 fixed a problem with memory accounting, but it introduces a regression
in which the memory tracker isn't reset until there are zero queries in process list.
This makes it difficult to see in tests as there's always just one query in-flight,
but in production it produces a sawtooth memory usage pattern that resets when
the allocated memory exceeds set memory limits and all queries are terminated.
2018-10-10 17:37:41 -07:00
robot-clickhouse
a0210d12b8
Auto version update to [18.14.6] [54409]
2018-10-11 01:25:18 +03:00
Alexey Milovidov
e3773c5d0c
Fixed code that was out of style #3145
2018-10-11 00:01:53 +03:00
Alexey Milovidov
55923011b5
Attempt to fix use-after-free, try 1 #3145
2018-10-10 23:44:50 +03:00
Alexey Milovidov
55bc2b812b
Miscellaneous #3145
2018-10-10 23:44:19 +03:00
Alexey Milovidov
75221c478a
Miscellaneous #3145
2018-10-10 23:37:01 +03:00
Alexey Milovidov
2c0ea27377
Miscellaneous #3145
2018-10-10 23:35:21 +03:00
Alexey Milovidov
5e50e6bfef
Fixed strange code #3145
2018-10-10 23:26:04 +03:00
alexey-milovidov
b9ecc4b819
Merge pull request #3340 from CurtizJ/issue-3253
...
Fix unnecessarily preparations for join at initial server [ISSUE-3253]
2018-10-10 23:04:13 +03:00
alexey-milovidov
5795b559c6
Merge pull request #3342 from 4ertus2/decimal
...
Confitional for Decimal (without arrays) [CLICKHOUSE-3765]
2018-10-10 23:00:17 +03:00
alexey-milovidov
297f9cec38
Merge pull request #3341 from yandex/fix-point-in-poligon
...
Fix point in poligon
2018-10-10 22:09:13 +03:00
chertus
aa9f17b8df
Merge branch 'master' into decimal
2018-10-10 21:39:57 +03:00
chertus
94c9a544f2
If for Decimal (basic support) [CLICKHOUSE-3765]
2018-10-10 21:37:54 +03:00
Vadim
517619d8c1
Update 00732_quorum_insert_zookeeper.sql
2018-10-10 20:49:42 +03:00
Nikolai Kochetov
8cc307ca47
Added test #2866
2018-10-10 20:41:26 +03:00
Vadim
6b2bfd2f4f
Update 00732_quorum_insert_zookeeper.sql
2018-10-10 20:35:34 +03:00
CurtizJ
16bea3d008
remove logs
2018-10-10 20:09:09 +03:00
CurtizJ
815380b8b2
fix unnecessarily preparations for join at initial server
2018-10-10 20:07:21 +03:00
Nikolai Kochetov
935030a94a
Fixed precision issue. Repaced foat with auto.
2018-10-10 19:35:09 +03:00
Vadim
25b100c1f0
Update StorageReplicatedMergeTree.cpp
2018-10-10 19:23:50 +03:00
chertus
1b7354f809
disable AST logging
2018-10-10 19:23:27 +03:00
Vadim
93992879bc
Update 00732_quorum_insert_zookeeper.sql
2018-10-10 19:22:06 +03:00
Vadim
8c5be3aa67
Update 00732_quorum_insert_zookeeper.reference
2018-10-10 19:21:46 +03:00
VadimPE
4db6eab5a3
ISSUES-2581 fix name
2018-10-10 19:20:15 +03:00
VadimPE
cc2686cdf1
ISSUES-2581 add tests
2018-10-10 19:13:14 +03:00
Alexey Zatelepin
d9a0432c6c
don't quote single-field partition keys #3109 [#CLICKHOUSE-4054]
2018-10-10 18:57:04 +03:00
alexey-milovidov
34bd8568b6
Merge pull request #3339 from liuyimin-bytedance/master
...
Issue 3269 Fix incorrect OR evaluation when multiples ORs are optimized to IN
2018-10-10 16:42:24 +03:00
alexey-milovidov
fe79529627
Update LogicalExpressionsOptimizer.cpp
2018-10-10 16:41:44 +03:00
liuyimin
019677c55b
Add fake range for tuple ASTFunction generated by Optimizer so that prepared set indexation works correctly
2018-10-10 21:31:18 +08:00
alexey-milovidov
4e6fd3e3fe
Merge pull request #3337 from VadimPE/CLICKHOUSE-3021
...
[CLICKHOUSE-3021] fix bug with unsupported value in CREATE TABLE
2018-10-10 16:23:17 +03:00
alexey-milovidov
2aa255f8b0
Update InterpreterCreateQuery.cpp
2018-10-10 16:23:06 +03:00
VadimPE
d4a56af660
ISSUES-2581 fix bug with new partition
2018-10-10 16:22:55 +03:00
Vadim
56bfc25d9a
Update InterpreterCreateQuery.cpp
2018-10-10 16:15:17 +03:00
Vadim
834267054e
Update InterpreterCreateQuery.cpp
2018-10-10 16:14:29 +03:00
VadimPE
779a178347
CLICKHOUSE-3021 fix bug with unsupported value in CREATE TABLE
2018-10-10 15:50:29 +03:00
alesapin
8591038748
Fix style and clang build
2018-10-10 11:38:54 +03:00
Alexey Milovidov
0b3a8cb489
Merge branch 'joins' of https://github.com/4ertus2/ClickHouse into 4ertus2-joins
2018-10-10 04:06:06 +03:00
Alexander Krasheninnikov
5ff30ebb3d
Initial implementation
2018-10-10 04:04:07 +03:00
alexey-milovidov
1472e3ae66
Merge pull request #3210 from alex-krash/jdbc-bridge
...
External database access unification (jdbc/odbc bridges)
2018-10-10 02:26:56 +03:00
alexey-milovidov
54e933f9dc
Update DictionarySourceFactory.cpp
2018-10-10 02:21:19 +03:00
alexey-milovidov
fe2c4e4102
Update getIdentifierQuote.cpp
2018-10-10 02:19:38 +03:00
alexey-milovidov
e91f8f0dd9
Merge pull request #3273 from vavrusa/master
...
PushingToViewsBlockOutputStream: add tests for parallel processing
2018-10-10 02:16:59 +03:00
alexey-milovidov
1dba31a313
Merge pull request #3332 from yandex/fix-performance-regression-while-parsing-jsoneachrow
...
Fix performance regression in parsing JSONEachRow format.
2018-10-10 02:09:22 +03:00
alexey-milovidov
a867009747
Merge pull request #3324 from 4ertus2/decimal
...
Decimal dictionaries support [CLICKHOUSE-4045]
2018-10-10 00:49:37 +03:00
robot-clickhouse
a21e50ac23
Auto version update to [18.14.5] [54409]
2018-10-10 00:44:21 +03:00
alexey-milovidov
ab198e77d1
Merge pull request #3329 from 4ertus2/master
...
get64 for Decimal32/64; remove allow_experimental_decimal_type [issue-3282]
2018-10-10 00:40:29 +03:00
Alexey Milovidov
7b24ad570c
Inline some functions #3223
2018-10-10 00:38:06 +03:00
Alexey Milovidov
681929cbda
Attempt to fix performance regression while parsing JSONEachRow #3223
2018-10-10 00:32:15 +03:00
Alexey Milovidov
c014168c5f
Attempt to fix performance regression while parsing JSONEachRow #3223
2018-10-10 00:21:52 +03:00
Alexey Milovidov
a432ff335e
Attempt to fix performance regression while parsing JSONEachRow #3223
2018-10-10 00:09:48 +03:00
alexey-milovidov
b7766333ab
Merge pull request #3330 from CurtizJ/CLICKHOUSE-4005
...
Interpret empty null_value in external dictionaries as type default value [ClLICKHOUSE-4005]
2018-10-09 23:44:18 +03:00
alexey-milovidov
33b4a502d6
Update test.py
2018-10-09 23:43:52 +03:00
Alexey Milovidov
798c3d2e4d
Merge remote-tracking branch 'origin/master' into fix-performance-regression-while-parsing-jsoneachrow
2018-10-09 23:42:21 +03:00
alexey-milovidov
caaa7ff98e
Merge pull request #3331 from yandex/fix-point-in-poligon
...
Fix point in poligon
2018-10-09 23:41:35 +03:00
alexey-milovidov
bc921c564a
Update 00500_point_in_polygon_bug_2.sql
2018-10-09 23:40:05 +03:00
alexey-milovidov
e25e19a071
Update 00500_point_in_polygon_bug_2.sql
2018-10-09 23:39:32 +03:00
robot-clickhouse
e10f7360d4
Auto version update to [18.14.4] [54409]
2018-10-09 22:49:13 +03:00
Alexey Milovidov
4a31c1c18a
Attempt to fix performance regression while parsing JSONEachRow #3223
2018-10-09 22:46:35 +03:00
Nikolai Kochetov
c506f04842
Added test. #3309
2018-10-09 22:40:21 +03:00
Nikolai Kochetov
1f348a09ca
Fix calcLinestringRotation angle. #3309
2018-10-09 22:38:37 +03:00
CurtizJ
de1e9caefb
add test
2018-10-09 22:00:09 +03:00
Alexey Milovidov
6ca67ce277
Updated test result #3257
2018-10-09 22:00:00 +03:00
Alexey Milovidov
94d8a78abf
Fixed test (now letter ё is really decomposed) #3257
2018-10-09 21:55:39 +03:00
Alexey Milovidov
89f3fd07f5
Fixed issue in test #3257
2018-10-09 21:53:35 +03:00
Alexey Milovidov
ccbe39b4d3
Merge branch 'master' of github.com:yandex/ClickHouse
2018-10-09 21:43:33 +03:00
Alexey Milovidov
eda0784feb
clickhouse-test: removed obsolete comment #3223
2018-10-09 21:43:23 +03:00
robot-clickhouse
bc162437fb
Auto version update to [18.14.3] [54409]
2018-10-09 21:29:01 +03:00
Alexey Milovidov
458b0f256a
Added test by Champtar #3223
2018-10-09 21:20:46 +03:00
Alexey Milovidov
9a50300e42
Minor modifications #3223
2018-10-09 21:14:30 +03:00
Alexey Milovidov
e4b4b5a4fc
Better diagnostic for JSONEachRow format #3223
2018-10-09 21:06:52 +03:00
alexey-milovidov
052fc2b674
Merge pull request #3223 from veloman-yunkan/jsoneachrow_bugfix
...
Fix for issue #3297
2018-10-09 21:05:51 +03:00
CurtizJ
5f2f1f589f
interpret empty null_value as default value
2018-10-09 20:43:25 +03:00
alesapin
32c6d0c699
Merge pull request #3182 from VadimPE/CLICKHOUSE-3947
...
CLICKHOUSE-3947 add LIKE and IN () for ODBC and MySQL
2018-10-09 20:12:32 +03:00
chertus
ee40c0cec9
undo changes from another pull request
2018-10-09 20:02:30 +03:00
chertus
c7bf0e77ea
add get64() for Decimal32 and Decimal64; remove allow_experimental_decimal_type setting [issue-3282]
2018-10-09 19:50:42 +03:00
Alexandr Krasheninnikov
27f288641e
Fix config reference, header inclusion and failed tests
2018-10-09 18:03:41 +03:00
chertus
b360fc895a
comment for TranslateQualifiedNamesVisitor [CLICKHOUSE-4001]
2018-10-09 17:41:19 +03:00
chertus
ec8d3b388d
move DumpASTNode to own file, style fixes [CLICKHOUSE-4001]
2018-10-09 17:32:11 +03:00
Alexey Milovidov
227ff8c606
Fixed comment [#CLICKHOUSE-2]
2018-10-09 17:30:05 +03:00
VadimPE
bcf8d5517e
CLICKHOUSE-3947 fix const
2018-10-09 17:21:19 +03:00
VadimPE
da712d0036
CLICKHOUSE-3947 fix copy-paste and const
2018-10-09 17:13:08 +03:00
chertus
20b733aaf0
Merge branch 'master' into joins
2018-10-09 13:47:01 +03:00
alesapin
9946154908
CLICKHOUSE-3943: Rename FLUSH SYSTEM TABLES query to FLUSH LOGS, better tests
2018-10-09 13:05:27 +03:00
chertus
f21c4c898e
Decimal dictionaries support [CLICKHOUSE-4045]
2018-10-08 22:45:17 +03:00
alesapin
9576c0e86d
Add flush system tables
2018-10-08 21:09:14 +03:00
alesapin
ee78e27fa8
Move test to sh
2018-10-08 19:58:44 +03:00
alesapin
8333f63e12
Add log_queries setting
2018-10-08 19:35:59 +03:00
alesapin
c7065b6bd8
CLICKHOUSE-3943: Add test for FileOpen metric
2018-10-08 18:55:55 +03:00
VadimPE
79b6b8476a
CLICKHOUSE-3947 add tests
2018-10-08 18:05:23 +03:00
Alexey Milovidov
64c7e357e8
Fixed error #3230
2018-10-08 08:30:03 +03:00
Alexey Milovidov
80faec76e8
Merge remote-tracking branch 'origin/master' into fix-memory-tracker
2018-10-08 00:09:18 +03:00
Alexey Milovidov
84b3ba3464
Improved test #3230
2018-10-07 23:47:03 +03:00
alexey-milovidov
469243b33b
Merge pull request #3306 from yandex/length-aliases
...
Added compatibility aliases for "length" and "lengthUTF8"
2018-10-07 23:26:57 +03:00
alexey-milovidov
36c3feea80
Merge pull request #3270 from yandex/left-join-right-keys-fix
...
Left join right keys fix
2018-10-07 23:26:40 +03:00
Alexey Milovidov
964a6e5771
Make function "concat" case insensitive for compatibility [#CLICKHOUSE-20]
2018-10-05 22:58:01 +03:00
Alexey Milovidov
9e1c51aca4
Added compatibility aliases for "length" and "lengthUTF8" [#CLICKHOUSE-20]
2018-10-05 22:52:42 +03:00
Alexey Milovidov
45af805ccb
Translated comments in test #3230
2018-10-05 22:45:01 +03:00
Alexey Milovidov
a66beb5ec1
Fixed error #3230
2018-10-05 22:29:49 +03:00
Alexey Milovidov
aed501e687
Translated comments in test #3230
2018-10-05 21:51:42 +03:00
Alexey Milovidov
5503822983
Merge branch 'master' into fix-memory-tracker
2018-10-05 18:15:50 +03:00
CurtizJ
5a01eb3d5e
add test
2018-10-05 17:35:35 +03:00
Nikolai Kochetov
064facd8de
Updated test.
2018-10-05 10:43:58 +03:00
Marek Vavruša
5d5c99ebee
Formats/CapnProtoRowInputStream: fix column mismatch in list of structures
...
The fields are lexicographically sorted to make traversal easier,
but their order must be preserved when collecting fields from structures.
For example, a list with a structure like `{b @0 :Text, a @1 :Text}` would
read `a` first despite being second, which would cause a mismatch.
2018-10-04 15:59:27 -07:00
alexey-milovidov
47dd173007
Merge pull request #3281 from 4ertus2/summap
...
sumMap for number-based types
2018-10-05 00:12:57 +03:00
alexey-milovidov
ba62a24926
Merge pull request #3283 from yandex/FileOpenFixes_CLICKHOUSE-3943_
...
File open fixes clickhouse 3943
2018-10-05 00:00:47 +03:00
alexey-milovidov
b9d1eb4154
Merge pull request #3298 from yandex/fix-prewhere-with-altered-columns
...
Fix prewhere with altered columns
2018-10-04 23:57:11 +03:00
alexey-milovidov
cf6f5b314c
Update 00726_materialized_view_concurrent.sql
2018-10-04 22:40:10 +03:00
Nikolai Kochetov
2f2c939446
Added tests.
2018-10-04 21:19:25 +03:00
Nikolai Kochetov
b1fa3fab9d
Fix prewhere whith final. #2827
2018-10-04 21:18:54 +03:00
CurtizJ
8c2060b48a
wip on finish sorting
2018-10-04 17:55:02 +03:00
Alexandr Krasheninnikov
d94b574644
Removing destructor
2018-10-04 16:19:08 +03:00
CurtizJ
dd9516a810
wip on finish sorting
2018-10-04 13:24:51 +03:00
alesapin
5a218a7363
CLICKHOUSE-3943: Change naming
2018-10-04 11:52:56 +03:00
Nikolai Kochetov
a6d0094835
Fix readnig missing column with prewhere. #2827
2018-10-04 10:51:06 +03:00
alesapin
252f9d0080
CLICKHOUSE-3943: Style
2018-10-03 20:12:38 +03:00
alesapin
441069fc5c
[WIP] CLICKHOUSE-3943: Store last_readed_mark in MergeTreeThreadBlockInputStream and don't recreate reader if it stopped in appropriate position
2018-10-03 20:10:23 +03:00
chertus
9c4c72cde5
fix test
2018-10-03 17:33:47 +03:00
chertus
5b987f02d7
sumMap for number-based types [issue-3277]
2018-10-03 17:22:28 +03:00
Alexandr Krasheninnikov
82200bc16a
Added error codes, bridge startup, fixed destructor in XDBC stuff
2018-10-03 15:10:57 +03:00
VadimPE
40350c47e1
CLICKHOUSE-3947 del unused result_string
2018-10-03 15:10:35 +03:00
VadimPE
8df97e32af
CLICKHOUSE-3947 fix bug with query.clone()
2018-10-03 15:03:39 +03:00
Alexandr Krasheninnikov
c7fee9374c
fix formatting errors according code review
2018-10-03 13:44:43 +03:00
VadimPE
4152c34fbb
CLICKHOUSE-4021 fix build
2018-10-03 13:08:02 +03:00
Marek Vavruša
575fa7f25a
PushingToViewsBlockOutputStream: add tests for parallel processing
...
This adds tests for a971a0bc07
2018-10-02 19:06:04 -07:00
Nikolai Kochetov
c4c14de02f
Join aliases and duplicating columns fixes.
...
Join aliases and duplicating columns fixes. [#CLICKHOUSE-3994] #3145
2018-10-02 21:17:39 +03:00
Nikolai Kochetov
c470cf1e26
Fix joined keys from right column with left join. [#CLICKHOUSE-3994]
2018-10-02 21:16:47 +03:00
alesapin
7d79192ad7
Merge pull request #3267 from yandex/CLICKHOUSE-4025
...
Fix join of unjoinable thread
2018-10-02 18:39:53 +03:00
alesapin
c9880ad9c0
Fix join of unjoinable thread
2018-10-02 16:38:28 +03:00
robot-clickhouse
e1817e4814
Auto version update to [18.14.2] [54409]
2018-10-02 16:25:47 +03:00
alexey-milovidov
147a2a13c2
Merge pull request #3257 from amosbird/master
...
Correct wcwidth computation for pretty outputs.
2018-10-02 16:23:41 +03:00
Amos Bird
7df73088ab
Correct wcwidth computation for pretty outputs.
2018-10-02 10:06:18 +08:00
Alexey Milovidov
78aaf537b1
Merge branch 'master' of github.com:yandex/ClickHouse
2018-10-02 00:50:18 +03:00
Alexey Milovidov
698be017e9
Changes after merge #3208
2018-10-02 00:49:56 +03:00
Sabyanin Maxim
8f7c2b5821
first try
2018-10-01 23:16:50 +03:00
alexey-milovidov
94b0432faa
Merge pull request #3262 from proller/fix17
...
Arcadia sync
2018-10-01 22:00:01 +03:00
alexey-milovidov
7c6b08c21c
Merge pull request #3251 from CurtizJ/table-db-macros
...
Support {database} and {table} macros in ReplicatedMergeTree [CLICKHOUSE-3897]
2018-10-01 21:45:52 +03:00
alexey-milovidov
6432cff455
Update Macros.h
2018-10-01 21:45:39 +03:00
luc1ph3r
bf09c2047a
Parquet data format: update CMake configurations
2018-10-01 19:44:55 +03:00
alesapin
6017be28f6
CLICKHOUSE-4007: Fix PerfTest substitution function
2018-10-01 19:30:12 +03:00
proller
ca03cd6606
Sync with arcadia
2018-10-01 18:43:48 +03:00
Vadim
0849e1e218
Update transformQueryForExternalDatabase.cpp
2018-10-01 17:06:36 +03:00
VadimPE
d0981b733d
CLICKHOUSE-3947 add recursive search for constant expressions
2018-10-01 16:27:39 +03:00
CurtizJ
ed77e40dfe
fix implicit macros
2018-10-01 12:01:50 +03:00
alexey-milovidov
a4736275c6
Merge pull request #3208 from vavrusa/master
...
PushingToViewsBlockOutputStream: process blocks concurrently
2018-10-01 04:42:55 +03:00
alexey-milovidov
c4939a1bec
Update PushingToViewsBlockOutputStream.cpp
2018-10-01 04:39:00 +03:00
alexey-milovidov
33578cb1b1
Merge pull request #3216 from vavrusa/capnproto-tuple-nested
...
Formats/CapnProtoRowInputStream: support Nested and Tuple, fix alignm…
2018-10-01 04:34:06 +03:00
alexey-milovidov
ff53aa4947
Update CapnProtoRowInputStream.cpp
2018-10-01 04:33:36 +03:00
alexey-milovidov
fac040c39a
Update CapnProtoRowInputStream.cpp
2018-10-01 04:31:48 +03:00
alexey-milovidov
fd04b2b89a
Merge pull request #3215 from vavrusa/fix-kafka-lockups
...
Storages/Kafka: fixed deadlocks, moved to background pool
2018-10-01 04:30:03 +03:00
alexey-milovidov
bb0f76dd25
Update StorageKafka.cpp
2018-10-01 04:29:17 +03:00
alexey-milovidov
b9e6b02719
Update StorageKafka.cpp
2018-10-01 04:26:52 +03:00
luc1ph3r
f1d21189a4
Parquet data format: refactoring
2018-09-30 22:02:42 +03:00
luc1ph3r
cf42b10c3b
Parquet output: support NULL values
2018-09-30 22:02:42 +03:00
zhang2014
6778220ffd
ISSUES-3232 remake interpreter_subquery when rewrite subqueries
2018-09-30 17:27:59 +08:00
Alexey Milovidov
e4ec8ffc49
Fixed test; tests that require server to listen something other than 127.0.0.1, must be tagged as "shard" in their names [#CLICKHOUSE-2]
2018-09-29 22:50:12 +03:00
Alexey Milovidov
85ca2006b0
Fixed bug in client (double whitespace) [#CLICKHOUSE-4038]
2018-09-29 22:33:23 +03:00
CurtizJ
d4de76346c
fix test
2018-09-29 16:12:53 +03:00
Alexey Milovidov
613061cee5
Fixed incompatibility when versions prior to 18.12.17 are used on remote servers and newer is used on initiating server, and GROUP BY both fixed and non-fixed keys, and when two-level group by method is activated [#CLICKHOUSE-4035]
2018-09-28 23:17:38 +03:00
CurtizJ
b7b7314ecb
remove redundant code
2018-09-28 22:13:16 +03:00
CurtizJ
e0d3aed0c4
remove redundant code
2018-09-28 22:10:16 +03:00
CurtizJ
99b4536b2a
add test
2018-09-28 22:07:29 +03:00
chertus
69b9c25801
Merge branch 'master' into joins
2018-09-28 20:09:05 +03:00
chertus
4c8112138c
Merge branch 'master' into joins
2018-09-28 20:02:25 +03:00
alexey-milovidov
a149233d99
Merge pull request #3246 from yandex/low-cardinality-fixes
...
Low cardinality fixes
2018-09-28 19:50:53 +03:00
alexey-milovidov
c409c186b3
Merge pull request #3249 from CurtizJ/fix-thread-group
...
Add test for #3247
2018-09-28 19:48:13 +03:00
CurtizJ
a4fac09073
update test
2018-09-28 19:43:41 +03:00
chertus
be3b845baf
add test for remote quantiles
2018-09-28 19:33:12 +03:00
CurtizJ
c2bec8b2c8
update test
2018-09-28 19:11:56 +03:00
CurtizJ
d0b2e58d61
add test
2018-09-28 19:05:58 +03:00
alexey-milovidov
c6ab6fa1a8
Merge pull request #3247 from CurtizJ/fix-thread-group
...
Fix distributed "CREATE TABLE AS SELECT" query.
2018-09-28 18:54:49 +03:00
Anton Popov
49438ed1a1
Update DDLWorker.cpp
2018-09-28 18:35:30 +03:00
CurtizJ
ed3c744055
fixes
2018-09-28 18:30:03 +03:00
chertus
292a885533
fix typo in quantiles func registration
2018-09-28 18:08:37 +03:00
chertus
59df909f87
more ast debug info
2018-09-28 18:01:13 +03:00
proller
ec11bef633
Build fixes ( #3181 )
2018-09-28 17:53:20 +03:00
CurtizJ
009c973312
remove redundant comment
2018-09-28 16:47:34 +03:00
CurtizJ
f9fb73ce2e
fix distributed "create table as select" query
2018-09-28 16:44:39 +03:00
chertus
593b3ae338
one more minor fix
2018-09-28 15:13:01 +03:00
robot-clickhouse
6f96dfc7da
Auto version update to [18.14.1] [54409]
2018-09-28 14:58:24 +03:00
alexey-milovidov
b84a499a93
Merge pull request #3231 from zhang2014/fix/ISSUES-3225
...
ISSUES-3225 fix alias conflict when predicate optimization
2018-09-28 14:46:54 +03:00
chertus
b4ea89e1f3
minor fix
2018-09-28 14:46:52 +03:00
chertus
669ab71502
rename files according to class name
2018-09-28 13:52:08 +03:00
Nikolai Kochetov
97add69825
Rename WithDictionary to LowCardinality.
2018-09-28 13:44:59 +03:00
Alexey Milovidov
138e70197e
Fixed comments and docs #3241
2018-09-28 06:42:08 +03:00
Alexey Milovidov
169dbfe200
Fixed discrepancy between default values of "log_queries" and "log_query_threads" settings [#CLICKHOUSE-4030]
2018-09-28 06:40:39 +03:00
Alexander Krasheninnikov
ceea4b9b33
New bridge interaction, quote identifier via api
2018-09-28 05:46:33 +03:00
chertus
57d2c9db60
AST debug stuff: DumpASTNode, TranslateQualifiedNamesVisitor, hide AST explain command [CLICKHOUSE-4001]
2018-09-27 22:25:18 +03:00
Alexandr Krasheninnikov
4b431264db
Implement quote getter from ODBC
2018-09-27 18:23:42 +03:00
Nikolai Kochetov
5a211b1ab7
More comments.
2018-09-27 18:16:47 +03:00
Nikolai Kochetov
65c8a00e51
Fix low cardinality functions result cache if function can't be executed on default arguments.
2018-09-27 17:45:35 +03:00
CurtizJ
90240cb64b
support database and table macros
2018-09-27 13:01:10 +03:00
chertus
041cef5968
explain ast [CLICKHOUSE-4001]
2018-09-27 12:47:21 +03:00
zhang2014
b35ab511cb
ISSUES-3225 fix alias conflict when predicate optimization
2018-09-27 14:29:38 +08:00
Marek Vavruša
a971a0bc07
PushingToViewsBlockOutputStream: process blocks concurrently
...
The current model is to process blocks for attached views in sequence.
This is not ideal when the processing time for each view varies, or is
blocking (for example with replicated tables), as processing of next-in-line
view is blocked by wait in it's predecessor.
This commit changes the behavior to process 2 or more attached views concurrently.
2018-09-26 15:22:06 -07:00
alexey-milovidov
03d85227d1
Merge pull request #3229 from yandex/fix-datetime-conversion-when-inserting-in-values-format
...
Fix conversion between Date and DateTime when inserting in VALUES format and "input_format_values_interpret_expressions" is true
2018-09-27 00:20:04 +03:00
Alexey Milovidov
30da8de1b6
Send log message about peak memory usage to client #3230
2018-09-27 00:19:49 +03:00
Alexey Milovidov
99927a3518
Returned logging peak memory usage in query scope #3230
2018-09-27 00:10:43 +03:00
Alexey Milovidov
0928acdf8a
Removed dead code #3230
2018-09-27 00:02:54 +03:00
Alexey Milovidov
b1b53a4019
Added test #3143
2018-09-26 23:49:44 +03:00
Alexey Milovidov
dd88c092b7
Attempt to fix inconsistent values in total memory tracker #3143
2018-09-26 23:45:40 +03:00
Alexey Milovidov
836c20b2d3
\Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-26 22:48:59 +03:00
Alexey Milovidov
721837efe9
Adapted test #3205
2018-09-26 22:48:47 +03:00
alexey-milovidov
28bd1e8eff
Merge pull request #3224 from 4ertus2/decimal
...
Supertypes for decimal and integers [issue-3218]
2018-09-26 22:47:10 +03:00
Alexey Milovidov
e90484db77
Fix conversion between Date and DateTime when inserting in VALUES format and "input_format_values_interpret_expressions" is true #3226
2018-09-26 22:43:10 +03:00
chertus
4442437396
minor fix
2018-09-26 18:34:53 +03:00
alexey-milovidov
b6e53d22e1
Merge pull request #3200 from yandex/low-cardinality-function-result-cache
...
Added cache for low cardinality function result.
2018-09-26 18:12:48 +03:00
alexey-milovidov
2471332dfc
Update IFunction.h
2018-09-26 18:02:56 +03:00
chertus
a564b05ec7
supertypes for decimal and ints [issue-3218]
2018-09-26 17:59:23 +03:00
alexey-milovidov
6374094f0c
Merge pull request #3202 from zhang2014/fix/ISSUES-3145
...
ISSUES-3145 support qualified asterisk
2018-09-26 17:41:01 +03:00
chertus
3ff2cfb4af
fix div by zero in decimal var/stddev
2018-09-26 15:38:36 +03:00
chertus
b48402e871
intDiv, intDivOrZero for decimal [issue-3221]
2018-09-26 15:12:45 +03:00
alexey-milovidov
60000481e4
Merge pull request #3219 from topvisor/add_biz_to_insignificant_second_level_domains
...
Update firstSignificantSubdomain function
2018-09-26 14:54:43 +03:00
Veloman Yunkan
3e96f32833
Fixed the bug introduced by PR#3144
...
The pre-existing optimization in the function
JSONEachRowRowInputStream::readColumnName() (that was extracted
during the refactoring step of PR#3144) imposed a restriction
on its usage - reading from the input stream might invalidate the return
value of that function, and this is what happenned in readJSONObject()
after the call to skipColonDelimiter().
One way of fixing the problem while preserving the original optimization
intact would be to defer the call to skipColonDelimiter() until the
variable name_ref was fully consumed, however that would result in worse
code (skipColonDelimiter() would need to be called in three different
places where it doesn't really belong).
Therefore I preferred to slightly weaken the optimization by always
copying the key name into the current_column_name data member.
2018-09-26 11:27:04 +00:00
chertus
69dd660919
fix crash on decimal division by zero [issue-3221]
2018-09-26 14:25:50 +03:00
decaseal
963988ddf2
Update firstSignificantSubdomain function
...
Add "biz" domain to list of "insignificant" second-level domains
2018-09-26 12:39:04 +03:00
Marek Vavruša
cbbcb6d9df
Formats/CapnProtoRowInputStream: support Nested and Tuple, fix alignment issues
...
This updated contrib/capnproto to a newer version that fixes problems with
unaligned access to message frames.
It also adds support for parsing Struct types as Tuple (named or unnamed),
and Nested array types.
The `struct X { a @0 :UInt64; b @1 :Text }` in Cap'nProto is equivalent to
`x Tuple(a UInt64, b String)` in ClickHouse.
Arrays of Struct types such as `y List(X)` are equivalent to `y Nested(a UInt64, b String)`.
2018-09-25 22:51:35 -07:00
Marek Vavruša
ea32434888
Storages/Kafka: fixed deadlocks, moved to background pool
...
This fixes two deadlocks in Kafka engine found previously:
* When exception is thrown before starting reading, consumer
was never returned to the storage. Now it is claimed only
when actually starting reading.
* Fixed lockup on deinitialization when consumer only unsubscribed,
but didn't close, and the endine then timeouted when waiting for
consumer destruction.
This also moves the stream thread to background worker pool.
The reason for that is that it will compete with other tasks for
time, so it will form a backpressure on insertion when the system
is busy.
2018-09-25 22:51:07 -07:00
Alexey Milovidov
33e4865240
Adjusted test #3205
2018-09-26 05:33:29 +03:00
Alexey Milovidov
57822ad592
Improvement #3205
2018-09-26 04:30:07 +03:00
Alexey Milovidov
042536177d
Merge branch 'master' into order-by-remerge
2018-09-26 04:24:35 +03:00
Alexey Milovidov
b11a84b895
Merge branch 'master' of github.com:yandex/ClickHouse into every_function_in_own_file_5
2018-09-26 03:36:20 +03:00
Alexey Milovidov
0e7caa05fa
Every function in its own file, part 5 [#CLICKHOUSE-2]
2018-09-26 03:32:38 +03:00
Alexey Milovidov
27b7654abc
Every function in its own file, part 5 [#CLICKHOUSE-2]
2018-09-26 03:31:40 +03:00
chertus
96ceca6c05
fix decimal to int, int to decimal convertion [issue-3177]
2018-09-25 19:03:50 +03:00
Alexandr Krasheninnikov
647d1041f1
Implement jdbc/idbc bridge connectors
2018-09-25 17:29:44 +03:00
Nikolai Kochetov
d526859011
Added cache for low cardinality function result. [#CLICKHOUSE-3904]
2018-09-25 16:48:52 +03:00
zhang2014
b887ec8e98
ISSUES-3145 support qualified asterisk
2018-09-25 10:42:51 +08:00
Alexander Krasheninnikov
fe8affa1cf
Initial
2018-09-25 03:21:20 +03:00
alexey-milovidov
002331be1b
Merge pull request #3204 from CurtizJ/CLICKHOUSE-3527
...
Better code in #3101 .
2018-09-25 00:28:11 +03:00
Alexey Milovidov
5cc8e802d5
Added test #3205
2018-09-25 00:02:40 +03:00
Alexey Milovidov
9fbde09725
Memory tracker: added watermark logging #3205
2018-09-24 23:57:10 +03:00
Alexey Milovidov
81e2fe14e5
Better messages #3205
2018-09-24 23:30:02 +03:00
Alexey Milovidov
8e7c6598e8
Added remerge step to process ORDER BY with LIMIT when memory usage is high #3179
2018-09-24 23:07:30 +03:00
Alexey Milovidov
17b8e20922
Failover for hosts with missing DNS records while connecting to ZooKeeper #3201
2018-09-24 22:09:12 +03:00
CurtizJ
d0ed96aa04
better code
2018-09-24 22:08:11 +03:00
Alexey Milovidov
73f68b5ee4
Miscellaneous [#CLICKHOUSE-2]
2018-09-24 21:44:09 +03:00
Alexey Milovidov
5f6328646a
utils/check-style/check-style -n #3101
2018-09-24 21:02:25 +03:00
alexey-milovidov
b6c7d71a03
Merge pull request #3101 from CurtizJ/CLICKHOUSE-3527
...
CLICKHOUSE-3527 Fix race while parallel ddl queries
2018-09-24 20:59:57 +03:00
robot-clickhouse
ca465cd20b
Auto version update to [18.14.0] [54409]
2018-09-24 20:52:21 +03:00
zhang2014
f3dcc2ef41
ISSUES-3145 support qualified asterisk
2018-09-24 23:28:18 +08:00
chertus
f09970ff70
add test for inner join [CLICKHOUSE-4001]
2018-09-24 16:55:26 +03:00
VadimPE
28102bc3b5
ISSUES-2581 get pointer to max_blocls
2018-09-24 12:53:28 +03:00
alexey-milovidov
4185351c8d
Merge pull request #3197 from yandex/fix_odbc_table_function
...
Fix odbc table function
2018-09-23 18:48:02 +03:00
alesapin
7c47644f7b
Reuse base class function
2018-09-23 12:16:16 +03:00
Alexey Milovidov
bb654ff307
Fixed trash #3195
2018-09-22 21:12:14 +03:00
Alexey Milovidov
b972742f9a
Fixed bad code; updated docs #3195
2018-09-22 21:07:27 +03:00
alexey-milovidov
76cb9ff873
Update Context.cpp
2018-09-22 18:22:54 +03:00
alesapin
2aee8a5814
Fix odbc table function
2018-09-22 17:58:03 +03:00
alexey-milovidov
65f7c390f0
Merge pull request #3159 from zhang2014/fix/ISSUES-3134
...
ISSUES-3134 fix merge and distributed engine query stage
2018-09-22 00:09:06 +03:00
alexey-milovidov
433e8cce26
Merge pull request #3194 from yandex/fix-replica-cyclic-fetch
...
Fix cyclical failed fetches when merges don't produce identical result
2018-09-21 23:05:40 +03:00
alexey-milovidov
babc145f5f
Merge pull request #3188 from yandex/fix_segfault_3151
...
Add isState for array function combinator
2018-09-21 22:30:15 +03:00
Alexey Zatelepin
9ee53caee0
add test [#CLICKHOUSE-2837]
2018-09-21 19:45:57 +03:00
Alexey Zatelepin
c2c12f22f7
try to immediately delete the part after checksums mismatch [#CLICKHOUSE-2837]
2018-09-21 19:07:21 +03:00
Vadim
8c413e3f1f
Update ReplicatedMergeTreeQuorumAddedParts.h
2018-09-21 18:20:31 +03:00
VadimPE
17aa0356e5
del include
2018-09-21 18:15:35 +03:00
VadimPE
33545a41b6
fix style. And del getMaxBlock...()
2018-09-21 18:07:43 +03:00
alesapin
2e1f4737f0
Add test
2018-09-21 17:49:27 +03:00
VadimPE
8b8697bc5d
Merge remote-tracking branch 'origin/master' into ISSUES-2581
2018-09-21 17:11:57 +03:00
Alexey Zatelepin
230a9fff2d
Write the columns list of the resulting part in the same order as all_columns [#CLICKHOUSE-13]
2018-09-21 15:40:34 +03:00
VadimPE
60653fc042
CLICKHOUSE-3947 fix style
2018-09-21 14:33:58 +03:00
proller
0047987333
CLICKHOUSE-3885: add partition_key alias ( #3166 )
...
* Allow run integration tests from ctest: cmake .. -DENABLE_TEST_INTEGRATION=1 && ninja && ctest -V -R integration
* CLICKHOUSE-3885: add partition_key alias
* fix
* Update ClusterCopier.cpp
* Better test
* fixing..
2018-09-21 13:46:58 +03:00
alexey-milovidov
b1eb66c03e
Merge branch 'master' into low-cardinality-fixes
2018-09-21 13:43:37 +03:00
alexey-milovidov
17d50ecef0
Merge pull request #3186 from CurtizJ/CLICKHOUSE-3979
...
Fix bug in Cube #3172
2018-09-21 13:38:46 +03:00
alexey-milovidov
4a54a1c310
Merge pull request #3138 from yandex/low-cardinality-group-by
...
Low cardinality group by
2018-09-21 13:38:20 +03:00
Nikolai Kochetov
3e742a6b55
Review fixes.
2018-09-21 12:49:43 +03:00
alesapin
4d29141957
Add isState for array function combinator
2018-09-21 12:37:09 +03:00
Nikolai Kochetov
94bb37f261
Fix low cardinality permutation.
2018-09-21 11:52:07 +03:00
CurtizJ
b355ac8e71
fix bug
2018-09-21 10:23:31 +03:00
zhang2014
e0e805b1f6
ISSUES-3134 fix merge and distributed engine query stage
2018-09-21 11:19:25 +08:00
zhang2014
8a8189c7e9
ISSUES-3134 fix merge and distributed engine query stage
2018-09-21 09:08:44 +08:00
zhang2014
80d83bb50f
ISSUES-3134 fix merge and distributed engine query stage
2018-09-21 09:08:44 +08:00
zhang2014
882125dd6d
ISSUES-3134 fix merge and distributed engine query stage
2018-09-21 09:08:44 +08:00
Alexey Milovidov
8bfdcc6464
Fix style [#CLICKHOUSE-2]
2018-09-20 23:57:06 +03:00
Alexey Milovidov
7d291142ec
Less dependencies [#CLICKHOUSE-2]
2018-09-20 23:51:21 +03:00
Alexey Milovidov
16dacff488
Fixed build [#CLICKHOUSE-2]
2018-09-20 23:50:58 +03:00
Alexey Milovidov
47934d1cce
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-20 23:21:37 +03:00
Alexey Milovidov
d95300eb7f
Less dependencies [#CLICKHOUSE-2]
2018-09-20 23:21:29 +03:00
alexey-milovidov
5d3027d4d0
Merge pull request #3171 from yandex/fix_segfault_on_incomplete_block
...
Reorder Squashing and adding default output stream in insert
2018-09-20 21:11:45 +03:00
alexey-milovidov
be77567e4f
Update AddingDefaultBlockOutputStream.cpp
2018-09-20 21:09:01 +03:00
alexey-milovidov
e74615f29e
Update AddingDefaultBlockOutputStream.cpp
2018-09-20 21:07:10 +03:00
alexey-milovidov
4a095d8433
Merge pull request #3172 from CurtizJ/CLICKHOUSE-3979
...
Add modificator CUBE [CLICKHOUSE-3979]
2018-09-20 21:04:56 +03:00
CurtizJ
a6841f5882
Merge remote-tracking branch 'origin/CLICKHOUSE-3979' into CLICKHOUSE-3979
2018-09-20 21:01:46 +03:00
alexey-milovidov
0d2c6dff24
Update Aggregator.h
2018-09-20 20:59:47 +03:00
CurtizJ
b89feb1572
replace bool by enum
2018-09-20 20:51:42 +03:00
alexey-milovidov
06b5c53335
Update TwoLevelHashTable.h
2018-09-20 20:44:10 +03:00
alexey-milovidov
a52de29fbf
Update ColumnWithDictionary.h
2018-09-20 20:41:54 +03:00
alexey-milovidov
a2d8ee1caa
Merge pull request #3183 from 4ertus2/refactoring
...
refactoring: hide ASTIdentifier kind
2018-09-20 20:38:06 +03:00
Nikolai Kochetov
ce8329d802
Fix test with names tuples.
2018-09-20 20:36:16 +03:00
alexey-milovidov
f558d5b2df
Update 00720_with_cube.sql
2018-09-20 20:35:54 +03:00
alexey-milovidov
7a9500a3f1
Update InterpreterSelectQuery.cpp
2018-09-20 20:33:47 +03:00
Anton Popov
dd1b130048
Update CubeBlockInputStream.cpp
2018-09-20 20:32:57 +03:00
alexey-milovidov
cdcb301937
Merge pull request #3176 from yandex/format-date-time-further-attempts
...
Performance improvement of formatDateTime.
2018-09-20 20:29:22 +03:00
CurtizJ
5f2db689dc
fix tests
2018-09-20 19:32:07 +03:00
CurtizJ
8644853558
optimize
2018-09-20 18:46:37 +03:00
alesapin
94287f3199
Finally fixed
2018-09-20 18:35:52 +03:00
Alexey Milovidov
3eb183f21e
Fixed build; better #3176
2018-09-20 17:46:31 +03:00
VadimPE
3547334ba5
fix
2018-09-20 17:39:02 +03:00
VadimPE
e93f56bb50
fix
2018-09-20 17:37:55 +03:00
VadimPE
c377389f62
CLICKHOUSE-3947 add LIKE and IN ()
2018-09-20 17:34:30 +03:00
Nikolai Kochetov
673acbdf94
Added more comments.
2018-09-20 17:19:12 +03:00
Alexey Zatelepin
0ec0a24bc9
fix use of temp variable after it gets out of scope
2018-09-20 16:55:22 +03:00
Nikolai Kochetov
d8a9525cf9
Added test with low acrdinality and array functions. #3004
2018-09-20 16:53:29 +03:00
alesapin
c13ffed085
Remove redundant changes
2018-09-20 16:26:32 +03:00
Nikolai Kochetov
d66527ec15
Fix functions with Array(LowCardinality) arguments. #3004
2018-09-20 16:16:30 +03:00
chertus
6442b5b167
refactoring: hide ASTIdentifier kind
2018-09-20 16:13:33 +03:00
alesapin
0f12e028a5
Fix insert for native format
2018-09-20 15:59:33 +03:00
alesapin
dfa3e7e1cd
Missed changes
2018-09-20 14:40:04 +03:00
alesapin
b87a084f38
Strict order of evaluated and added columns
2018-09-20 14:16:15 +03:00
Nikolai Kochetov
19d00cde7e
Added test for low cardinality with in function. #3004
2018-09-20 13:57:52 +03:00
Nikolai Kochetov
d2fbc3df58
Fix in function for low cardinality argument. #3004
2018-09-20 13:55:10 +03:00
CurtizJ
f9ff586415
optimize
2018-09-20 13:44:13 +03:00
Nikolai Kochetov
5e4c5dd1c9
Fix functions on low cardinality with cons tesult.
2018-09-20 11:32:33 +03:00
Alexey Milovidov
2878f39e1e
Added performance tests #3176
2018-09-19 23:48:25 +03:00
Alexey Milovidov
200860724e
More tests #3176
2018-09-19 23:36:32 +03:00
Alexey Milovidov
2236435ed8
Added comment #2770
2018-09-19 23:23:33 +03:00
Alexey Milovidov
68a4ad0034
Added comment #2770
2018-09-19 23:22:58 +03:00
Alexey Milovidov
b396818632
Added comment #2770
2018-09-19 23:20:39 +03:00
Alexey Milovidov
44de6a0317
Improved performance 1.5..1.8 times #2770
2018-09-19 23:07:46 +03:00
alesapin
cf195ed832
Fix test
2018-09-19 20:52:09 +03:00
alesapin
2b3e29f607
Take header from first block in Squashing stream
2018-09-19 20:39:04 +03:00
VadimPE
89d408224b
fix bug with part_name
2018-09-19 18:07:20 +03:00
VadimPE
2396b44519
fix
2018-09-19 17:44:30 +03:00
Nikolai Kochetov
bb570fa1a8
Fix low cardinality serialization test reference.
2018-09-19 17:43:12 +03:00
Nikolai Kochetov
2df05cf620
Fix native deserealization for nullable low cardinality.
2018-09-19 17:43:07 +03:00
Nikolai Kochetov
b93ea8e7cc
Fixed default value index for LowCardinality(Nullable).
2018-09-19 17:42:59 +03:00
VadimPE
66b4a606d5
fix bug with add new partition in quorum
2018-09-19 17:34:41 +03:00
Alexey Zatelepin
b7cb8d1ae1
write correct columns list when UPDATEd part doesn't contain all columns [#CLICKHOUSE-13]
2018-09-19 16:04:52 +03:00
alesapin
e1c8045055
Fix error with header
2018-09-19 15:56:56 +03:00
alesapin
bb4be0515b
Add test for segfault
2018-09-19 15:18:10 +03:00
chertus
f39d78b0bc
AVG() exception instead of division by zero
2018-09-19 15:11:21 +03:00
CurtizJ
fe0bdbe42c
fix test
2018-09-19 15:07:55 +03:00
CurtizJ
31bf960bfe
add new syntax
2018-09-19 14:18:38 +03:00
Nikolai Kochetov
79e3ae2f75
Fix cast Null to LowCardinality(Nullable). #3066
2018-09-19 14:11:52 +03:00
VadimPE
f05d93897b
Del old class
2018-09-19 14:10:56 +03:00
alesapin
520446df53
Reorder Squashing and adding default output stream in insert
2018-09-19 14:09:12 +03:00
VadimPE
17ffa8c310
fix class for added parts
2018-09-19 14:08:04 +03:00
alesapin
c2f3453fda
Reorder Squashing and adding default output stream in insert
2018-09-19 14:06:42 +03:00
Nikolai Kochetov
926dfa82f3
Added test for low cardinality alter add column. #3066
2018-09-19 14:05:21 +03:00
Alexey Zatelepin
badefe14bc
allow ON CLUSTER for ALTER UPDATE #3158
2018-09-19 14:01:09 +03:00
Nikolai Kochetov
1c611e2ad5
Fix low cardinality column deserialization from empty stream. #3114
2018-09-19 13:27:46 +03:00
VadimPE
96b117cb00
Revert "Update ReplicatedMergeTreeQuorumWriter.h"
...
This reverts commit e3add7f0c7
.
2018-09-19 13:23:52 +03:00
CurtizJ
8f7daa75d1
update comments
2018-09-19 12:34:07 +03:00
alexey-milovidov
5ac1c763b1
Merge pull request #3165 from yandex/fix-prewhere-from-storage-merge-over-distributed
...
Fix reading from merge over distributed with prewhere.
2018-09-19 00:10:34 +03:00
Alexey Milovidov
2b74fd8a01
Style #2770
2018-09-18 22:44:15 +03:00
Alexey Milovidov
ead7baa805
Little better #2770
2018-09-18 22:41:42 +03:00
Alexey Milovidov
7b1da2cd73
Improved performance two times #2770
2018-09-18 22:29:29 +03:00
Nikolai Kochetov
501940fa7e
Fix reading from merge over distributed with prewhere.
2018-09-18 22:01:29 +03:00
Alexey Milovidov
9ff5f28de4
Little better #2770
2018-09-18 21:58:05 +03:00
Alexey Milovidov
765b85e021
utils/check-style/check-style -n
2018-09-18 21:52:31 +03:00
Alexey Milovidov
dc7963a957
Merge branch 'alex-krash-function_format_date'
2018-09-18 21:51:14 +03:00
CurtizJ
e4c1ca91c1
update tests
2018-09-18 21:41:54 +03:00
Alexey Milovidov
41bde049ab
Merge remote-tracking branch 'origin/master' into alex-krash-function_format_date
2018-09-18 21:39:02 +03:00
alexey-milovidov
282e9aea45
Merge pull request #3161 from 4ertus2/refactoring
...
Some refactoring - DataTypeWithSimpleSerialization helper class
2018-09-18 21:37:30 +03:00
Anton Popov
f550b21a8f
Merge branch 'master' into CLICKHOUSE-3527
2018-09-18 21:35:54 +03:00
CurtizJ
3177f3f6a9
update ddl guard
2018-09-18 21:33:15 +03:00
Alexey Milovidov
b8cbedee27
Merging #2770
2018-09-18 21:31:43 +03:00
Alexey Milovidov
ac73431451
Formatting; fixed error; fixed memory leak; miscellaneous #2770
2018-09-18 19:42:25 +03:00
chertus
0300256a07
add comment
2018-09-18 19:29:44 +03:00
Alexey Milovidov
dde8ca03cf
Merge branch 'function_format_date' of https://github.com/alex-krash/ClickHouse into alex-krash-function_format_date
2018-09-18 19:19:29 +03:00
Alexey Milovidov
a918461216
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-18 19:17:36 +03:00
alexey-milovidov
67d559f3ef
Merge pull request #3163 from Bloxy-info/fix-negative-cumsum
...
fix arrayCumSumNonNegative that it does not accumulative negative values
2018-09-18 19:15:15 +03:00
alexey-milovidov
00dbf64176
Update arrayCumSumNonNegative.cpp
2018-09-18 19:14:01 +03:00
Alexey Milovidov
65f074715b
Miscellaneous #3123
2018-09-18 19:12:23 +03:00
chertus
ba2f1a17b2
refactoring: class DataTypeWithSimpleSerialization [CLICKHOUSE-2]
2018-09-18 16:31:51 +03:00
chertus
fee5f24326
test for decimal + column defaults [CLICKHOUSE-3765]
2018-09-18 15:08:54 +03:00
daoready
889d5139ef
fix arrayCumSumNonNegative that it does not accumulative negative values
2018-09-18 14:55:14 +03:00
Alexander Krasheninnikov
64533ff4df
Add support for Date, filled documentation
2018-09-18 03:32:24 +03:00
Alexey Milovidov
599ec4c577
Merge branch 'veloman-yunkan-jsoneachrow_import_nested'
2018-09-17 23:36:01 +03:00
Alexey Milovidov
46ef387ce3
Style #3144
2018-09-17 23:35:21 +03:00
Alexey Milovidov
8852660b24
Merge branch 'jsoneachrow_import_nested' of https://github.com/veloman-yunkan/ClickHouse into veloman-yunkan-jsoneachrow_import_nested
2018-09-17 23:26:43 +03:00
alexey-milovidov
006119b81d
Merge pull request #3155 from yandex/fix-float-parsing-with-custom-csv-delimiter
...
Fix float parsing with custom csv delimiter
2018-09-17 22:39:45 +03:00
CurtizJ
43951e4879
add test
2018-09-17 22:16:51 +03:00
alexey-milovidov
c275764647
Merge pull request #3124 from yandex/CLICKHOUSE-3800
...
CLICKHOUSE-3800: Enable compilation to llvm by default
2018-09-17 21:50:45 +03:00
alexey-milovidov
ded83c215c
Merge pull request #3150 from splichy/fix-storage-kafka-arg-schema
...
Fix Storage Kafka: Schema positional argument number
2018-09-17 21:49:48 +03:00
alexey-milovidov
c6f90523de
Merge pull request #3153 from 4ertus2/decimal
...
E-notation for decimal input [issue-3135]
2018-09-17 21:49:00 +03:00
alexey-milovidov
4bcc2f3600
Merge pull request #3154 from yandex/fix-hash-ranged-storage-dictionary
...
Fix hash ranged storage dictionary
2018-09-17 21:47:56 +03:00
Alexey Milovidov
c96464ca8e
Added test #3142
2018-09-17 21:22:56 +03:00
Alexey Milovidov
c00147f37d
Fixed parsing of floats in CSV file with custom delimiter #3142
2018-09-17 21:17:30 +03:00
Alexey Milovidov
8ba2ec9365
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-17 21:13:00 +03:00
Alexey Milovidov
20326bdcda
Added comment #3142
2018-09-17 21:12:50 +03:00
Nikolai Kochetov
e0521b1abd
Fix range boundaries for RangeHashed dictionary.
2018-09-17 21:06:01 +03:00
CurtizJ
8c9fe80d2d
add modificator cube
2018-09-17 21:01:04 +03:00
chertus
7db097a49a
support e-notation for decimal input [issue-3135]
2018-09-17 20:07:38 +03:00
Alexandr Krasheninnikov
ff9ff462fc
Add tests
2018-09-17 20:02:12 +03:00
alexey-milovidov
13779bc75d
Merge pull request #3152 from zhang2014/fix/ISSUES-3149
...
ISSUES-3149 fix incorrectly masks rows in views
2018-09-17 18:57:47 +03:00
Nikolai Kochetov
2547fa6c88
Fix BlockInputStream for RangeHashed dictionary.
2018-09-17 18:51:10 +03:00
Alexey Milovidov
8218cf3a5f
ZooKeeper: retry with different node in case when ZK server closed connection in response for our handshake [#CLICKHOUSE-3987]
2018-09-17 18:49:08 +03:00
Alexey Milovidov
2963e056ef
Whitespaces [#CLICKHOUSE-3800]
2018-09-17 18:34:43 +03:00
zhang2014
745696b888
ISSUES-3149 fix incorrectly masks rows in views
2018-09-17 23:30:15 +08:00
alexey-milovidov
c62b640595
Merge pull request #3147 from VadimPE/CLICKHOUSE-3993
...
CLICKHOUSE-3993 add default type of JOIN in query
2018-09-17 16:33:48 +03:00
alexey-milovidov
3568087358
Update ParserTablesInSelectQuery.cpp
2018-09-17 16:33:19 +03:00
Vadim
e3add7f0c7
Update ReplicatedMergeTreeQuorumWriter.h
2018-09-17 16:05:20 +03:00
Vadim
3fabac31f6
Update ReplicatedMergeTreeQuorumWriter.h
2018-09-17 16:02:30 +03:00
Vadim
3b155638a0
Update ReplicatedMergeTreeQuorumWriter.h
2018-09-17 15:54:20 +03:00
Vadim
df9a01585a
Update ReplicatedMergeTreeQuorumWriter.h
2018-09-17 15:51:42 +03:00
Nikolai Kochetov
e84c64dae4
Fix build
2018-09-17 15:47:06 +03:00
Vadim
4dee095b9d
Update MergeTreeDataSelectExecutor.cpp
2018-09-17 15:43:14 +03:00
Vadim
204e1d437f
Merge branch 'master' into ISSUES-2581
2018-09-17 15:30:08 +03:00
VadimPE
5defbadb4a
Add new class for write new parts
2018-09-17 15:28:29 +03:00
Alexandr Krasheninnikov
a4c616cbc9
Merge https://github.com/yandex/ClickHouse into function_format_date
2018-09-17 15:03:16 +03:00
Alexandr Krasheninnikov
e3d76c3778
Started to work
2018-09-17 15:03:06 +03:00
Vojtech Splichal
5aca7f3c6e
Fix Storage Kafka: Schema positional argument number
...
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
2018-09-17 13:01:10 +02:00
Nikolai Kochetov
5b8cfc8e35
Fixed test.
2018-09-17 13:53:49 +03:00
Nikolai Kochetov
a2eb72c64a
Fixed ColumnWithDictionary::getPermutation(). [#CLICKHOUSE-3903]
2018-09-17 12:51:47 +03:00
VadimPE
acf34e29ad
CLICKHOUSE-3993 add tests
2018-09-17 11:39:26 +03:00
VadimPE
a2dac6e236
CLICKHOUSE-3993 add default type of JOIN
2018-09-17 11:20:46 +03:00
robot-clickhouse
9148adb717
Auto version update to [18.13.0] [54408]
2018-09-17 09:05:31 +03:00
Alexey Milovidov
7f27f0e4ca
Fixed build #3146
2018-09-17 06:44:29 +03:00
Alexey Milovidov
01cffc1382
Added test [#CLICKHOUSE-3988]
2018-09-17 06:24:39 +03:00
Alexey Milovidov
5e3b507bd6
Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988]
2018-09-17 06:09:56 +03:00
Alexey Milovidov
55bc0bb46b
Added function "toDayOfYear" [#CLICKHOUSE-3716]
2018-09-17 04:27:34 +03:00
Alexey Milovidov
4cf73d607c
Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988]
2018-09-17 03:42:39 +03:00
Veloman Yunkan
f51d791b68
Fixed the 00715_json_each_row_input_nested test
2018-09-16 14:42:35 +00:00
robot-clickhouse
9dd4a5c727
Auto version update to [18.12.17] [54407]
2018-09-16 05:24:57 +03:00
alexey-milovidov
13406d876c
Merge pull request #3130 from yandex/fix-dependency-on-new-libc
...
Fix dependency on too new libc
2018-09-16 05:24:09 +03:00
Alexey Milovidov
767db1bc30
Revert "Auto version update to [18.12.16] [54407]"
...
This reverts commit 3e6d6bbb6c
.
2018-09-16 05:23:48 +03:00
Alexey Milovidov
a9824de575
Miscellaneous (avoid valgrind's "Syscall param socketcall.sendto(msg) points to uninitialised byte(s)") [#CLICKHOUSE-3989]
2018-09-16 03:25:25 +03:00
Alexey Milovidov
7d6ec29c5c
Fixed tests in Travis (order of destruction of thread-local variables of the main thread vs. static variables) [#CLICKHOUSE-3989]
2018-09-16 03:14:55 +03:00
Alexey Milovidov
01435a2c5d
Fixed error in documentation for setting "send_logs_level" #3136
2018-09-15 00:53:03 +03:00
proller
d752d5d62d
Prepare to new poco, build fixes ( #3072 )
...
* WIp
* fix
* fix
* test
* fix poco netssl find
* clean
* fixes
* wip
* wip
* new poco
* fixes
* Fixes
* wip
* clean
* clean
* clean
* clean
* Update HTTPHandlerFactory.h
2018-09-14 22:48:51 +03:00
Alexey Milovidov
cc393f130e
Minor modifications #3123
2018-09-14 22:23:03 +03:00
Alexey Milovidov
5dfc311075
Fixed build #3123
2018-09-14 22:15:11 +03:00
Alexey Milovidov
6688f01cf0
./utils/check-style/check-style -n #3123
2018-09-14 22:11:48 +03:00
alexey-milovidov
a26e6935da
Merge pull request #3123 from Enmk/Issue_2093_Support_arbitrary_type_for_ranges_in_range_hashed_dictionary
...
Added support of int-based types: Int\UInt(8,16,32), Date, DateTime f…
2018-09-14 22:10:13 +03:00
alexey-milovidov
f64dbda13a
Update FunctionsExternalDictionaries.h
2018-09-14 22:04:53 +03:00
alexey-milovidov
f27a712b7e
Update FunctionsExternalDictionaries.h
2018-09-14 22:02:40 +03:00
alexey-milovidov
93a269d7af
Update FunctionsExternalDictionaries.h
2018-09-14 21:55:12 +03:00
alexey-milovidov
67d6ce4f41
Update FunctionsExternalDictionaries.h
2018-09-14 21:51:18 +03:00
alexey-milovidov
09b1cafe76
Update RangeHashedDictionary.cpp
2018-09-14 21:44:59 +03:00
Karl Pietrzak
c44398212d
WIP: basic rate() function
2018-09-14 14:30:31 -04:00
alexey-milovidov
be51dccbb7
Merge pull request #3126 from VadimPE/CLICKHOUSE-3476
...
[CLICKHOUSE-3476] add invalidate_query for ClickHouse in Dictionary
2018-09-14 21:18:09 +03:00
alexey-milovidov
f6d048d4f6
Update ClickHouseDictionarySource.cpp
2018-09-14 21:14:17 +03:00
alexey-milovidov
685560134a
Merge pull request #3129 from 4ertus2/decimal
...
var, stddev and math functions for decimal [CLICKHOUSE-3765]
2018-09-14 21:12:37 +03:00
alexey-milovidov
bf53c4a31d
Merge pull request #3134 from zhang2014/fix/ISSUES-3110
...
ISSUES-3110 fix merge and distributed engine query stage
2018-09-14 21:10:16 +03:00
Nikolai Kochetov
936b4789bd
Added more tests with low cardinality type.
2018-09-14 21:01:11 +03:00
Nikolai Kochetov
e2e31751e9
Support low cardinality columns in aggregation method with fixed keys. [#CLICKHOUSE-3903]
2018-09-14 20:14:31 +03:00
chertus
57260bbd6a
math funcs for decimal (Float64 inside) [CLICKHOUSE-3765]
2018-09-14 17:40:51 +03:00
Veloman Yunkan
5fe127e4c3
Added --input_format_import_nested_json option
...
By default mapping of nested json data to nested tables is disabled. To
enable the import of nested json data (into corresponding nested tables)
clickhouse must be run with the --input_format_import_nested_json=1
option.
2018-09-14 13:43:57 +00:00
Vasily Nemkov
dbcbce6fe4
More tests for range edge cases and for querying out of range;
...
Minor cleanup: removed extra header file.
2018-09-14 16:42:57 +03:00
Veloman Yunkan
47eb0e28b3
Nested JSON data is mapped to nested table data
2018-09-14 12:15:32 +00:00
Veloman Yunkan
8d427dd09d
Extracted JSONEachRowRowInputStream::readJSONObject
...
Also changed the names of previously extracted functions to camel case.
2018-09-14 10:47:26 +00:00
zhang2014
7a87da78d7
ISSUES-3110 fix merge and distributed engine query stage
2018-09-14 18:16:27 +08:00
chertus
0740804ce7
fix build
2018-09-14 13:15:56 +03:00
alesapin
d8a2b063dc
CLICKHOUSE-3800: More convinient names for functions, comments and new profile event.
2018-09-14 13:08:38 +03:00
alesapin
fc3153e64c
CLICKHOUSE-3800: Fix rare race condition
2018-09-14 13:08:38 +03:00
alesapin
0bd32876e9
Initialize compilation_cache pointer in ALL constructors
2018-09-14 13:08:38 +03:00
alesapin
a3bc82c745
CLICKHOUSE-3800: Fix segfault
2018-09-14 13:08:38 +03:00
alesapin
3989a06000
CLICKHOUSE-3800: Enable compilation to llvm by default
2018-09-14 13:08:38 +03:00
Nikolai Kochetov
16ed282dfc
Fix build.
2018-09-14 12:42:38 +03:00
VadimPE
38fef408c8
Merge branch 'CLICKHOUSE-3476' of https://github.com/VadimPE/ClickHouse into CLICKHOUSE-3476
2018-09-14 12:34:16 +03:00
VadimPE
62726d53d4
CLICKHOUSE-3476 fix
2018-09-14 12:33:11 +03:00
Nikolai Kochetov
3dc5cd3a3a
Merged with master.
2018-09-14 12:14:37 +03:00
Veloman Yunkan
446df4342e
Testing of JSONEachRow input of Nested data
...
The new test demonstrates current handling of flat JSON data corresponding
to nested columns.
2018-09-14 09:12:56 +00:00
Alexandr Krasheninnikov
b9e35c50a6
Merge github.com:yandex/ClickHouse into function_format_date
2018-09-14 11:42:32 +03:00
Veloman Yunkan
4cf2cd9586
Some more refactoring
2018-09-14 08:27:49 +00:00
Nikolai Kochetov
12ec9caaf5
Added comments.
2018-09-14 11:04:19 +03:00
Nikolai Kochetov
4674beb900
Shared cache for low cradinality single aggregation column. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
df71c47840
Added dictionary hash for low cardinality column. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
94bfe50f52
Cache saved hash for low cardinality aggregate method. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
2eb35dd6ef
Cache AggregateDataPtr for single low cardinality column. [#CLICKHOUSE-3903]
2018-09-14 11:04:09 +03:00
Nikolai Kochetov
787e814e4c
Low cardinality group by signle column. [#CLICKHOUSE-3903]
2018-09-14 11:03:02 +03:00
Veloman Yunkan
270f13fe99
Some refactoring
2018-09-14 07:28:49 +00:00
robot-clickhouse
3e6d6bbb6c
Auto version update to [18.12.16] [54407]
2018-09-14 06:23:40 +03:00
robot-clickhouse
182ec7d3e4
Auto version update to [18.12.15] [54407]
2018-09-14 06:21:25 +03:00
alexey-milovidov
92b2cc6625
Merge pull request #3107 from zhang2014/fix/ISSUES-3105
...
ISSUES-3105 fix some bugs in the predicate optimizer
2018-09-13 22:19:11 +03:00
alexey-milovidov
b824652992
Update DictionarySourceFactory.cpp
2018-09-13 21:58:12 +03:00
alexey-milovidov
3a4582baef
Merge pull request #3125 from amosbird/self
...
Simply Self.
2018-09-13 21:56:10 +03:00
alexey-milovidov
dcfe84b5fd
Merge pull request #3128 from VadimPE/part_id_in_log
...
Add partition_id in part_log
2018-09-13 21:52:52 +03:00
Alexey Milovidov
a56413884d
Added clarification [#CLICKHOUSE-3]
2018-09-13 21:45:14 +03:00
chertus
7adf8d29cf
var/stddev for decimal [CLICKHOUSE-3765]
2018-09-13 21:36:47 +03:00
VadimPE
f544564df6
Add documentation
2018-09-13 18:57:51 +03:00
Vadim
8d1edbc019
Update ClickHouseDictionarySource.cpp
2018-09-13 18:20:40 +03:00
Vasily Nemkov
99560e06f8
Added support of int-based types: Int\UInt(8,16,32), Date, DateTime for range_hashed dictionary.
...
Fixes #2093
Added type checks for .range_min and .range_max
Allowed nullable range values in dictionary source
Added test for range_hashed dictionaries
2018-09-13 18:19:55 +03:00
VadimPE
d04db2a211
CLICKHOUSE-3476 fix
2018-09-13 18:13:23 +03:00
Amos Bird
af369483a9
Simply Self.
...
> When the normal name of the template (i.e., the name from the enclosing scope, not the injected-class-name) is used, it always refers to the class template itself and not a specialization of the template
http://eel.is/c++draft/temp.local
2018-09-13 22:59:54 +08:00
zhang2014
3c4b34e94f
ISSUES-3105 turned on enable_optimize_predicate_expression
2018-09-13 21:53:08 +08:00
VadimPE
560e131493
fix bug with old version
2018-09-13 15:53:32 +03:00
VadimPE
7ed39aaca3
add partition_id
2018-09-13 15:48:46 +03:00
VadimPE
11955b550f
fix
2018-09-13 15:24:34 +03:00
zhang2014
25f79593a2
ISSUES-3105 fix some bugs in the predicate optimizer
2018-09-13 20:08:27 +08:00
alesapin
5c7f5229a1
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-13 14:38:31 +03:00
alesapin
ae718cf536
Fix integration test
2018-09-13 14:38:20 +03:00
robot-clickhouse
d894904d7f
Auto version update to [18.12.14] [54407]
2018-09-13 13:19:54 +03:00
alesapin
84cde3429b
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-13 13:12:40 +03:00
alesapin
c088574dca
Add test for odbc dictionary
2018-09-13 13:12:11 +03:00
CurtizJ
c1533f6176
Merge remote-tracking branch 'origin/CLICKHOUSE-3527' into CLICKHOUSE-3527
2018-09-13 13:01:56 +03:00
CurtizJ
eb60ffae92
more iterations in test
2018-09-13 12:48:22 +03:00
Alexey Milovidov
59f8313b83
utils/check-style/check-style
2018-09-13 06:34:58 +03:00
Alexey Milovidov
32e3da3f52
Merge #3035
2018-09-13 06:13:29 +03:00
alexey-milovidov
0223225a05
Merge pull request #3035 from yandex/alter-update
...
ALTER UPDATE
2018-09-13 06:03:35 +03:00
Alexey Milovidov
8aa4f8f5df
Fixed error [#CLICKHOUSE-2]
2018-09-13 05:55:32 +03:00
Alexey Milovidov
655b79f1af
Every function in its own file, part 4 [#CLICKHOUSE-2]
2018-09-13 04:59:51 +03:00
Alexey Milovidov
2b08c072d8
Removed dependency #3009
2018-09-13 04:26:12 +03:00
Alexey Milovidov
2d43715058
Fixed build (clang version 7.0.0 (trunk 334145) cannot eat this code) #3103
2018-09-13 04:22:22 +03:00
alexey-milovidov
295606ed37
Update createHardLink.cpp
2018-09-13 04:10:22 +03:00
alexey-milovidov
fd630179ec
Merge pull request #3103 from yandex/dont-fetch-unchanged-mutated-parts
...
Don't fetch parts not changed by mutations
2018-09-13 04:00:31 +03:00
Alexey Milovidov
f2879f819f
Fixed build #3009
2018-09-13 03:50:04 +03:00
alexey-milovidov
34f1998009
Merge pull request #3009 from yandex/astudnev-cum_sum_limit2
...
[FIX] Additional higher order functions to work with arrays
2018-09-13 03:17:41 +03:00
alexey-milovidov
3bad4cee5c
Merge pull request #3098 from zhang2014/fix/ISSUES-2560
...
ISSUES-2560 fix crash when create temporary with in clause
2018-09-13 03:09:29 +03:00
alexey-milovidov
77f41b8580
Merge pull request #3104 from CurtizJ/CLICKHOUSE-3034
...
CLICKHOUSE-3034 Add setting allow_ddl
2018-09-13 03:06:26 +03:00
alexey-milovidov
5998496790
Merge pull request #3116 from 4ertus2/decimal
...
Some aggregate functions for Decimal
2018-09-13 03:01:27 +03:00
alexey-milovidov
4af3df9433
Merge pull request #3117 from yandex/CLICKHOUSE-3970
...
ClickHouse 3970: Add setting min_merge_bytes_to_use_direct_io
2018-09-13 02:53:06 +03:00
alexey-milovidov
02ba818a70
Merge pull request #3118 from yandex/validate-sizes-of-nested
...
Validate sizes of arrays - elements of Nested data structures
2018-09-13 02:50:33 +03:00
Alexey Milovidov
727ef40a03
Fixed build [#CLICKHOUSE-3692]
2018-09-13 01:44:42 +03:00
alesapin
c7e073e954
Fix url in invalidate request
2018-09-13 00:34:48 +03:00
Alexey Milovidov
3293480a12
Validate sizes of arrays - elements of Nested data structures [#CLICKHOUSE-3692]
2018-09-13 00:08:55 +03:00
alesapin
a44290701d
Fix bug in ODBCDictionarySource, copy missed fields in copy constructor
2018-09-13 00:02:06 +03:00
alesapin
ca2334f992
Fix build
2018-09-12 22:57:14 +03:00
alesapin
17a8fb86dc
CLICKHOUSE-3970: Rename variable
2018-09-12 21:19:47 +03:00
chertus
45ec7e63aa
add static asserts for decimal [CLICKHOUSE-3765]
2018-09-12 20:50:51 +03:00
alesapin
c38e3e7890
CLICKHOUSE-3970: Add logging
2018-09-12 20:28:59 +03:00
alesapin
1664bec008
CLICKHOUSE-3970: Add setting for O_DIRECT for big merges
2018-09-12 20:19:52 +03:00
chertus
d301fcd004
decimal quantileExact [CLICKHOUSE-3765]
2018-09-12 19:36:13 +03:00
chertus
1c4825138a
decimal avg [CLICKHOUSE-3765]
2018-09-12 16:27:32 +03:00
alexey-milovidov
481d8f11f1
Merge pull request #3097 from zhang2014/fix/ISSUES-3059
...
ISSUES-3059 fix nullable type argument for aggregate function
2018-09-12 07:41:10 +03:00
alexey-milovidov
0751290dca
Merge pull request #3099 from VadimPE/CLICKHOUSE-3839
...
CLICKHOUSE-3839 add partition_id in system.merges
2018-09-12 07:38:43 +03:00
Alexey Milovidov
136d9d7b18
Added setting names for suggest [#CLICKHOUSE-2]
2018-09-12 04:03:58 +03:00
chertus
dd5c55df2c
decimal sum [CLICKHOUSE-3765]
2018-09-11 21:42:06 +03:00
Anton Popov
6214f6a559
Update InterpreterSetQuery.cpp
2018-09-11 21:41:53 +03:00
CurtizJ
c1ed0bb86a
add setting allow_ddl
2018-09-11 21:37:19 +03:00
Alexey Zatelepin
02a99145d6
add test for fetches of merged or mutated parts [#CLICKHOUSE-3937]
2018-09-11 19:41:01 +03:00
Alexey Zatelepin
6da58aedd8
don't fetch mutated part if we have local part with the same checksums [#CLICKHOUSE-3937]
2018-09-11 19:41:01 +03:00
Anton Popov
2194d4a109
Update InterpreterCreateQuery.cpp
2018-09-11 17:43:30 +03:00
Anton Popov
8ea2e558b5
Update Context.h
2018-09-11 17:39:01 +03:00
Anton Popov
5ce76ce12f
Update Context.cpp
2018-09-11 17:38:36 +03:00
CurtizJ
4ac59b471a
fix race while parallel create database
2018-09-11 17:33:06 +03:00
VadimPE
985f2f2704
CLICKHOUSE-3476 fix build
2018-09-11 15:48:18 +03:00
zhang2014
7af592d8e1
ISSUES-3059 fix nullable type argument for aggregate function
2018-09-11 19:33:14 +08:00
zhang2014
5834b42083
ISSUES-2560 fix crash when create temporary with in clause
2018-09-11 19:31:59 +08:00
VadimPE
dc629ad2cf
Merge branch 'CLICKHOUSE-3839' of https://github.com/VadimPE/ClickHouse into CLICKHOUSE-3839
2018-09-11 14:18:20 +03:00
VadimPE
5da1561e69
CLICKHOUSE-3839
2018-09-11 14:16:40 +03:00
VadimPE
bb7a353e9b
CLICKHOUSE-3476
2018-09-11 12:29:02 +03:00
alexey-milovidov
13c66e27c4
Merge pull request #3092 from 4ertus2/decimal
...
Decimal round functions [CLICKHOUSE-3765]
2018-09-10 22:37:05 +03:00
alexey-milovidov
548aee702f
Merge pull request #3095 from 4ertus2/refactoring
...
Refactoring: fewer type casts [CLICKHOUSE-2]
2018-09-10 22:36:42 +03:00
robot-clickhouse
5772699e9c
Auto version update to [18.12.13] [54407]
2018-09-10 22:07:26 +03:00
Alexey Milovidov
f16aa1964a
Better formatting of numbers in log message [#CLICKHOUSE-2]
2018-09-10 21:23:11 +03:00
chertus
bbb302826a
Merge branch 'master' into refactoring
2018-09-10 20:52:27 +03:00
chertus
c693a73385
hotfix (helpers refactoring)
2018-09-10 20:51:25 +03:00
robot-clickhouse
bd869be048
Auto version update to [18.12.12] [54407]
2018-09-10 20:27:51 +03:00
alexey-milovidov
4793e620be
Merge pull request #3093 from yandex/fix-columns-ordering
...
Fix columns ordering in MergeTreeRangeReader
2018-09-10 20:26:45 +03:00
chertus
3cf39258a4
fewer type casts [CLICKHOUSE-2]
2018-09-10 20:09:07 +03:00
Nikolai Kochetov
d7116dabfe
Added test with prewhere and missing column. [#CLICKHOUSE-3975]
2018-09-10 18:52:50 +03:00
Nikolai Kochetov
2ea009bddc
Fix columns ordering.
2018-09-10 18:28:03 +03:00
chertus
a89cbd0f88
countEqual test for Decimal [CLICKHOUSE-3765]
2018-09-10 17:46:26 +03:00
chertus
1ecb9fb271
fix build
2018-09-10 17:26:47 +03:00
alexey-milovidov
20d5ddd58c
Merge branch 'master' into alter-update
2018-09-10 17:17:10 +03:00
alexey-milovidov
3054e62e00
Merge pull request #3089 from VadimPE/CLICKHOUSE-3839
...
CLICKHOUSE-3839 add virtual column "_partition_id"
2018-09-10 17:16:21 +03:00
alexey-milovidov
31bb16e082
Update FunctionsRound.h
2018-09-10 17:13:03 +03:00
alexey-milovidov
b7de315747
Update FunctionsRound.h
2018-09-10 17:11:30 +03:00
chertus
9828813523
Decimal round functions [CLICKHOUSE-3765]
2018-09-10 16:52:18 +03:00
Alexey Milovidov
85e8c7920f
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-10 15:40:15 +03:00
Alexey Milovidov
772d609d86
Whitespace [#CLICKHOUSE-2]
2018-09-10 15:40:07 +03:00
Vadim
48420078e7
Update 00709_virtual_column_partition_id.reference
2018-09-10 14:12:29 +03:00
robot-clickhouse
fc00da194a
Auto version update to [18.12.11] [54407]
2018-09-10 13:44:17 +03:00
alexey-milovidov
1d28a9c510
Merge pull request #3090 from yandex/fix_prewhere_with_sampling_2
...
Fix prewhere with sampling 2
2018-09-10 13:43:07 +03:00
VadimPE
cc50e810fc
CLICKHOUSE-3839 add tests
2018-09-10 13:20:21 +03:00
Nikolai Kochetov
0f7b2ae748
Updated test with prewhere sampling. [#CLICKHOUSE-3972]
2018-09-10 13:14:09 +03:00
Nikolai Kochetov
1d62c9309c
Fix sampling with prewhere. [#CLICKHOUSE-3972]
2018-09-10 13:06:12 +03:00
VadimPE
10ab9587a2
CLICKHOUSE-3839 add virtual column _partition_id
2018-09-10 12:53:13 +03:00
chertus
6846d33b88
test UUID toString() convertion issue-3081
2018-09-10 11:48:39 +03:00
robot-clickhouse
b4e62da3a6
Auto version update to [18.12.10] [54407]
2018-09-10 07:40:13 +03:00
Alexey Milovidov
9e6b310c2b
Renamed test [#CLICKHOUSE-3888]
2018-09-10 07:12:03 +03:00
Alexey Milovidov
f798b29111
Added test [#CLICKHOUSE-3888]
2018-09-10 07:08:43 +03:00
Alexey Milovidov
c9b612de48
Attempt to fix CLICKHOUSE-3888 bug
2018-09-10 06:59:48 +03:00
Alexey Milovidov
c646f5649c
Every function in its own file, part 3
2018-09-10 05:36:33 +03:00
Alexey Milovidov
ab365686a0
Every function in its own file, part 3
2018-09-10 04:39:06 +03:00
Alexey Milovidov
cfb05edd8f
Every function in its own file, part 3
2018-09-10 04:19:14 +03:00
Alexey Milovidov
33d49ad2da
Every function in its own file, part 3
2018-09-10 03:58:04 +03:00
Alexey Milovidov
fec8ceba3d
Every function in its own file, part 3
2018-09-10 03:51:08 +03:00
Alexey Milovidov
0d584eae47
Every function in its own file, part 3
2018-09-10 02:47:56 +03:00
Alexey Milovidov
d3c047695e
Every function in its own file, part 3
2018-09-10 02:36:06 +03:00
Alexey Milovidov
42c49da354
Revert "Fixed error [#CLICKHOUSE-3888]"
...
This reverts commit 1d8302a4d7
.
2018-09-10 00:17:29 +03:00
Alexey Milovidov
c6e31b47ad
Every function in its own file, part 3
2018-09-10 00:15:40 +03:00
Alexey Milovidov
2126170d97
Every function in its own file, part 3
2018-09-09 23:57:54 +03:00
Alexey Milovidov
1defdb168d
Merge branch 'master' into CLICKHOUSE-3888
2018-09-09 08:48:03 +03:00
Alexey Milovidov
3f07a1af51
Fixed error [#CLICKHOUSE-2]
2018-09-09 08:47:27 +03:00
Alexey Milovidov
1d8302a4d7
Fixed error [#CLICKHOUSE-3888]
2018-09-09 08:30:14 +03:00
Alexey Milovidov
b2ec7ce6b2
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-09 06:28:55 +03:00
Alexey Milovidov
54ea7b0b20
Fixed error [#CLICKHOUSE-2]
2018-09-09 06:28:45 +03:00
alexey-milovidov
3bb89eca16
Merge pull request #3083 from yandex/every_function_in_own_file_2
...
Every function in its own file, part 2
2018-09-09 05:31:33 +03:00
Alexey Milovidov
c7b1a40296
Fixed test [#CLICKHOUSE-2]
2018-09-09 05:23:24 +03:00
Alexey Milovidov
8497af1d7f
Fixed memory leak in insertion methods of ColumnAggregateFunction if the object have another as a source; exception safety [#CLICKHOUSE-2]
2018-09-09 04:16:34 +03:00
Alexey Milovidov
bbe1074121
Every function in its own file, part 2 [#CLICKHOUSE-2]
2018-09-09 02:15:12 +03:00
Alexey Milovidov
c48649fd12
Every function in its own file, part 2 [#CLICKHOUSE-2]
2018-09-09 01:57:56 +03:00
Alexey Milovidov
b695a6bec5
Every function in its own file, part 2 [#CLICKHOUSE-2]
2018-09-09 01:31:20 +03:00
Alexey Milovidov
ba152a5059
Every function in its own file, part 2 [#CLICKHOUSE-2]
2018-09-09 01:16:30 +03:00
Alexey Milovidov
09926ebb93
Every function in its own file, part 2 [#CLICKHOUSE-2]
2018-09-09 01:04:39 +03:00
Alexey Milovidov
4ec18956c7
Preparation [#CLICKHOUSE-2]
2018-09-08 22:23:48 +03:00
Alexey Milovidov
b6d3ab4362
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-08 06:07:20 +03:00
Alexey Milovidov
e78c16000c
utils/check-style/check-style #3069
2018-09-08 06:07:12 +03:00
robot-clickhouse
778373b661
Auto version update to [18.12.9] [54407]
2018-09-08 05:24:36 +03:00
alexey-milovidov
264e48b8d6
Merge pull request #3080 from yandex/every_function_in_own_file_1
...
Every function in its own file, part 1
2018-09-08 04:50:27 +03:00
Alexey Milovidov
38b812ddba
Merging #3062
2018-09-08 04:42:34 +03:00
alexey-milovidov
8dcf59389c
Merge pull request #3062 from CurtizJ/CLICKHOUSE-3723.3
...
Aggregate function states addition [CLICKHOUSE-3723]
2018-09-08 04:40:37 +03:00
alexey-milovidov
8f1064b203
Update FunctionsArithmetic.h
2018-09-08 04:40:23 +03:00
alexey-milovidov
bd8f1e92c2
Merge pull request #3079 from yandex/fix-query-scope
...
Fixed usage of query scope in TCPHandler #2482
2018-09-08 04:36:45 +03:00
Alexey Milovidov
639f7e026c
Every function in its own file, part 1 [#CLICKHOUSE-2]
2018-09-08 04:26:46 +03:00
Alexey Milovidov
445645418c
Every function in its own file, part 1 [#CLICKHOUSE-2]
2018-09-08 04:24:09 +03:00
Alexey Milovidov
4c5556aba1
Better exception message [#CLICKHOUSE-2]
2018-09-08 02:37:31 +03:00
Alexey Milovidov
a3745a6aa7
Fixed usage of query scope in TCPHandler #2482
2018-09-08 02:22:02 +03:00
alexey-milovidov
dc2d36882b
Update FunctionsArithmetic.h
2018-09-08 01:29:37 +03:00
Alexey Milovidov
40dc6820ba
Miscellaneous [#CLICKHOUSE-2]
2018-09-08 01:22:48 +03:00
alexey-milovidov
5d3a64ec46
Merge pull request #3077 from yandex/CLICKHOUSE-3800
...
CLICKHOUSE-3800: Improve cache of compiled expressions
2018-09-08 00:44:17 +03:00
alexey-milovidov
ef22af2e49
Merge pull request #2881 from zhang2014/feature/support_optimize_predicate_for_view
...
ISSUES-863 support optimize predicate for view
2018-09-08 00:43:13 +03:00
alexey-milovidov
f638c62914
Update 00705_aggregate_states_addition.sql
2018-09-08 00:40:26 +03:00
alexey-milovidov
603b31bdb6
Merge branch 'master' into CLICKHOUSE-3723.3
2018-09-08 00:39:34 +03:00
alexey-milovidov
a2df7d522c
Merge pull request #3069 from CurtizJ/CLICKHOUSE-3893
...
Fix code duplication in RollupBlockInputStream and TotalsHavingBlockInputStream
2018-09-08 00:35:56 +03:00
alexey-milovidov
0b6e85e51d
Merge pull request #3073 from yandex/fix_prewhere_with_sampling
...
Fix prewhere with sampling
2018-09-08 00:34:06 +03:00
alexey-milovidov
3b21cde9bb
Update 00714_alter_uuid.sql
2018-09-08 00:33:26 +03:00
alesapin
2ba41c9b75
Update Settings.h
2018-09-08 00:02:42 +03:00
Nikolai Kochetov
8311c23d83
Fix test.
2018-09-07 23:23:28 +03:00
alesapin
e815260363
CLICKHOUSE-3800: Improve cache and turn on compilation by default
2018-09-07 23:17:40 +03:00
Nikolai Kochetov
76f47ed6ba
Fix test.
2018-09-07 22:57:26 +03:00
Alexey Zatelepin
949b4b640e
fix build after merge [#CLICKHOUSE-13]
2018-09-07 22:14:05 +03:00
Nikolai Kochetov
8b658f091d
Fix test.
2018-09-07 21:00:53 +03:00
chertus
ad77505137
implement CAST Strings to UUID [issue-3061]
2018-09-07 19:38:40 +03:00
Nikolai Kochetov
3d06fc4217
Added test with prewhere and sampling. [#CLICKHOUSE-3969]
2018-09-07 19:11:15 +03:00
Alexey Zatelepin
133c9c7c37
Merge branch 'master' into alter-update
...
Conflicts:
docs/en/query_language/alter.md
2018-09-07 19:11:02 +03:00
Nikolai Kochetov
6e41be3476
Avoid removing columns used in sample expression in prewhere actions. [#CLICKHOUSE-3969]
2018-09-07 19:01:21 +03:00
Alexey Zatelepin
d77037fec7
fix use after move
2018-09-07 18:54:34 +03:00
Alexey Zatelepin
1064d1d26b
update MATERIALIZED columns when their dependencies are updated [#CLICKHOUSE-13]
2018-09-07 18:54:18 +03:00
chertus
d7bb629195
Merge branch 'master' into refactoring
2018-09-07 17:39:22 +03:00
chertus
0b35cdae69
refactoring: add some sugar in type checks [CLICKHOUSE-0002]
2018-09-07 17:37:26 +03:00
CurtizJ
a0ee183826
whitespaces
2018-09-07 17:21:11 +03:00
CurtizJ
3e854df5a5
remove code duplicates
2018-09-07 17:18:15 +03:00
CurtizJ
7c2fef0c1a
fix getting value from const column
2018-09-07 17:06:10 +03:00
CurtizJ
8fc1ddd646
fix arguments check
2018-09-07 15:36:56 +03:00
alesapin
e8438572ad
CLICKHOUSE-3894: Fixes in tests
2018-09-07 14:51:51 +03:00
CurtizJ
a784b828ce
Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-3723.3
2018-09-07 13:02:07 +03:00
Nikolai Kochetov
8200827723
Added test for prewhere with virtual column. [#CLICKHOUSE-3965]
2018-09-07 11:11:48 +03:00
Alexey Milovidov
476ff57528
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-07 04:51:49 +03:00
Alexey Milovidov
cac07628b2
Added comment [#CLICKHOUSE-3939]
2018-09-07 04:49:26 +03:00
robot-clickhouse
3b73262e72
Auto version update to [18.12.8] [54407]
2018-09-07 04:43:52 +03:00
Alexey Milovidov
199d8734f9
Fixed race condition in DROP/CREATE MergeTree tables [#CLICKHOUSE-3939]
2018-09-07 04:39:48 +03:00
robot-clickhouse
ae45b68ba2
Auto version update to [18.12.7] [54407]
2018-09-07 02:41:09 +03:00
alexey-milovidov
794be10ecd
Merge pull request #3065 from yandex/fix-prewhere-with-aliases-3
...
Fix prewhere with aliases 3
2018-09-07 02:39:35 +03:00
Nikolai Kochetov
a6b51d1fc7
Fix virtual columns for prewhere with aliases.
2018-09-06 22:18:38 +03:00
alesapin
bf15d002a3
Merge
2018-09-06 22:15:37 +03:00
alesapin
790b4b3eca
Fix build
2018-09-06 22:13:49 +03:00
CurtizJ
83677e4e44
better code
2018-09-06 22:13:47 +03:00
Nikolai Kochetov
af47426401
Merge branch 'master' into fix-prewhere-with-aliases-3
2018-09-06 21:49:25 +03:00
alesapin
f751f72e1a
Fix virtual destructor
2018-09-06 21:44:38 +03:00
Alexey Milovidov
98b835ea52
Fixed build [#CLICKHOUSE-2]
2018-09-06 21:44:12 +03:00
Nikolai Kochetov
8593145794
Merged with master
2018-09-06 21:30:03 +03:00
CurtizJ
e4a1ba728d
better error code
2018-09-06 21:28:43 +03:00
alexey-milovidov
580683310b
Merge pull request #2990 from alesapin/master
...
CLICKHOUSE-3800: Add Cache for compiled expression.
2018-09-06 21:12:08 +03:00
alexey-milovidov
5057b15fab
Merge pull request #3047 from 4ertus2/decimal
...
Decimal improvements
2018-09-06 21:11:06 +03:00
proller
db13ef96d6
Fix ssl init ( #3056 )
...
* Try to fix ../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here
* Fix ssl init
* fix
* noncopyable
* clean
2018-09-06 21:05:33 +03:00
CurtizJ
7e2519a127
fix wrong code
2018-09-06 21:02:41 +03:00
CurtizJ
fb923dcbf5
aggregate function states addition
2018-09-06 20:59:23 +03:00
Nikolai Kochetov
641771f66f
Fix virtual columns for prewhere with aliases.
2018-09-06 20:45:49 +03:00
proller
d75e1f8a72
Merge remote-tracking branch 'upstream/master' into fix8
2018-09-06 18:58:19 +03:00
proller
255866304f
env TEST_RUN_STRESS=1 ctest -V ( #3057 )
2018-09-06 18:57:55 +03:00
proller
6829446ca9
fix
2018-09-06 18:44:54 +03:00
proller
51470db8c7
Fix test
2018-09-06 18:43:57 +03:00
proller
d45321a941
Add test
2018-09-06 18:31:28 +03:00
proller
6d8b1bea4b
Try fix crash in StorageBuffer
2018-09-06 18:06:54 +03:00
alesapin
b32e0c48af
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-06 16:04:10 +03:00
alesapin
7f5b5ddb53
CLICKHOUSE-3894: Force recreate containers and increase timeouts
2018-09-06 16:03:42 +03:00
robot-clickhouse
4b462ea544
Auto version update to [18.12.6] [54407]
2018-09-06 15:16:36 +03:00
Alexey Zatelepin
8cf666e1b5
ALTER UPDATE tests [#CLICKHOUSE-13]
2018-09-06 13:49:36 +03:00
chertus
5bbfdc2208
supertypes for Decimals [CLICKHOUSE-3765]
2018-09-06 13:48:54 +03:00
alesapin
f331b48c58
Fix build
2018-09-06 12:52:22 +03:00
Nikolai Kochetov
28bef7b7aa
Added test. [#CLICKHOUSE-3965]
2018-09-06 12:46:23 +03:00
Nikolai Kochetov
ee89ddb445
Fix removing source aliased columns. [#CLICKHOUSE-3965]
2018-09-06 12:41:42 +03:00
Alexander Sapin
03174e131d
Merge remote-tracking branch 'upstream/master'
2018-09-06 12:39:42 +03:00
Alexander Sapin
3cbcd23a17
CLICKHOUSE-3800:Add if's for old llvm version
2018-09-06 12:10:40 +03:00
chertus
3bd586cad9
Merge branch 'master' into decimal
2018-09-06 11:57:46 +03:00
chertus
a969292b50
revert textCanContainOnlyValidUTF8() for Decimal; add DataTypeExtractor [CLICKHOUSE-3906]
2018-09-06 11:56:46 +03:00
robot-clickhouse
0cb7947835
Auto version update to [18.12.5] [54407]
2018-09-06 07:25:55 +03:00
Alexey Milovidov
d8c528ea39
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-06 05:48:22 +03:00
Alexey Milovidov
5a096ee099
Attempt to fix an issue mentioned by Matt Keranen in #2958
2018-09-06 05:47:59 +03:00
robot-clickhouse
51c5c2b373
Auto version update to [18.12.4] [54407]
2018-09-06 05:32:40 +03:00
Alexey Milovidov
b82d532db0
Removed incorrect code [#CLICKHOUSE-3939]
2018-09-06 05:30:58 +03:00
Alexey Milovidov
f584344184
Miscellaneous [#CLICKHOUSE-3939]
2018-09-06 05:24:35 +03:00
Alexey Milovidov
d8809eb2a1
Whitespaces [#CLICKHOUSE-3939]
2018-09-06 04:57:55 +03:00
Alexey Milovidov
9df01c1012
Style #2948
2018-09-06 04:06:30 +03:00
alexey-milovidov
0ca8e20e66
Merge pull request #2948 from CurtizJ/CLICKHOUSE-3893
...
CLICKHOUSE-3893 - Add modificator rollup.
2018-09-06 03:59:02 +03:00
alexey-milovidov
4c549f79cd
Update RollupBlockInputStream.cpp
2018-09-06 03:58:24 +03:00
alexey-milovidov
f77cd9950c
Merge pull request #3034 from CurtizJ/CLICKHOUSE-3723.2
...
CLICKHOUSE-3723 Multiply aggregate states. Fix and optimize #2527 .
2018-09-06 03:49:07 +03:00
alexey-milovidov
e585ba54f9
Merge pull request #3048 from yandex/The-Alchemist-support_uuid_in_external_dicts
...
The alchemist support UUID in external dicts
2018-09-06 03:29:56 +03:00
alexey-milovidov
4f9dd85c5e
Merge pull request #3050 from proller/fix20
...
Internal compiler run fixes
2018-09-06 03:29:10 +03:00
Alexey Milovidov
a2b515483e
Understanding the code #2482
2018-09-06 03:28:15 +03:00
Alexey Milovidov
0962b2841d
Added missing line (suggested by @nvartolomei) #3029
2018-09-06 00:05:49 +03:00
Alexey Milovidov
3c7c2e3853
Revert "Revert "Tidy up thread locals usage across translation units""
...
This reverts commit 509386b14d
.
2018-09-06 00:01:43 +03:00
alesapin
aaf5720198
Fix type in odbc source and remove pointer from mongo source
2018-09-05 23:33:45 +03:00
alesapin
cd07fd6246
Remove unused header
2018-09-05 23:22:20 +03:00
alesapin
2d9a62cfe8
Fix MongoDB api call
2018-09-05 23:19:31 +03:00
alesapin
aa8562a2a5
Fix field name
2018-09-05 22:24:36 +03:00
proller
5877eece58
Internal compiler run fixes
2018-09-05 21:50:17 +03:00
robot-clickhouse
8bf1ad5758
Auto version update to [18.12.3] [54407]
2018-09-05 21:49:34 +03:00
alexey-milovidov
4032e4d22c
Merge pull request #3049 from yandex/fix-collapsing-vertical-merge
...
Fix collapsing vertical merge regression
2018-09-05 21:47:23 +03:00
alesapin
b25d1db424
Add reference
2018-09-05 21:34:50 +03:00
Alexey Zatelepin
d2a5c101f1
add test [#CLICKHOUSE-3963]
2018-09-05 20:24:30 +03:00
Alexey Zatelepin
6275bfd8cd
fix CollapsingMergeTree + vertical merge [#CLICKHOUSE-3963]
...
don't skip writing to rows sources even if all rows have collapsed.
2018-09-05 20:19:51 +03:00
Alexey Milovidov
baff498849
Split one test to two #3029
2018-09-05 19:50:26 +03:00
Alexey Milovidov
509386b14d
Revert "Tidy up thread locals usage across translation units"
...
This reverts commit e28753061f
.
2018-09-05 19:41:34 +03:00
Anton Popov
7f71bc4189
Update InterpreterSelectQuery.cpp
2018-09-05 19:29:13 +03:00
Anton Popov
e6d49c4c93
Update InterpreterSelectQuery.cpp
2018-09-05 19:28:30 +03:00
chertus
a0309b57ab
fix build with embedded compiler
2018-09-05 19:24:46 +03:00
CurtizJ
472adf4ab9
add rollup to formatted query
2018-09-05 19:23:28 +03:00
alesapin
8b7d6ccd8c
Small improvements
2018-09-05 19:20:12 +03:00
Alexey Milovidov
12ff8814f8
Removed useless code [#CLICKHOUSE-2]
2018-09-05 19:11:10 +03:00
chertus
6096c6998d
minor fix: remove unused func
2018-09-05 18:18:48 +03:00
chertus
0581545cba
disable Decimal Comparison and Conditional compilation [CLICKHOUSE-3765]
2018-09-05 17:56:55 +03:00
CurtizJ
35cbdcda5b
optimize memory consumption
2018-09-05 17:39:51 +03:00
Anton Popov
143c15925b
Update FunctionsArithmetic.h
2018-09-05 16:29:19 +03:00
chertus
e0b1e9a1ca
array functions for Decimal [CLICKHOUSE-3765CLICKHOUSE-3765]
2018-09-05 16:28:51 +03:00
alesapin
d12ec5c602
Merge branch 'support_uuid_in_external_dicts' of https://github.com/The-Alchemist/ClickHouse into The-Alchemist-support_uuid_in_external_dicts
2018-09-05 16:20:45 +03:00
CurtizJ
7ae4c1072b
fix modifying source columns, add tests
2018-09-05 16:18:47 +03:00
Nikolai Kochetov
21081266e8
Fix test.
2018-09-05 16:04:28 +03:00
Alexey Zatelepin
acc1a84827
better name [#CLICKHOUSE-13]
2018-09-05 15:54:03 +03:00
alesapin
16eaeefc6e
Fix naming
2018-09-05 15:42:37 +03:00
Nikolai Kochetov
71e08a4cc0
Fix test.
2018-09-05 15:19:15 +03:00
Nikolai Kochetov
1994fb832b
Fix test.
2018-09-05 15:16:37 +03:00
alesapin
2647c13c6b
CLICKHOUSE-3800: Fix naming, move compiled cache size setting to config.xml
2018-09-05 14:37:41 +03:00
Nikolai Kochetov
f18f6323c8
Fix build.
2018-09-05 13:31:00 +03:00
Nikolai Kochetov
46d6c03569
Merge branch 'master' into fix-prewhere-with-aliases
2018-09-05 13:08:07 +03:00
CurtizJ
18da41afe3
Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3893
2018-09-05 12:49:02 +03:00
CurtizJ
a7bbf83c91
Revert "Revert "Merge branch 'master' into CLICKHOUSE-3893""
...
This reverts commit cdb2c8a770
.
2018-09-05 12:47:57 +03:00
CurtizJ
cdb2c8a770
Revert "Merge branch 'master' into CLICKHOUSE-3893"
...
This reverts commit 0704da5756
, reversing
changes made to 4534d449c1
.
2018-09-05 12:45:57 +03:00
Nikolai Kochetov
8e806d4e3d
Fix test. [#CLICKHOUSE-3944]
2018-09-05 09:21:33 +03:00
chertus
94997889c5
fix test
2018-09-05 01:17:01 +03:00
robot-clickhouse
477a1afd55
Auto version update to [18.12.2] [54407]
2018-09-05 00:28:49 +03:00
alexey-milovidov
d12c1b02bc
Merge pull request #3029 from nvartolomei/nv/tidyup-thread-locals
...
Tidy up thread locals usage across translation units
2018-09-05 00:16:03 +03:00
Alexey Milovidov
035c07d01e
Fixed error with locking in InterpreterDropQuery [#CLICKHOUSE-3959]
2018-09-04 23:56:09 +03:00
alexey-milovidov
1fc94d6fff
Update ExpressionActions.cpp
2018-09-04 22:48:05 +03:00
Alexey Milovidov
2332bf1a50
Code consistency [#CLICKHOUSE-3943]
2018-09-04 22:34:34 +03:00
Alexey Milovidov
d10f9200b9
Consistency of FileOpen event [#CLICKHOUSE-3943]
2018-09-04 22:24:45 +03:00
Nikolai Kochetov
eedd2c50de
Fix test. [#CLICKHOUSE-3944]
2018-09-04 21:59:34 +03:00
chertus
e11f3ea5bc
enable nullable for Decimal [CLICKHOUSE-3765]
2018-09-04 21:51:44 +03:00
Nikolai Kochetov
8b9937ec51
More comments. [#CLICKHOUSE-3944]
2018-09-04 21:50:19 +03:00
Nikolai Kochetov
7bb92227cd
Added test. [#CLICKHOUSE-3944]
2018-09-04 21:38:13 +03:00
Nikolai Kochetov
3c6db8ebc1
Fix prewhere with aliased columns. [#CLICKHOUSE-3944]
2018-09-04 21:28:01 +03:00
chertus
1ea6bc9691
decimal_check_overflow [CLICKHOUSE-3765]
2018-09-04 18:04:23 +03:00
Alexey Zatelepin
4f91833e67
Merge branch 'master' into alter-update
...
Conflicts:
dbms/src/Parsers/ASTIdentifier.cpp
2018-09-04 17:39:08 +03:00
Alexey Zatelepin
816b91e2e3
additional checks for UPDATEs of key columns [#CLICKHOUSE-13]
2018-09-04 17:34:50 +03:00
Alexey Zatelepin
b6a5bbc4e9
move validation to MutationsInterpreter [#CLICKHOUSE-13]
2018-09-04 17:33:48 +03:00
CurtizJ
8d8aeb51e5
fix and optimize multiplying aggregate states
2018-09-04 17:08:35 +03:00
alexey-milovidov
939949730d
Merge pull request #3030 from yandex/fix-internal-compiler
...
Attempt to fix internal compiler [#CLICKHOUSE-2]
2018-09-04 17:05:56 +03:00
proller
e687693df8
Merge remote-tracking branch 'upstream/master' into fix8
2018-09-04 15:12:34 +03:00
Alexey Zatelepin
dc0c731c10
later mutation stages now work with IN (SELECT ...) [#CLICKHOUSE-13]
2018-09-04 14:39:10 +03:00
Vadim
2dd0c4c594
Merge pull request #3032 from yandex/amosbird_window_funnel
...
[FIX TESTS] Support events qualified for multiple conditions in Window Funnel
2018-09-04 14:32:58 +03:00
VadimPE
9a28e90af7
Fixed tests
2018-09-04 13:15:34 +03:00
Nicolae Vartolomei
e28753061f
Tidy up thread locals usage across translation units
...
Fixes #3015 .
2018-09-03 22:36:16 +01:00
proller
b9e4c69dd2
fix
2018-09-03 23:09:51 +03:00
Alexey Zatelepin
d4d1020798
execute UPDATEs and DELETEs in stages [#CLICKHOUSE-13]
2018-09-03 22:34:49 +03:00
Alexey Milovidov
0df0099255
Fixed test #3030
2018-09-03 21:29:34 +03:00
proller
bcfcd257be
Better odbc-bridge executable select
2018-09-03 21:27:56 +03:00
alexey-milovidov
604c64f40d
Merge pull request #3024 from 4ertus2/nan
...
hotfix for NaN comparison [CLICKHOUSE-3760]
2018-09-03 21:11:20 +03:00
Alexey Milovidov
8fae37f5c7
Removed wrong code from StorageSystemColumns #2447
2018-09-03 21:04:29 +03:00
Alexey Milovidov
0ece3d5a89
Attempt to fix internal compiler [#CLICKHOUSE-2]
2018-09-03 20:45:52 +03:00
chertus
60a39c28d1
better NaN comparison fix [CLICKHOUSE-3760]
2018-09-03 18:57:39 +03:00
alesapin
7596a75143
CLICKHOUSE-3894: Remove redundant code
2018-09-03 18:29:25 +03:00
alesapin
3551c01612
CLICKHOUSE-3894: Save localhost record
2018-09-03 18:26:11 +03:00
alesapin
ee8a8d82af
CLICKHOUSE-3894: Remove retry and add sleep
2018-09-03 18:02:24 +03:00
alesapin
3719558bf7
CLICKHOUSE-3894: Some improvements in flapping tests. Bug fix of ATTACH TABLE xxx ON CLUSTER (previously doesn't work).
2018-09-03 17:06:00 +03:00
chertus
522674d37f
fix for NaN comparison [CLICKHOUSE-3760]
2018-09-03 16:34:16 +03:00
alesapin
69df618397
Merge remote-tracking branch 'upstream/master'
2018-09-03 14:57:11 +03:00
VadimPE
cc04ffbda1
Merge branch 'astudnev-cum_sum_limit2' of https://github.com/yandex/ClickHouse into astudnev-cum_sum_limit2
2018-09-03 13:53:19 +03:00
VadimPE
3b38879b11
fix bug with CumSum and fix style
2018-09-03 13:52:44 +03:00
chertus
c03291ce60
extract callOnTypeIndex.h from FunctionHelpers.h [CLICKHOUSE-3765]
2018-09-03 13:46:58 +03:00
alesapin
a7bd2b42e8
CLICKHOUSE-3800: Review fixes
2018-09-03 13:14:05 +03:00
alesapin
83574eed7c
Merge remote-tracking branch 'upstream/master'
2018-09-03 13:11:33 +03:00
alesapin
11d248ba10
Resolve conflict
2018-09-03 13:11:10 +03:00
CurtizJ
3bc743c50d
do not merge blocks into one
2018-09-03 12:49:04 +03:00
chertus
79c91bb23b
minor fix: better code locality [CLICKHOUSE-3765]
2018-09-03 12:15:44 +03:00
VadimPE
6e78f576d7
ISSUES-2581 add comments, and fix
2018-09-03 11:25:35 +03:00
Alexey Milovidov
eb8f06821d
Fixed build [#CLICKHOUSE-2]
2018-09-03 09:31:19 +03:00
Alexey Milovidov
226a7f491e
Whitespaces [#CLICKHOUSE-3944]
2018-09-03 08:06:19 +03:00
Alexey Milovidov
d2a127ffa9
Less dependencies [#CLICKHOUSE-2]
2018-09-03 07:57:01 +03:00
Alexey Milovidov
6831b6c0f9
Fixed build; fixed possibly suboptimal code #3008
2018-09-03 07:29:36 +03:00
alexey-milovidov
72c799ad76
Merge pull request #3008 from 4ertus2/decimal
...
even more Decimal
2018-09-03 07:19:33 +03:00
alexey-milovidov
7d8f0a6140
Merge pull request #3022 from yandex/padded-arena
...
Padded Arena
2018-09-03 05:39:42 +03:00
Alexey Milovidov
3873ab1adb
Fixed tests in Sandbox [#CLICKHOUSE-2]
2018-09-03 05:32:29 +03:00
Alexey Milovidov
aa5d919f33
Miscellaneous [#CLICKHOUSE-2]
2018-09-03 03:39:22 +03:00
Alexey Milovidov
cb0af7c3af
Removed unused aggregation method [#CLICKHOUSE-2]
2018-09-03 03:33:29 +03:00
Alexey Milovidov
8e17652f0d
Removed AggregationMethodConcat, because AggregationMethodSerialized appeared to be far superior [#CLICKHOUSE-2]
2018-09-03 03:07:05 +03:00
Alexey Milovidov
0b2ec39f11
Miscellaneous [#CLICKHOUSE-2]
2018-09-03 03:00:56 +03:00
Alexey Milovidov
13aac718a3
Reverted wrong change [#CLICKHOUSE-2]
2018-09-03 01:24:46 +03:00
Alexey Milovidov
1de3f144f6
Padding chunks in Arena in attempt to improve performance [#CLICKHOUSE-2]
2018-09-03 00:28:25 +03:00
Alexey Milovidov
9a3a36b256
Merge remote-tracking branch 'origin/master' into ubsan-fixes-3
2018-09-02 23:47:03 +03:00
Alexey Milovidov
bc84ca06a6
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 23:46:16 +03:00
Alexey Milovidov
7b1d6df25f
Merge remote-tracking branch 'origin/master' into ubsan-fixes-3
2018-09-02 23:42:15 +03:00
Alexey Milovidov
2da40c4117
Respect alignment in AggregationMethodConcat [#CLICKHOUSE-2]
2018-09-02 23:40:58 +03:00
Alexey Milovidov
72379a4fd4
Fixed ubsan report [#CLICKHOUSE-2]
2018-09-02 23:14:47 +03:00
Alexey Milovidov
c6275dd8e4
Respect alignment in groupArray function [#CLICKHOUSE-2]
2018-09-02 23:09:25 +03:00
Alexey Milovidov
6acd58ee60
Respect alignment in groupArray function [#CLICKHOUSE-2]
2018-09-02 22:53:35 +03:00
Alexey Milovidov
4b01c2d9ba
Added comment [#CLICKHOUSE-2]
2018-09-02 22:49:12 +03:00
Alexey Milovidov
243441cb51
Disable leak sanitizer for embedded clang and lld [#CLICKHOUSE-2]
2018-09-02 22:46:09 +03:00
Alexey Milovidov
1c6d8e235c
Respect alignment in groupArray and maxIntersections aggregate functions [#CLICKHOUSE-2]
2018-09-02 22:20:27 +03:00
Alexey Milovidov
b82cf235b7
Suppressed one UBSan alert and added clarification in comment [#CLICKHOUSE-2]
2018-09-02 22:12:50 +03:00
VadimPE
003ce833d1
Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird_window_funnel
2018-09-02 17:49:59 +03:00
Alexey Milovidov
372c36f054
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 08:35:03 +03:00
Alexey Milovidov
9af71bb733
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 08:25:32 +03:00
Alexey Milovidov
26587dd2bb
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 08:23:20 +03:00
Alexey Milovidov
03038c75c4
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 08:07:49 +03:00
Alexey Milovidov
24675aed1a
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 08:01:21 +03:00
Alexey Milovidov
77ccc8c65c
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:58:55 +03:00
Alexey Milovidov
8d76be1dfd
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:41:40 +03:00
Alexey Milovidov
5f7825a91c
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:36:32 +03:00
Alexey Milovidov
f93ede0182
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:33:15 +03:00
Alexey Milovidov
bf443fcfa0
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:30:55 +03:00
Alexey Milovidov
ab78bc1b5c
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:13:15 +03:00
Alexey Milovidov
a903a5a755
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:58:31 +03:00
Alexey Milovidov
b9c4820bdd
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:52:04 +03:00
Alexey Milovidov
ff13752d01
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:47:14 +03:00
Alexey Milovidov
afe3973325
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:43:31 +03:00
Alexey Milovidov
66afebc498
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:40:15 +03:00
Alexey Milovidov
538edbb8e2
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:33:48 +03:00
Alexey Milovidov
6c61dbde26
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:14:00 +03:00
Alexey Milovidov
d27c7ed08a
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:10:21 +03:00
Alexey Milovidov
fc27be314b
Avoid temporary nullptr references [#CLICKHOUSE-2]
2018-09-02 06:00:04 +03:00
Alexey Milovidov
684d3f6162
Fixed bug #2830
2018-09-02 05:27:56 +03:00
Alexey Milovidov
c3ca20c25c
Rectification of FunctionsComparison [#CLICKHOUSE-2]
2018-09-02 05:09:15 +03:00
Alexey Milovidov
9e5778134d
Miscellaneous #3018
2018-09-02 04:54:24 +03:00
Alexey Milovidov
c306bca055
Rectification of FunctionsComparison [#CLICKHOUSE-2]
2018-09-02 04:42:18 +03:00
Alexey Milovidov
3a24e636db
Rectification of FunctionsComparison [#CLICKHOUSE-2]
2018-09-02 04:40:47 +03:00
Alexey Milovidov
f47c30c85b
Rectification of FunctionsComparison [#CLICKHOUSE-2]
2018-09-02 04:26:08 +03:00
Alexey Milovidov
e97d1bb63f
Rectification of FunctionsComparison [#CLICKHOUSE-2]
2018-09-02 04:12:32 +03:00
Alexey Milovidov
f910b5e9de
Added comment #2957
2018-09-02 03:34:34 +03:00
Alexey Milovidov
f97d9e8f3f
Fixed build #2957
2018-09-02 03:25:33 +03:00
Alexey Milovidov
f7107f12b4
Merge branch 'master' into extra-warnings
2018-09-02 03:13:36 +03:00
alexey-milovidov
16dc142a05
Merge pull request #3017 from yandex/ubsan-fixes
...
Fixes for UBSan.
2018-09-02 03:12:20 +03:00
Alexey Milovidov
1c2e4c3654
Documentation for ProfileEvents (more) #3010
2018-09-02 03:11:17 +03:00
Alexey Milovidov
63767c3c4e
Documentation for ProfileEvents (more) #3010
2018-09-02 03:06:42 +03:00
Alexey Milovidov
ed6b5fe9eb
Documentation for ProfileEvents (more) #3010
2018-09-02 03:05:09 +03:00
Alexey Milovidov
788a97dca1
Documentation for ProfileEvents (draft) #3010
2018-09-02 02:43:43 +03:00
Alexey Milovidov
c8fc8e8cbe
Documentation for ProfileEvents (draft) #3010
2018-09-02 02:14:48 +03:00
Alexey Milovidov
8eb746b216
Documentation for ProfileEvents (draft) #3010
2018-09-02 02:13:17 +03:00
Alexey Milovidov
e78dbcbb88
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-02 02:11:28 +03:00
Alexey Milovidov
35b573e4d2
Documentation for ProfileEvents (draft) #3010
2018-09-02 02:11:11 +03:00
Alexey Milovidov
45a4a95959
Fixed error in UBSan [#CLICKHOUSE-2]
2018-09-02 00:18:33 +03:00
Alexey Milovidov
61413ead23
Removed notice in gcc-8 [#CLICKHOUSE-2]
2018-09-02 00:03:06 +03:00
Alexey Milovidov
c75cc14703
Fixed error in UBSan [#CLICKHOUSE-2]
2018-09-01 23:28:46 +03:00
Alexey Milovidov
751cf62262
Added documentation for CurrentMetrics #3010
2018-09-01 22:51:38 +03:00
Alexey Milovidov
f5d03f6ac2
Miscellaneous [#CLICKHOUSE-2]
2018-09-01 22:14:04 +03:00
alexey-milovidov
64b48b5fcf
Merge pull request #2907 from zhang2014/feature/support_join_for_table_function
...
ISSUES-2906 support join for table function
2018-09-01 20:49:49 +03:00
alexey-milovidov
087570e6ac
Merge pull request #2974 from zhang2014/fix/nested_json_for_visitRaw
...
ISSUES-2973 support nested json struct for visitParamExtractRaw
2018-09-01 20:47:42 +03:00
alexey-milovidov
889e060993
Merge pull request #3006 from VadimPE/CLICKHOUSE-1660
...
CLICKHOUSE-1660 Added duplicated columns removal in USING(...)
2018-09-01 20:43:54 +03:00
alexey-milovidov
15bf642a00
Update 00702_join_with_using.sql
2018-09-01 20:43:47 +03:00
Alexey Milovidov
ce032470b3
Full support for alignment of aggregate states #2808
2018-09-01 07:39:46 +03:00
Alexey Milovidov
338437baf7
Full support for alignment of aggregate states #2808
2018-09-01 07:28:12 +03:00
Alexey Milovidov
146f3f0a14
Full support for alignment of aggregate states #2808
2018-09-01 07:25:43 +03:00
Alexey Milovidov
7d77d001f5
Full support for alignment of aggregate states #2808
2018-09-01 07:25:03 +03:00
Alexey Milovidov
8f54125884
Minor modifications #2808
2018-09-01 06:17:43 +03:00
alexey-milovidov
6d5092518f
Merge pull request #2808 from chenxing-xc/master
...
Aligned aggregate state #2754
2018-09-01 05:38:11 +03:00
Alexey Milovidov
c060fde75e
Removed notice in gcc-8 [#CLICKHOUSE-2]
2018-09-01 05:22:30 +03:00
Alexey Milovidov
652ecc42c6
Fixed alignment issues with AutoArray [#CLICKHOUSE-2]
2018-09-01 04:03:34 +03:00
Alexey Milovidov
dbd0e2f533
Clarifications #2482
2018-09-01 01:41:42 +03:00
chertus
fe1e3300b7
remove dirty code [CLICKHOUSE-3765]
2018-08-31 20:36:27 +03:00
Vadim
c847815ad4
Update 00704_arrayCumSumLimited_arrayDifference.reference
2018-08-31 17:06:55 +03:00
VadimPE
f8f71f7327
add tests
2018-08-31 16:28:35 +03:00
alesapin
66eb5402b0
Fix style
2018-08-31 16:25:33 +03:00
alesapin
a3ebbea3a0
Fix style
2018-08-31 16:23:56 +03:00
VadimPE
b30167576d
change return type in arrayDifference
2018-08-31 15:55:10 +03:00
alesapin
650d15696f
CLICKHOUSE-3800: Add memory comsumption profile_event of compiled expression cache
2018-08-31 15:39:27 +03:00
VadimPE
21a5f745ac
Merge branch 'cum_sum_limit2' of https://github.com/astudnev/ClickHouse-1 into astudnev-cum_sum_limit2
2018-08-31 15:14:49 +03:00
chertus
ca91c93adf
disable Nullable(Decimal) [CLICKHOUSE-3905]
2018-08-31 14:59:33 +03:00
chertus
4cf8f174da
some tests [CLICKHOUSE-3905]
2018-08-31 14:19:19 +03:00
VadimPE
910bb20ccf
CLICKHOUSE-1660 add test
2018-08-31 13:30:57 +03:00
alesapin
ac6ab62c6f
CLICKHOUSE-3800: Remove use after free of context
2018-08-31 13:27:08 +03:00
VadimPE
db8e63ff67
CLICKHOUSE-1660 Added duplicated columns removal in USING(...)
2018-08-31 13:00:46 +03:00
chertus
d0f452f6d9
some tests [CLICKHOUSE-3905]
2018-08-31 12:25:49 +03:00
chertus
845db9b46e
CAST for decimal [CLICKHOUSE-3905]
2018-08-31 11:59:21 +03:00
zhang2014
a1f2b9ae0c
ISSUES-2973 support nested json struct for visitParamExtractRaw
2018-08-31 15:25:28 +08:00
alesapin
711b228a30
Merge remote-tracking branch 'upstream/master'
2018-08-31 10:15:33 +03:00
Alexey Milovidov
9966e4405b
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-31 04:46:51 +03:00
Alexey Milovidov
8aecbc6df6
Data streams: better [#CLICKHOUSE-3944]
2018-08-31 04:46:39 +03:00
Alexey Milovidov
37438b6750
More thread names #2482
2018-08-31 04:00:09 +03:00
Alexey Milovidov
f75204d908
More thread names #2482
2018-08-31 03:59:48 +03:00
alexey-milovidov
a05cdfbb45
Merge branch 'master' into extra-warnings
2018-08-31 03:03:44 +03:00
Alexey Milovidov
bee164f1a0
Added test [#CLICKHOUSE-2]
2018-08-31 02:55:34 +03:00
Alexey Milovidov
0c6c1e83a3
Avoid excessive padding in Pretty formats [#CLICKHOUSE-2]
2018-08-31 02:34:12 +03:00
Alexey Milovidov
5df5df8971
utils/check-style/check-style -n
2018-08-31 00:13:34 +03:00
alexey-milovidov
918d17ffeb
Update FunctionsVisitParam.h
2018-08-30 23:57:00 +03:00
Alexey Milovidov
9acb770c23
Added a test to clearly illustrate the difference between arrayEnumerateUniq and arrayEnumerateDense #2975
2018-08-30 23:43:08 +03:00
alexey-milovidov
46a38b72b9
Merge pull request #2975 from amosbird/dense
...
Extending arrayEnumerateUniq.
2018-08-30 23:26:31 +03:00
alexey-milovidov
c9838fdf34
Update FunctionsArray.cpp
2018-08-30 23:22:14 +03:00
Alexey Milovidov
06053d9c1f
Added comments #2980
2018-08-30 23:12:15 +03:00
alexey-milovidov
e0b1b5ff78
Merge pull request #2980 from amosbird/memcpySmall
...
Padding for IO buffers.
2018-08-30 22:53:47 +03:00
alexey-milovidov
3b8e3c854c
Merge pull request #3000 from proller/fix3
...
CLICKHOUSE-3940 Fix crash on join
2018-08-30 22:52:59 +03:00
alexey-milovidov
f22b12b698
Update Join.cpp
2018-08-30 22:52:28 +03:00
alesapin
81a333ee87
Return to odbc-bridge argument.
2018-08-30 22:35:59 +03:00
robot-clickhouse
f171557c77
Auto version update to [18.12.1] [54407]
2018-08-30 22:28:33 +03:00
Alexey Milovidov
76eaacf1be
Fixed tests in Sandbox [#CLICKHOUSE-2]
2018-08-30 22:27:36 +03:00
alesapin
d192c8a2f3
Fix again
2018-08-30 22:23:55 +03:00
alesapin
6bfde2825e
Fix conflict
2018-08-30 22:23:00 +03:00
alexey-milovidov
72a2405e09
Merge pull request #3002 from proller/fix13
...
USE_INTERNAL_CONSISTENT_HASHING_LIBRARY
2018-08-30 22:11:55 +03:00
proller
de2b740db7
USE_INTERNAL_CONSISTENT_HASHING_LIBRARY
2018-08-30 22:07:24 +03:00
Alexey Milovidov
6ccd74aeeb
Attempt to fix performance regression due to usage of taskstats #2482
2018-08-30 21:48:41 +03:00
proller
48766c1c2d
split libconsistent-hashing
2018-08-30 21:44:46 +03:00
Alexey Milovidov
c06d6b7ae6
Moved file (preparation) #2482
2018-08-30 21:40:46 +03:00
Alexey Milovidov
fd5c419f17
Miscellaneous #2482
2018-08-30 21:36:24 +03:00
alesapin
ed34ffc94e
Merge branch 'master' into master
2018-08-30 19:34:29 +03:00
alesapin
6e64067a70
CLICKHOUSE-3800: Move cache to context, change hashing algorithm, add drop instruction for compiled expressions cache
2018-08-30 19:31:20 +03:00
proller
81960a2690
CLICKHOUSE-3940 Fix crash on join
2018-08-30 18:44:30 +03:00
Alexey Zatelepin
e9493b3a5f
use hard links to copy columns that didn't change [#CLICKHOUSE-13]
2018-08-30 16:56:43 +03:00
Alexey Zatelepin
dc2a4c21e9
execute ALTER UPDATE [#CLICKHOUSE-13]
2018-08-30 16:56:43 +03:00
Alexey Zatelepin
8e7c58dd75
parse ALTER UPDATE command [#CLICKHOUSE-13]
2018-08-30 16:56:43 +03:00
VadimPE
5551f2902c
CLICKHOUSE-1660
2018-08-30 15:32:11 +03:00
alexey-milovidov
b05c62be9f
Merge pull request #2994 from CurtizJ/CLICKHOUSE-3935
...
ClickHouse-3935 Fix bug with qualified columns in where clause
2018-08-30 15:01:47 +03:00
alexey-milovidov
992aee9c2c
Update 00702_where_with_quailified_names.sql
2018-08-30 15:01:34 +03:00
CurtizJ
c818683ce7
update test
2018-08-30 14:48:58 +03:00
alexey-milovidov
ba3a20073c
Merge pull request #2988 from VadimPE/test_recovery_replica
...
add integration test for recovery replica
2018-08-30 14:20:10 +03:00
alexey-milovidov
2e22a14c5c
Merge pull request #2997 from VadimPE/fix_exception_message
...
Fix error message in exception message for DROP TABLE/PARTITION
2018-08-30 14:19:58 +03:00
chertus
409562a397
decimal: add test for input/output formats CLICKHOUSE-3765
2018-08-30 14:17:02 +03:00
VadimPE
81893ae577
Fix error message
2018-08-30 12:33:31 +03:00
robot-clickhouse
8125bd3df9
Auto version update to [18.12.0] [54407]
2018-08-30 03:23:20 +03:00
CurtizJ
764aa70d04
fix bug with quailified columns in where clause
2018-08-30 01:09:04 +03:00
CurtizJ
b43d403815
Revert "fix bug with quailified columns in where clause"
...
This reverts commit e007fd2b9e
.
2018-08-30 01:04:45 +03:00
proller
56e571f18d
odbc-bridge fixes ( #2993 )
...
* start clickhouse odbc-bridge as clickhouse-odbc-bridge
* fix
* prepare to odbc bridge tests
2018-08-30 00:32:46 +03:00
Alexey Milovidov
48cbf9de3c
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-30 00:30:49 +03:00
Alexey Milovidov
c94e0f0161
Fixed tests in Sandbox [#CLICKHOUSE-2]
2018-08-30 00:30:39 +03:00
alesapin
647446c45e
CLICKHOUSE-3800: More correct compilated function call counter
2018-08-29 23:05:31 +03:00
proller
0f16160cb7
stderr.log fixes
2018-08-29 22:52:04 +03:00
CurtizJ
e007fd2b9e
fix bug with quailified columns in where clause
2018-08-29 22:45:29 +03:00
Alexey Milovidov
26b5b52c24
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-29 22:01:14 +03:00
Alexey Milovidov
c34d36bf35
Fixed tests in Sandbox [#CLICKHOUSE-2]
2018-08-29 22:01:01 +03:00
proller
4529f33457
Fix clickhouse-test-server
...
rename /var/log/clickhouse-server/stderr to stderr.log and stdout to stdout.log
2018-08-29 21:48:14 +03:00
chertus
29d8d07975
decimal improvements [CLICKHOUSE-3765]
2018-08-29 21:47:19 +03:00
alexey-milovidov
794b4d30a8
Merge pull request #2989 from yandex/fix-context-lifetime-try-2-quick
...
Fix lifetime of Context reference in functions (first quick variant) …
2018-08-29 21:32:48 +03:00
alexey-milovidov
07408490b6
Merge pull request #2982 from VadimPE/CLICKHOUSE-3934
...
CLICKHOUSE-3934 add join_default_strictness
2018-08-29 21:32:03 +03:00
alexey-milovidov
b99bf0c558
Update Settings.h
2018-08-29 21:27:41 +03:00
alesapin
06adf19053
CLICKHOUSE-3800: Remove tab
2018-08-29 20:51:23 +03:00
alesapin
d2a5efb11b
CLICKHOUSE-3800: Add perf test
2018-08-29 20:49:43 +03:00
Vadim
59e494a78d
Update 00701_join_default_strictness.reference
2018-08-29 19:48:09 +03:00
Vadim
b0f66d15d2
Update 00701_join_default_strictness.sql
2018-08-29 19:42:45 +03:00
Alexey Milovidov
48db3d4df8
Added test #2989
2018-08-29 19:27:29 +03:00
Alexey Milovidov
3361247126
Fix lifetime of Context reference in functions (first quick variant) [#CLICKHOUSE-2]
2018-08-29 18:36:24 +03:00
Alexey Milovidov
4ebfaa768e
Miscellaneous [#CLICKHOUSE-2]
2018-08-29 18:16:34 +03:00
VadimPE
f253719eac
CLICKHOUSE-3934 add SettingsJoinStrictness
2018-08-29 18:15:42 +03:00
alesapin
7498105b67
CLICKHOUSE-3800: Fix hash and equals functions
2018-08-29 18:14:44 +03:00
Alexey Milovidov
697067f207
Fix lifetime of Context reference in functions (first quick variant) [#CLICKHOUSE-2]
2018-08-29 17:59:08 +03:00
Alexey Milovidov
87dfd8e47e
Removed useless field #2447
2018-08-29 17:55:28 +03:00
VadimPE
5c370143c4
CLICKHOUSE-3847 fix time for cleanupthread and sleep()
2018-08-29 17:13:20 +03:00
VadimPE
a90a9af818
CLICKHOUSE-3847 fix time for cleanup_delay_period
2018-08-29 17:03:39 +03:00
VadimPE
d626ae11a7
CLICKHOUSE-3934
2018-08-29 16:54:43 +03:00
Vadim Plakhtinskiy
f0c16900aa
CLICKHOUSE-3934 fix bug with CROSS JOIN
2018-08-29 16:51:07 +03:00
VadimPE
8c10c11804
CLICLKHOUSE-3847 add test
2018-08-29 16:47:48 +03:00
chertus
7bac9698f6
fix build
2018-08-29 16:24:33 +03:00
chertus
9becb21e52
better comments for IColumn [CLICKHOUSE-2]
2018-08-29 15:10:18 +03:00
chertus
a69c936b44
improve field visitors for UUID CLICKHOUSE-3249
2018-08-29 14:58:40 +03:00
VadimPE
a569d88e6a
CLICKHOUSE-3847 add test
2018-08-29 13:04:41 +03:00
alesapin
a8db29c714
Merge remote-tracking branch 'upstream/master'
2018-08-29 11:42:50 +03:00
zhang2014
f921c9c169
ISSUES-863 support optimize predicate for view
2018-08-29 13:29:03 +08:00
Amos Bird
8851fbcab2
Padding for IO buffers.
...
Testing data
```
select 'aaaaaaaa','bbbbbbbb','cccccccc','dddddddd','eeeeeeee','ffffffff','gggg','hhh' from numbers(3000000) into outfile '/tmp/test.tsv'
```
Testing command
```
echo "select count() from file('/tmp/test.tsv', CSV, 'a String, b String, c String, d String, e String, f String, g String, h String') where not ignore(e)" | clickhouse-benchmark
```
TSV parser has less overhead than CSV, using it would better unveil the benefits of memcpySmall.
Before
```
QPS: 1.662, RPS: 4985463.906, MiB/s: 603.823, result RPS: 1.662, result MiB/s: 0.000.
0.000% 0.559 sec.
10.000% 0.564 sec.
20.000% 0.568 sec.
30.000% 0.572 sec.
40.000% 0.575 sec.
50.000% 0.581 sec.
60.000% 0.592 sec.
70.000% 0.624 sec.
80.000% 0.639 sec.
90.000% 0.664 sec.
95.000% 0.686 sec.
99.000% 0.711 sec.
99.900% 0.715 sec.
99.990% 0.716 sec.
```
After
```
QPS: 1.861, RPS: 5582303.107, MiB/s: 676.110, result RPS: 1.861, result MiB/s: 0.000.
0.000% 0.510 sec.
10.000% 0.514 sec.
20.000% 0.517 sec.
30.000% 0.521 sec.
40.000% 0.523 sec.
50.000% 0.527 sec.
60.000% 0.530 sec.
70.000% 0.539 sec.
80.000% 0.558 sec.
90.000% 0.584 sec.
95.000% 0.589 sec.
99.000% 0.608 sec.
99.900% 0.655 sec.
99.990% 0.663 sec.
```
2018-08-29 09:39:44 +08:00
alexey-milovidov
a5d7097c08
Merge pull request #2977 from amosbird/sse2csv
...
Enable sse2 for CSV parsing.
2018-08-29 03:04:17 +03:00
proller
e30d93a0f2
Better debug helpers ( #2983 )
...
* Better debug helpers
* fix
2018-08-29 03:03:07 +03:00
alexey-milovidov
f3b2cf6c11
Merge pull request #2985 from 4ertus2/uuid
...
field visitors for UUID CLICKHOUSE-3249
2018-08-29 03:02:25 +03:00
Alexey Milovidov
783fc4de27
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-28 23:39:28 +03:00
Alexey Milovidov
2581d88f0e
Better error message: avoid confusion when column is named a [#CLICKHOUSE-3]
2018-08-28 23:39:18 +03:00
proller
18044995ba
Fix includes
2018-08-28 22:36:27 +03:00
chertus
6a02b18b93
field visitors for UUID CLICKHOUSE-3249
2018-08-28 21:36:41 +03:00
Alexey Milovidov
f45afa37a8
Miscellaneous [#CLICKHOUSE-3]
2018-08-28 21:25:40 +03:00
alesapin
1a85271702
CLICKHOUSE-3800: Add expression cache
2018-08-28 20:06:42 +03:00
Vadim
2bab5f941d
Update 00701_join_default_strictness.sql
2018-08-28 17:58:08 +03:00
Vadim
6a3d398a26
Update 00701_join_default_strictness.reference
2018-08-28 17:57:44 +03:00
Vadim
9a0802f5bd
fix documentation
2018-08-28 17:52:27 +03:00
Vadim
98abde8480
Update ExpressionAnalyzer.cpp
2018-08-28 17:41:15 +03:00
Vadim
096b5e6a9d
Update ExpressionAnalyzer.cpp
2018-08-28 17:40:07 +03:00
Vadim
564ddbf8d8
Update ExpressionAnalyzer.cpp
2018-08-28 17:33:57 +03:00
VadimPE
139f855230
CLICKHOUSE-3934 add tests
2018-08-28 17:26:12 +03:00
Vadim
a8c1199ad4
Merge branch 'master' into CLICKHOUSE-3934
2018-08-28 17:06:17 +03:00
chertus
86dd83d012
fix use of broken context in decimal arithm/comparison
2018-08-28 16:59:52 +03:00
VadimPE
398d38eead
CLICKHOUSE-3934 add join_default_strictness
2018-08-28 16:57:31 +03:00
Amos Bird
4ae8721a82
ill formated #else breaks client history
2018-08-28 20:05:27 +08:00
proller
c219562b32
Better clickhouse-test-server
2018-08-28 14:57:35 +03:00
Amos Bird
8d6a26b8df
Enable sse2 for CSV parsing.
...
Testing data
```
select 'aaaaaaaa,bbbbbbbb,cccccccc,dddddddd,eeeeeeee,ffffffff,gggg,hhh' from numbers(3000000) into outfile '/tmp/test.csv'
```
Testing command
```
echo "select count() from file('/tmp/test.csv', CSV, 'a String, b String, c String, d String, e String, f String, g String, h String') where not ignore(e)" | clickhouse-benchmark
```
Before
```
QPS: 1.317, RPS: 3949749.687, MiB/s: 478.380, result RPS: 1.317, result MiB/s: 0.000.
0.000% 0.704 sec.
10.000% 0.712 sec.
20.000% 0.718 sec.
30.000% 0.726 sec.
40.000% 0.739 sec.
50.000% 0.754 sec.
60.000% 0.770 sec.
70.000% 0.788 sec.
80.000% 0.798 sec.
90.000% 0.815 sec.
95.000% 0.826 sec.
99.000% 0.850 sec.
99.900% 0.857 sec.
99.990% 0.858 sec.
```
After
```
QPS: 1.533, RPS: 4598308.336, MiB/s: 556.932, result RPS: 1.533, result MiB/s: 0.000.
0.000% 0.626 sec.
10.000% 0.635 sec.
20.000% 0.639 sec.
30.000% 0.642 sec.
40.000% 0.643 sec.
50.000% 0.645 sec.
60.000% 0.649 sec.
70.000% 0.652 sec.
80.000% 0.658 sec.
90.000% 0.682 sec.
95.000% 0.710 sec.
99.000% 0.727 sec.
99.900% 0.733 sec.
99.990% 0.734 sec.
```
2018-08-28 19:46:11 +08:00
alexey-milovidov
9ff0edc203
Merge pull request #2971 from urykhy/zk-operation-timeout
...
Make ZK operation timeout configurable
2018-08-28 14:23:09 +03:00
CurtizJ
a603595120
remove redundant code
2018-08-28 12:27:17 +03:00
Amos Bird
a4dfe0ae38
Extending arrayEnumerateUniq.
...
https://github.com/yandex/ClickHouse/issues/2934
2018-08-28 15:31:25 +08:00
zhang2014
16404c8e7b
ISSUES-2973 support nested json struct for visitParamExtractRaw
2018-08-28 13:45:21 +08:00
Alexey Milovidov
3e216f055c
Miscellaneous #2758
2018-08-28 03:44:42 +03:00
Alexey Milovidov
9a4b4fbccd
Miscellaneous #2758
2018-08-28 03:23:52 +03:00
Alexey Milovidov
236c3872b8
Miscellaneous #2758
2018-08-28 03:23:38 +03:00
Alexey Milovidov
32286484cd
Miscellaneous #2758
2018-08-28 03:22:32 +03:00
Alexey Milovidov
52379be265
Miscellaneous #2758
2018-08-28 03:21:02 +03:00
Alexey Milovidov
4f8d324fa7
Miscellaneous #2758
2018-08-28 03:18:32 +03:00
Alexey Milovidov
fa0ffcf8dc
Miscellaneous #2758
2018-08-28 03:17:27 +03:00
Alexey Milovidov
2a4b4eefd6
Miscellaneous #2758
2018-08-28 03:10:05 +03:00
Alexey Milovidov
ea643eeff9
Miscellaneous #2758
2018-08-28 03:03:10 +03:00
Alexey Milovidov
7c777c48d7
Miscellaneous #2758
2018-08-28 03:01:03 +03:00
Alexey Milovidov
0a7e288d70
Miscellaneous #2758
2018-08-28 02:59:49 +03:00
Alexey Milovidov
bab6cd504d
Miscellaneous #2758
2018-08-27 22:16:38 +03:00
Alexey Milovidov
24bd803c07
Whitespaces #2758
2018-08-27 22:06:32 +03:00
Alexey Milovidov
f5cc5ef877
Merge branch 'CLICKHOUSE-3847' of https://github.com/VadimPE/ClickHouse into VadimPE-CLICKHOUSE-3847
2018-08-27 22:04:14 +03:00
proller
cc86cb503e
clickhouse-test-server with temporary data dir
2018-08-27 21:32:50 +03:00
Alexey Milovidov
f9b6483f95
Checkpoint [#CLICKHOUSE-2]
2018-08-27 21:21:34 +03:00
Alexey Milovidov
74fee0dc98
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:20:58 +03:00
Alexey Milovidov
a3cd1ea8cb
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:16:32 +03:00
Alexey Milovidov
0d02315778
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:07:17 +03:00
Alexey Milovidov
3efffba44e
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:05:28 +03:00
Alexey Milovidov
956f76e000
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 20:58:43 +03:00
Alexey Milovidov
5b257c588f
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 20:42:13 +03:00
Yury Stankevich
f3024d2fba
Make ZK operation timeout configurable
2018-08-27 20:26:19 +03:00
Alexey Milovidov
d4ea8bdb88
Merge remote-tracking branch 'origin/master' into extra-warnings
2018-08-27 20:18:39 +03:00
Alexey Milovidov
6e18af7ed3
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 20:18:14 +03:00
chertus
d6a85d9d63
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-27 20:17:26 +03:00
chertus
220909eb39
minor fix CLICKHOUSE-3765
2018-08-27 20:17:12 +03:00
alexey-milovidov
98148d914c
Merge pull request #2958 from blahgeek/skip-json-object
...
Skip object fields on json input
2018-08-27 20:07:32 +03:00
Alexey Milovidov
486d87ebcd
Merge remote-tracking branch 'origin/master' into extra-warnings
2018-08-27 20:01:33 +03:00
alexey-milovidov
95b2bcbc6b
Merge pull request #2970 from 4ertus2/decimal
...
Some more Decimal
2018-08-27 19:59:26 +03:00
alexey-milovidov
3328fb456a
Merge pull request #2966 from amosbird/nrvo
...
Get rid of useless std::move to get NRVO
2018-08-27 19:56:03 +03:00
Alexey Milovidov
ad5855b7c1
Compatibility with old CMake [#CLICKHOUSE-2]
2018-08-27 19:49:40 +03:00
chertus
9dbaa5f4a9
remove strange code CLICKHOUSE-3765
2018-08-27 19:46:42 +03:00
Vadim
a246b913e0
Merge branch 'master' into ISSUES-2581
2018-08-27 19:45:35 +03:00
CurtizJ
0e28195e7a
update syntax and test
2018-08-27 19:43:29 +03:00
Vadim
2d8bffafa3
Update MergeTreeSettings.h
2018-08-27 19:38:54 +03:00
Vadim
4d9d80b271
Update MergeTreeSettings.h
2018-08-27 19:38:36 +03:00
Alexey Milovidov
076e1fb2e1
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 19:31:45 +03:00
alesapin
4ecf3ce8ef
Merge pull request #2969 from alesapin/master
...
CLICKHOUSE-3894: Fix Kafka test
2018-08-27 19:24:39 +03:00
VadimPE
418375aa1d
Merge branch 'CLICKHOUSE-3847' of https://github.com/VadimPE/ClickHouse into CLICKHOUSE-3847
2018-08-27 19:23:08 +03:00
VadimPE
70ebb6a47d
CLICKHOUSE-3847 fix code-style
2018-08-27 19:22:39 +03:00
Alexey Milovidov
e5a2dd8624
Merge branch 'master' into extra-warnings
2018-08-27 19:19:04 +03:00
chertus
ee873c8e9f
Merge branch 'master' into decimal
2018-08-27 19:18:48 +03:00
chertus
c86f2878ff
add special ColumnDecimal instead of ColumnVector<DecimalNN> CLICKHOUSE-3765
2018-08-27 19:16:16 +03:00
alesapin
1f0f1ecad3
CLICKHOUSE-3894: Fix Kafka test
2018-08-27 19:15:39 +03:00
Vadim
64a27e592b
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-27 19:00:40 +03:00
VadimPE
4d198f2bfe
CLICKHOUSE-3847 fix build
2018-08-27 18:54:07 +03:00
VadimPE
0281678c3e
CLICKHOUSE-3847 fix code style
2018-08-27 18:44:51 +03:00
Alexey Milovidov
303cc7242f
Addition to prev. revision #2956
2018-08-27 18:01:33 +03:00
Alexey Milovidov
6e57168030
Removed code with duplicate semantics [#CLICKHOUSE-2]
2018-08-27 18:01:33 +03:00
alexey-milovidov
7de0549879
Update ReadHelpers.h
2018-08-27 18:00:08 +03:00
alexey-milovidov
01f01b1ee1
Update ReadHelpers.cpp
2018-08-27 17:54:58 +03:00
alesapin
a2a623d228
Merge pull request #2967 from alesapin/master
...
Small fixes in testing framework
2018-08-27 17:53:56 +03:00
alesapin
716c8016d7
CLICKHOUSE-3894: Print stack trace
2018-08-27 17:45:37 +03:00
alesapin
06d091580d
CLICKHOUSE-3894: Increase MySQL timeout and add logging
2018-08-27 17:43:59 +03:00
proller
3acce3bff9
Build fix ( #2944 )
...
* Build fix
* Better sample build scripts
* zlib apple fix
* fix
* fix
* better so version
* SPLIT_SHARED -> LINK_MODE
* clean
2018-08-27 17:39:20 +03:00
Amos Bird
ea84430864
Get rid of useless std::move to get NRVO
...
http://eel.is/c++draft/class.copy.elision#:constructor,copy,elision
Some quote:
> Speaking of RVO, return std::move(w); prohibits it. It means "use move constructor or fail to compile", whereas return w; means "use RVO, and if you can't, use move constructor, and if you can't, use copy constructor, and if you can't, fail to compile."
There is one exception to this rule:
```cpp
Block FilterBlockInputStream::removeFilterIfNeed(Block && block)
{
if (block && remove_filter)
block.erase(static_cast<size_t>(filter_column));
return std::move(block);
}
```
because references are not eligible for NRVO, which is another rule "always move rvalue references and forward universal references" that takes precedence.
2018-08-27 22:15:48 +08:00
VadimPE
a8974f8786
CLICKHOUSE-3847 add Coordinator
2018-08-27 16:51:22 +03:00
alesapin
3913a6ef4e
Merge pull request #2965 from alesapin/master
...
CLICKHOUSE-3894: Wait zookeeper before clickhouse start
2018-08-27 16:51:05 +03:00
alesapin
570343fdb3
CLICKHOUSE-3894: Wait zookeeper before clickhouse start
2018-08-27 16:42:39 +03:00
alexey-milovidov
806316511f
Merge pull request #2960 from zhang2014/fix/on_cluster_crash
...
ISSUES-2482 fix crash when on cluster
2018-08-27 16:25:26 +03:00
Vadim
be2d821669
Merge branch 'master' into CLICKHOUSE-3847
2018-08-27 15:26:41 +03:00
Alexey Milovidov
eb165a0616
Tweak error code in ZooKeeper library for correct expectations from the calling code [#CLICKHOUSE-3916]
2018-08-27 15:19:29 +03:00
Vadim
c4e90d89f0
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-27 15:16:52 +03:00
VadimPE
22aa521884
CLICKHOUSE-3847 fix bug when replica recover and it's log_pointer will be deleted
2018-08-27 15:14:48 +03:00
VadimPE
cf0a7c1529
CLICKHOUSE-3847 fix bug when replica recover and it's log_pointer will be deleted
2018-08-27 15:09:22 +03:00
alesapin
d5dd32f4fe
CLICKHOUSE-3894: Fix test_config_substs test
2018-08-27 14:40:01 +03:00
zhang2014
f8d7cf17a7
ISSUES-2482 fix crash when on cluster
2018-08-27 19:03:22 +08:00
CurtizJ
b48a144d78
add mysql like rollup syntax
2018-08-27 12:50:30 +03:00
CurtizJ
a04c37251b
remove redundant code
2018-08-27 12:09:47 +03:00
Alexey Milovidov
252a00e25b
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 10:57:42 +03:00
BlahGeek
739119d355
skip object fields on json input
2018-08-27 12:01:47 +08:00
Alexey Milovidov
eed804ba94
Enabling extra warnings [#CLICKHOUSE-2]
2018-08-26 15:38:45 +03:00
Alexey Milovidov
e33b1d13aa
Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2]
2018-08-26 05:48:48 +03:00
Alexey Milovidov
b3c51070d4
Enabling -Wshadow-uncaptured-local [#CLICKHOUSE-2]
2018-08-26 05:41:05 +03:00
Alexey Milovidov
050a080be3
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-26 05:29:42 +03:00
Alexey Milovidov
f7796df158
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-26 05:26:55 +03:00
Alexey Milovidov
5f21f1ba7d
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-26 05:25:45 +03:00
Alexey Milovidov
167d8ec529
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-26 05:19:18 +03:00
Alexey Milovidov
042d84e1e3
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-26 05:17:18 +03:00
Alexey Milovidov
281faa1686
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-26 05:13:41 +03:00
Alexey Milovidov
8a0239b6ad
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-26 05:08:35 +03:00
Alexey Milovidov
b44343d83d
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-26 05:00:11 +03:00
Alexey Milovidov
e726fa89f8
Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2]
2018-08-26 04:58:56 +03:00
Alexey Milovidov
a1a70d4a65
Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2]
2018-08-26 04:56:34 +03:00
Alexey Milovidov
936c21de1f
Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2]
2018-08-26 04:42:02 +03:00
Alexey Milovidov
595bd32f41
Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2]
2018-08-26 04:41:08 +03:00
Alexey Milovidov
d252542e9a
Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2]
2018-08-26 04:37:22 +03:00
Alexey Milovidov
625f3fea08
Enabling -Wunused-exception-parameter [#CLICKHOUSE-2]
2018-08-26 04:36:41 +03:00
Alexey Milovidov
44e848856e
Enabling -Wunused-exception-parameter [#CLICKHOUSE-2]
2018-08-26 04:33:20 +03:00
Alexey Milovidov
c0202bfbc9
Enabling -Wunused-exception-parameter [#CLICKHOUSE-2]
2018-08-26 04:31:56 +03:00
Alexey Milovidov
29a6a85ccf
Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]
2018-08-26 04:31:12 +03:00
Alexey Milovidov
d4ef5d05f2
Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]
2018-08-26 04:26:25 +03:00
Alexey Milovidov
4877cf31aa
Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]
2018-08-26 04:25:35 +03:00
Alexey Milovidov
ac7673db29
Enabling -Wcomma [#CLICKHOUSE-2]
2018-08-26 04:24:21 +03:00
Alexey Milovidov
589ee74c7d
Enabling -Wcomma [#CLICKHOUSE-2]
2018-08-26 04:19:11 +03:00
Alexey Milovidov
8c48fb14de
Enabling -Wredundant-parens [#CLICKHOUSE-2]
2018-08-26 04:15:49 +03:00
Alexey Milovidov
4754abbc7d
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 04:14:00 +03:00
Alexey Milovidov
a70d0b79e4
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 04:13:02 +03:00
Alexey Milovidov
0fd919fdc5
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 04:11:58 +03:00
Alexey Milovidov
0ae34550db
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:52:58 +03:00
Alexey Milovidov
fa6e364f68
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:51:37 +03:00
Alexey Milovidov
6605098439
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:50:48 +03:00
Alexey Milovidov
52eb8fda3c
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:48:38 +03:00
Alexey Milovidov
6779de62d1
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:44:23 +03:00
Alexey Milovidov
3d0f62fb31
Enable some warnings from -Weverything [#CLICKHOUSE-2]
2018-08-26 03:39:11 +03:00
Alexey Milovidov
c193d15ef2
Merge branch 'master' into generalize-zookeeper
2018-08-26 03:32:15 +03:00
alexey-milovidov
f92bae33f8
Merge pull request #2949 from yandex/distinguish-between-definitely-lost-and-unknown-requests-in-zookeeper
...
ZooKeeperImpl: allow to distinguish cases when request was definitely not been processed.
2018-08-26 03:12:20 +03:00
Alexey Milovidov
2ce783e016
Merge branch 'read' of https://github.com/amosbird/ClickHouse into amosbird-read
2018-08-26 02:55:22 +03:00
alexey-milovidov
35806a4d27
Merge pull request #2955 from amosbird/varint
...
Fast path for varint read.
2018-08-26 02:47:04 +03:00
alexey-milovidov
00404a911c
Update VarInt.h
2018-08-26 02:46:18 +03:00
Amos Bird
a589230249
Faster path for varint read.
...
clickhouse-benchmark <<< 'select count() from s where not ignore(s);'
before this patch:
```
QPS: 0.732, RPS: 2346562049.608, MiB/s: 22378.560, result RPS: 0.732, result MiB/s: 0.000.
0.000% 1.310 sec.
10.000% 1.321 sec.
20.000% 1.327 sec.
30.000% 1.337 sec.
40.000% 1.343 sec.
50.000% 1.359 sec.
60.000% 1.366 sec.
70.000% 1.381 sec.
80.000% 1.400 sec.
90.000% 1.434 sec.
95.000% 1.448 sec.
99.000% 1.489 sec.
99.900% 1.499 sec.
99.990% 1.500 sec.
```
after this patch:
```
QPS: 0.787, RPS: 2524560389.064, MiB/s: 24076.084, result RPS: 0.787, result MiB/s: 0.000.
0.000% 1.228 sec.
10.000% 1.232 sec.
20.000% 1.235 sec.
30.000% 1.241 sec.
40.000% 1.246 sec.
50.000% 1.256 sec.
60.000% 1.265 sec.
70.000% 1.278 sec.
80.000% 1.296 sec.
90.000% 1.321 sec.
95.000% 1.354 sec.
99.000% 1.421 sec.
99.900% 1.453 sec.
99.990% 1.456 sec.
```
I also tried a SSE2 implementation and it's much slower (50%)
2018-08-26 02:23:26 +08:00
alexey-milovidov
732afd27cf
Merge pull request #2953 from yandex/max-block-size-in-system-tables-columns
...
Support for max_block_size in system.tables and system.columns tables
2018-08-25 20:36:54 +03:00
Amos Bird
9623e59870
Simplify read helpers.
...
Use similar APIs like https://en.cppreference.com/w/cpp/string/byte/strstr
2018-08-26 01:27:28 +08:00
Alexey Milovidov
0ef5b19436
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-25 19:50:14 +03:00
Alexey Milovidov
17818fa54f
Merge branch 'Tezd-feature/suggestions'
2018-08-25 19:49:48 +03:00
Alexey Milovidov
aa936b09f9
Added check for max_block_size = 0 #2447
2018-08-25 19:32:44 +03:00
Alexey Milovidov
9c79c5f8ab
Added test #2447
2018-08-25 19:26:55 +03:00
Alexey Milovidov
93b44fb17c
Made suggest case sensitive again. Otherwise there is a glitch when you type SELECT DIS<TAB> #2447
2018-08-25 19:19:00 +03:00
Alexey Milovidov
068e50329e
Support for max_block_size in system.tables and system.columns tables #2447
2018-08-25 19:07:48 +03:00
Alexey Milovidov
417cc1ab4d
Additions #2447
2018-08-25 19:05:01 +03:00
Alexey Milovidov
24083e3088
Separate files #2447
2018-08-25 16:55:18 +03:00
Alexey Milovidov
9293882206
Allow to disable suggestion; check server revision #2447
2018-08-25 16:41:50 +03:00
Alexey Milovidov
32eb1a7942
Merge branch 'feature/suggestions' of https://github.com/Tezd/ClickHouse into Tezd-feature/suggestions
2018-08-25 16:15:30 +03:00
Amos Bird
5f03082af9
Make sure BufferBase is fully swapped.
2018-08-25 19:58:16 +08:00
alexey-milovidov
046137f9c5
Merge pull request #2946 from amosbird/locking
...
Better locking for StorageBuffer
2018-08-25 13:47:29 +03:00
Amos Bird
2602177525
Better locking for StorageBuffer
2018-08-25 13:52:06 +08:00
Alexey Milovidov
8cc3501c04
Attempt to generalize ZooKeeper interface [#CLICKHOUSE-2]
2018-08-25 05:00:36 +03:00
Alexey Milovidov
3475ef5304
Attempt to generalize ZooKeeper interface [#CLICKHOUSE-2]
2018-08-25 04:58:14 +03:00
Alexey Milovidov
4d343a441c
Attempt to generalize ZooKeeper interface [#CLICKHOUSE-2]
2018-08-25 04:14:02 +03:00
Alexey Milovidov
01082d03d2
Adopted logic in ReplicatedMergeTreeBlockOutputStream #2949
2018-08-25 01:55:02 +03:00
Alexey Milovidov
cc56235ad9
Merge remote-tracking branch 'origin/master' into distinguish-between-definitely-lost-and-unknown-requests-in-zookeeper
2018-08-25 01:53:58 +03:00
Alexey Milovidov
2530561086
ZooKeeperImpl: allow to distinguish cases when request was definitely not been processed #2939
2018-08-25 01:50:20 +03:00
alexey-milovidov
7ba62c2e25
Merge pull request #2939 from yandex/fix-potential-data-loss-in-case-of-zk-errors
...
Fixed potential data loss in case of ZK errors [#CLICKHOUSE-3916]
2018-08-25 01:08:31 +03:00
CurtizJ
cf3fbb8c51
minor changes
2018-08-24 20:37:08 +03:00
CurtizJ
bdedf1df63
Add test
2018-08-24 20:34:56 +03:00
chertus
53ec40eeee
some decimal field improvements CLICKHOUSE-3765
2018-08-24 19:35:00 +03:00
CurtizJ
e0b3283ed3
Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3893
2018-08-24 18:09:53 +03:00
CurtizJ
c18ad18d96
Add rollup modificator
2018-08-24 18:00:00 +03:00
chertus
2e65f4922f
extract overflow funcs to arithmeticOverflow.h CLICKHOUSE-3906
2018-08-24 17:20:23 +03:00
chertus
d61614a3d9
fix enums getTypeId() CLICKHOUSE-3765
2018-08-24 15:55:31 +03:00
alexey-milovidov
3466277b0a
Merge pull request #2940 from yandex/better-exception-message-in-case-of-wrong-number-of-arguments-for-function-if
...
Better exception message in case of wrong number of arguments for function "if" [#CLICKHOUSE-3932]
2018-08-24 15:31:22 +03:00
alesapin
935ae2421b
Merge pull request #2943 from alesapin/master
...
Remove strange parameter and add version from env to all calls
2018-08-24 14:20:28 +03:00
chertus
54a3c028c5
Merge branch 'master' into decimal
2018-08-24 14:19:41 +03:00
alesapin
ec594ad8e8
Remove strange parameter and add version from env to all calls
2018-08-24 14:19:06 +03:00
Alexey Milovidov
9f6073b562
Fixed test #2940
2018-08-24 14:09:20 +03:00
alexey-milovidov
eab95e43d1
Merge pull request #2938 from yandex/speed-up-fuzz-tests-2
...
Speed up fuzz tests, part 2 #2924
2018-08-24 14:07:35 +03:00
alesapin
7722b3caa1
Merge pull request #2941 from alesapin/master
...
CLICKHOUSE-3894: Custom api version
2018-08-24 13:35:30 +03:00
alesapin
5849f4b9cb
CLICKHOUSE-3894: Custom api version
2018-08-24 13:31:19 +03:00
Alexey Milovidov
eee6644a22
Better exception message in case of wrong number of arguments for function "if" [#CLICKHOUSE-3932]
2018-08-24 12:57:42 +03:00
Alexey Milovidov
2febf6af4f
Fixed tests #2938
2018-08-24 12:47:47 +03:00
Alexey Milovidov
eec8af52f3
Fixed potential data loss [#CLICKHOUSE-3916]
2018-08-24 11:57:24 +03:00
daoready
605626e389
unused x
2018-08-24 11:56:32 +03:00
Alexey Milovidov
86ede3d38c
Removed "_dl_addr" from profile when high amount of queries are instantly rejected with exception as in case when "Too many simultaneous queries" [#CLICKHOUSE-3923]
2018-08-24 11:32:33 +03:00
Amos Bird
26903d6e8f
Add schema argument to ODBC table func.
...
Useful for datbases like postgres and greenplum.
2018-08-24 16:18:17 +08:00
Alexey Milovidov
030570f6d5
Renamed tests that are not long anymore #2924
2018-08-24 11:01:00 +03:00
Alexey Milovidov
bc799904ad
Speed up long tests #2938
2018-08-24 10:53:24 +03:00
zhang2014
cdc4c65adc
ISSUES-2906 support join for table function
2018-08-24 15:40:09 +08:00
Alexey Milovidov
080b0f7f1f
Speed up fuzz tests, part 2 #2924
2018-08-24 10:35:53 +03:00
Alexey Milovidov
a2fefa1617
Speed up fuzz tests, part 2 #2924
2018-08-24 10:30:53 +03:00
zhang2014
83ceeca199
ISSUES-2906 support join for table function
2018-08-24 14:45:24 +08:00
alexey-milovidov
5637b30556
Merge pull request #2929 from zhang2014/fix/support_asterisk_for_predcate_optimize
...
ISSUES-863 fix predicate not work for asterisk
2018-08-24 08:53:04 +03:00
Alexey Milovidov
91496574aa
Fixed error #2913
2018-08-24 08:45:03 +03:00
Alexey Milovidov
761422da22
Miscellaneous #2913
2018-08-24 08:37:06 +03:00
zhang2014
21528697f8
ISSUES-863 turn off enable_optimize_predicate_expression
2018-08-24 13:30:49 +08:00
daoready
4dd9eb193b
fix syntax
2018-08-24 08:27:44 +03:00
daoready
7449c87a14
fix syntax
2018-08-24 08:25:09 +03:00
Alexey Milovidov
6043ea02de
Style #2913
2018-08-24 08:25:00 +03:00
Alexey Milovidov
27d43fb7ff
Fixed typo #2913
2018-08-24 08:21:53 +03:00
Alexey Milovidov
f4813a47f8
Whitespaces #2913
2018-08-24 08:20:18 +03:00
zhang2014
bf517d5523
ISSUES-863 fix failure tests
2018-08-24 12:11:32 +08:00
alexey-milovidov
8f686525d8
Merge pull request #2937 from yandex/fix-array-distinct
...
Fixed arrayDistinct function [#CLICKHOUSE-3928]
2018-08-24 06:26:40 +03:00
Alexey Milovidov
a55b9623c5
Fixed arrayDistinct function [#CLICKHOUSE-3928]
2018-08-24 05:54:02 +03:00
zhang2014
32cc611f5d
ISSUES-863 fix predicate optimizer not work for asterisk
2018-08-24 10:05:43 +08:00
alexey-milovidov
442c501dd0
Merge pull request #2923 from yandex/remove-useless-option-in-clickhouse-local
...
Removed useless option --silent from the clickhouse-local, because it was implemented not according to the specs and the options --silent, --verbose, --echo was messed up #1773
2018-08-24 04:21:52 +03:00
Alexey Milovidov
38d5d8eaad
Reverted #2325 #2261
2018-08-24 03:53:09 +03:00
Alexey Milovidov
1437e5cbe3
Fix style [#CLICKHOUSE-2]
2018-08-24 03:07:25 +03:00
Alexey Milovidov
b76b5af044
Fixed bad code in clickhouse-local #2923
2018-08-24 02:59:16 +03:00
Alexey Milovidov
f08b271d5b
Merge branch 'master' into remove-useless-option-in-clickhouse-local
2018-08-24 02:42:45 +03:00
alexey-milovidov
e1e6e316d9
Merge pull request #2930 from yandex/fix-empty-parts-vertical-merge
...
Fix vertical merge of empty parts
2018-08-24 01:47:11 +03:00
alexey-milovidov
c538e78453
Merge pull request #2933 from zlobober/patch-1
...
More verbose access denied error message
2018-08-24 01:44:51 +03:00
daoready
b3d9c0fbe4
Merge branch 'cum_sum_limit' into cum_sum_limit2
...
# Conflicts:
# dbms/cmake/version.cmake
2018-08-23 23:05:41 +03:00
daoready
6465610a8d
changed version name
2018-08-23 22:33:51 +03:00
chertus
1467ca5610
decimal field visitors CLICKHOUSE-3765
2018-08-23 22:11:31 +03:00
Max Akhmedov
d5ccd26348
More verbose access denied error message
2018-08-23 21:44:13 +03:00
daoready
45ac0b623f
ArrayDifferenceImpl
2018-08-23 21:43:17 +03:00
proller
fe45a62c34
fix
2018-08-23 21:39:21 +03:00
daoready
48cd3341a0
ArrayCumSumLimitedImpl
2018-08-23 21:06:51 +03:00
Vadim
1c596db7c0
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-23 20:19:05 +03:00
proller
380a472a8d
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-23 20:16:14 +03:00
Vadim
0bc224ab46
Update StorageReplicatedMergeTree.cpp
2018-08-23 19:40:59 +03:00
Vadim
5a129f5383
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-23 19:37:28 +03:00
Vadim
380452c933
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-23 19:36:54 +03:00
Alexey Zatelepin
08f6305dba
add missed logging message
2018-08-23 19:33:25 +03:00
Vadim
e7d6bc3dbc
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-23 19:02:19 +03:00
VadimPE
ce217af78a
CLICKHOUSE-3847 fix
2018-08-23 18:58:29 +03:00
proller
62f98ee0cf
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-23 18:54:40 +03:00
alesapin
aae6967304
CLICKHOUSE-3894: Remove default from get
2018-08-23 18:38:25 +03:00
alesapin
762ffa1454
CLICKHOUSE-3894: Small impovements in integration tests framework
2018-08-23 18:31:20 +03:00
Vadim
9271ea7a5f
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-23 17:20:13 +03:00
Vadim
c1274f9776
Update StorageReplicatedMergeTree.cpp
2018-08-23 17:13:15 +03:00
Vadim
94699b8f6a
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-23 17:08:24 +03:00
Vadim
234242dd2d
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-23 17:04:53 +03:00
chertus
cbb80f52c2
own DecimalField for Decimal32/64/128, better field comparison CLICKHOUSE-3765
2018-08-23 17:03:37 +03:00
VadimPE
9beb841406
CLICKHOUSE-3847 fix throw and del log
2018-08-23 16:55:59 +03:00
proller
38347f120d
fixes
2018-08-23 15:20:54 +03:00
Alexey Zatelepin
cc2f10c1cc
add test for vertical merge of empty parts [#CLICKHOUSE-3913]
2018-08-23 15:15:30 +03:00
Alexey Zatelepin
f592aa84d1
fix vertical merge for empty parts [#CLICKHOUSE-3913]
2018-08-23 15:04:30 +03:00
proller
426b8c6130
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-23 14:27:05 +03:00
Amos Bird
f422a15ae1
Support events qualified for multiple conditions.
...
Currently windowFunnel function only take the first qualified condition
into account when operating on one event. This patch extends the
ability.
2018-08-23 18:30:50 +08:00
alexey-milovidov
9e652d8ccf
Merge pull request #2924 from yandex/speed-up-fuzz-tests
...
Speed up fuzz tests
2018-08-23 05:45:37 +03:00
Alexey Milovidov
451c6cd304
Removed a notice produced by gcc during build [#CLICKHOUSE-2]
2018-08-23 04:42:55 +03:00
Alexey Milovidov
814d227321
Fixed test [#CLICKHOUSE-2]
2018-08-23 04:35:46 +03:00
Alexey Milovidov
0562ab69e8
Fixed inconsistency between clickhouse-client and clickhouse-local [#CLICKHOUSE-2]
2018-08-23 04:35:19 +03:00
Alexey Milovidov
b9778a3764
Speed up fuzz tests [#CLICKHOUSE-2]
2018-08-23 04:31:28 +03:00
Alexey Milovidov
246f1947c5
Improvement #2887
2018-08-23 04:06:21 +03:00
Alexey Milovidov
d95e2be344
Updated test #2887
2018-08-23 04:05:04 +03:00
Alexey Milovidov
d372430193
Split long running tests [#CLICKHOUSE-2]
2018-08-23 04:01:25 +03:00
Alexey Milovidov
a2674d46fd
Fixed wrong code #2887
2018-08-23 03:49:18 +03:00
Alexey Milovidov
18857ed428
Increased passing for "00614_shard_same_header_for_local_and_remote_node_in_distributed_query" [#CLICKHOUSE-2]
2018-08-23 03:19:41 +03:00
Alexey Milovidov
61f3c4f0d1
Removed useless option --silent from the clickhouse-local, because it was implemented not according to the specs and the options --silent, --verbose, --echo was messed up #1773
2018-08-23 03:14:26 +03:00
Alexey Milovidov
61b8b60f53
Whitespaces [#CLICKHOUSE-3878]
2018-08-23 03:12:24 +03:00
Alexey Milovidov
0c129ab7f4
More descriptive error message in test [#CLICKHOUSE-2]
2018-08-23 02:54:33 +03:00
alexey-milovidov
5c1925af58
Merge pull request #2920 from VadimPE/CLICKHOUSE-3819
...
CLICKHOUSE-3819 add CASE without ELSE
2018-08-22 22:52:24 +03:00
alexey-milovidov
aaf218dab8
Merge pull request #2919 from yandex/low-cardinality-fix-partial-granule-reading
...
Low cardinality fix partial granule reading
2018-08-22 22:48:42 +03:00
alexey-milovidov
4f7b8fdbd9
Update 00688_case_without_else.reference
2018-08-22 22:23:13 +03:00
alexey-milovidov
0265cca018
Merge pull request #2921 from alesapin/master
...
Finally create test with odbc drivers
2018-08-22 22:19:07 +03:00
VadimPE
ee61c87fef
CLICKHOUSE-3819 fix tests
2018-08-22 21:40:08 +03:00
chertus
c61ccc4dfe
toDecimal128() CLICKHOUSE-3905
2018-08-22 20:26:11 +03:00
proller
1c085e18b8
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 19:56:44 +03:00
proller
e40708a1a5
clean
2018-08-22 19:56:00 +03:00
proller
e7d7479ed0
fix
2018-08-22 19:53:11 +03:00
proller
5951fd677d
wip
2018-08-22 19:52:33 +03:00
chertus
faafe1852b
add some comments CLICKHOUSE-3906
2018-08-22 19:28:02 +03:00
chertus
fd6a8142b7
rename toDecimal functions CLICKHOUSE-3905
2018-08-22 19:16:39 +03:00
alesapin
a6ca534a37
CLICKHOUSE-3878: Remove empty lines
2018-08-22 19:16:12 +03:00
alesapin
8163fd2b21
CLICKHOUSE-3878: Slightly improve test
2018-08-22 19:14:51 +03:00
alesapin
4d919759bf
CLICKHOUSE-3878: Remove local path
2018-08-22 18:56:04 +03:00
alesapin
ba0bf14175
CLICKHOUSE-3878: Fix message
2018-08-22 18:54:08 +03:00
alesapin
e2f18da1a9
CLICKHOUSE-3878: Add ODBC test
2018-08-22 18:42:27 +03:00
chertus
4d89caf422
fix decimal-arithm test (on clang build) CLICKHOUSE-3765
2018-08-22 18:41:21 +03:00
VadimPE
9e485dae1e
CLICKHOUSE-3819 add CASE without ELSE
2018-08-22 18:17:40 +03:00
chertus
81010e74cb
disable Decimal128 overflow tests (not working on cmake builds) CLICKHOUSE-3765
2018-08-22 18:15:15 +03:00
Vadim
1f7ec5d595
Update ErrorCodes.cpp
2018-08-22 17:27:13 +03:00
Vadim
22b7c436e5
Update StorageReplicatedMergeTree.cpp
2018-08-22 17:26:37 +03:00
Vadim
62b9b039cd
change exception
2018-08-22 17:25:30 +03:00
Vadim
623c6e0553
Update StorageReplicatedMergeTree.cpp
2018-08-22 17:19:48 +03:00
Vadim
b8dd1cbdf2
Update ReplicatedMergeTreeQueue.cpp
2018-08-22 17:18:05 +03:00
Vadim
58fa299b0a
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-22 17:14:30 +03:00
chertus
1eb45b94d2
fix test CLICKHOUSE-3765
2018-08-22 17:10:27 +03:00
Vadim
9bce62719f
Update ReplicatedMergeTreeQueue.cpp
2018-08-22 17:10:00 +03:00
Vadim
984d6b5db8
Update ReplicatedMergeTreeCleanupThread.cpp
2018-08-22 17:06:34 +03:00
proller
f47d93c92f
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 17:06:19 +03:00
VadimPE
a6ef4632a6
CLICKHOUSE-3847 add ErrorCodes
2018-08-22 17:04:04 +03:00
VadimPE
d81d4dfc70
CLICKHOUSE-3847 change createReplica and change check in cloneReolica()
2018-08-22 17:01:54 +03:00
Alexey Zatelepin
66d49f0abc
start and stop mutations_finalizing_task during replica restart [#CLICKHOUSE-3747]
2018-08-22 16:57:30 +03:00
Alexey Zatelepin
b6aa7542d0
add BackgroundSchedulePool::TaskInfo::activateAndSchedule() method
...
Almost always it (and not activate()) is precisely what is needed.
2018-08-22 16:43:27 +03:00
chertus
314dcc5e9e
add two options to disable Decimal overflow checks CLICKHOUSE-3906
2018-08-22 16:22:56 +03:00
proller
d2729f33e6
apple fix
2018-08-22 16:12:20 +03:00
proller
496cb9c2b1
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 16:02:23 +03:00
proller
ed5c5083c8
wip
2018-08-22 16:01:50 +03:00
Nikolai Kochetov
409d68b8c0
Added test for low cardinality with prewhere. #2896
2018-08-22 15:49:12 +03:00
Nikolai Kochetov
b165a53e30
Fix reading from partial granule for low cardinality type. #2896
2018-08-22 15:47:06 +03:00
Alexey Zatelepin
5c748bfdce
fix bug when MATERIALIZED columns were not selected during mutation #2900 [#CLICKHOUSE-3911]
2018-08-22 15:45:24 +03:00
Alexey Zatelepin
19ec609d36
add failing tests with materialized columns #2900 [#CLICKHOUSE-3911]
2018-08-22 15:42:18 +03:00
proller
b6dabaacb3
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 15:22:58 +03:00
Alexey Milovidov
6497d3032e
Dummy implementation for non-Linux platforms #2482
2018-08-22 09:00:08 +03:00
Alexey Milovidov
bc30d10b67
Dummy implementation for non-Linux platforms #2482
2018-08-22 08:59:27 +03:00
Alexey Milovidov
a1d745888d
Dummy implementation for non-Linux platforms #2482
2018-08-22 08:56:06 +03:00
Alexey Milovidov
d355aa3932
Enlarged the size of system log queue 1000 times. It is reasonable, because multiple records are generated for each query for query_thread_log. The maximum size of system log queue will be few hundred MBs #2482
2018-08-22 07:36:53 +03:00
Alexey Milovidov
5435dc3dc2
Fixed error with thread statuses #2482
2018-08-22 07:32:21 +03:00
Alexey Milovidov
6834401118
Fixed error when BackgroundSchedulePool is initialized in context of a query #2482
2018-08-22 07:04:39 +03:00
Alexey Milovidov
deb3ce534c
Fixed error when BackgroundSchedulePool is initialized in context of a query #2482
2018-08-22 07:04:02 +03:00
Alexey Milovidov
ca5b83ac39
Fixed error when BackgroundSchedulePool is initialized in context of a query #2482
2018-08-22 06:58:19 +03:00
Alexey Milovidov
fc9d335d41
Fixed error when empty part is generated after merge or mutation #2830
2018-08-22 06:33:46 +03:00
Alexey Milovidov
8c76b8e875
TaskStats: addition to prev. revision #2482
2018-08-22 06:12:55 +03:00
Alexey Milovidov
f5326ed29a
TaskStats: addition to prev. revision #2482
2018-08-22 06:11:46 +03:00
alexey-milovidov
3d7d600638
Merge pull request #2917 from yandex/fix-restarting-thread-init
...
Fix race in initialization of ReplicatedMergeTreeRestartingThread
2018-08-22 06:10:34 +03:00
Alexey Milovidov
e220a5041f
Better location #2877
2018-08-22 06:06:13 +03:00
Alexey Milovidov
d4b038b270
TaskStats: rewrite code #2482
2018-08-22 05:54:24 +03:00
Alexey Milovidov
efca6e4e09
Code cleanups #2482
2018-08-22 03:41:30 +03:00
Alexey Milovidov
43f1f70c9b
Code cleanups #2482
2018-08-22 03:24:55 +03:00
Alexey Milovidov
698761020f
Code cleanups #2482
2018-08-22 03:05:06 +03:00
proller
3884e0793c
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 03:01:15 +03:00
Alexey Milovidov
44e4f9cd26
Removed useless code #2482
2018-08-22 03:01:15 +03:00
Alexey Milovidov
509b43328e
Removed useless method #2482
2018-08-22 02:58:12 +03:00
Alexey Milovidov
b2b26f6e54
Removed useless method #2482
2018-08-22 02:56:55 +03:00
Alexey Milovidov
e0bf8c757b
Checking for capabilities in more direct way #2482
2018-08-22 02:52:03 +03:00
proller
67cb2ea294
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 00:37:09 +03:00
proller
6c21ced0f3
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 00:09:10 +03:00
Alexey Milovidov
ea98d79e56
TaskStats: better code #2482
2018-08-22 00:07:37 +03:00
Alexey Milovidov
aea01a4e0d
TaskStats: better code #2482
2018-08-22 00:07:06 +03:00
Alexey Milovidov
3fdff1abea
TaskStats: better code #2482
2018-08-22 00:05:30 +03:00
proller
7c5ffcfb4d
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 00:03:20 +03:00
chertus
eac6dd1c99
Merge branch 'master' into decimal
2018-08-21 21:55:36 +03:00
Alexey Milovidov
99d7b8a7ad
Allow to quit client while query is in progress by pressing Ctrl+C twice #2877
2018-08-21 21:42:46 +03:00
proller
300457da7a
fix
2018-08-21 21:35:47 +03:00
chertus
1e97f9e549
toDecimalN() functions CLICKHOUSE-3905
2018-08-21 21:25:38 +03:00
CurtizJ
0704da5756
Merge branch 'master' into CLICKHOUSE-3893
2018-08-21 20:34:01 +03:00
proller
df618dd829
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-21 19:52:35 +03:00
Alexey Milovidov
f68c322dca
Added error codes #2482
2018-08-21 19:49:20 +03:00
Alexey Milovidov
a04177290b
Miscellaneous #2482
2018-08-21 19:40:54 +03:00
alexey-milovidov
408ca4649e
Merge pull request #2909 from wawaka/wawaka/fix_reading_user_from_config
...
ISSUES-2629 clickhouse-client: fix reading user from config
2018-08-21 19:22:48 +03:00
alexey-milovidov
edd37cf617
Merge pull request #2910 from yandex/fix-point-in-poligon
...
Fix point in poligon
2018-08-21 19:17:30 +03:00
proller
169d9d3540
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-21 19:14:45 +03:00
alexey-milovidov
581a1c85c2
Merge pull request #2915 from alesapin/master
...
Add timeout to socket
2018-08-21 19:14:04 +03:00
alexey-milovidov
46f00c37e4
Update TaskStatsInfoGetter.cpp
2018-08-21 19:13:07 +03:00
CurtizJ
4534d449c1
working on rollup
2018-08-21 19:08:45 +03:00
proller
fc2925b567
Squashed commit of the following:
...
commit 2722e540abfee4a527d716474c4ca582eceeee08
Merge: b4f3af824 aebddd550
Author: proller <proller@github.com>
Date: Tue Aug 21 18:34:18 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit b4f3af824b88a8b6826583bb483730827574e8ad
Author: proller <proller@github.com>
Date: Tue Aug 21 17:00:20 2018 +0300
fix
commit 3a18fa7ded2a7d6b7a0883a1b9c2d6b99360837d
Author: proller <proller@github.com>
Date: Tue Aug 21 16:57:17 2018 +0300
fix
commit 5d42220c2cf47e1a86bdc73dbfc24b68f8626891
Author: proller <proller@github.com>
Date: Tue Aug 21 16:50:21 2018 +0300
freebsd fixes
commit 7baf4fb5ba4575f79b0d12a9ffaaabd34e1006da
Author: proller <proller@github.com>
Date: Tue Aug 21 16:17:19 2018 +0300
fix
commit e1fe707fd765b841a8d0952d91a980128cbf91d0
Author: proller <proller@github.com>
Date: Tue Aug 21 15:35:21 2018 +0300
fix
commit 027887c71b3ffa98d9473d50d8c3b79cbf3304ac
Author: proller <proller@github.com>
Date: Tue Aug 21 15:25:57 2018 +0300
fix
commit 81af41bfcfff7c02fe4060196cf03c2d2aab416e
Author: proller <proller@github.com>
Date: Tue Aug 21 15:20:41 2018 +0300
fix
commit 93d572c85d9c7e331254999a614c3b22b5573b02
Author: proller <proller@github.com>
Date: Tue Aug 21 14:58:07 2018 +0300
SPLIT_SHARED
commit dd5b8990d8527d59b1e890943d80c2bf27c613ce
Author: proller <proller@github.com>
Date: Tue Aug 21 14:52:39 2018 +0300
fix
commit 4840ca12ab752a38c1ef482e8ec59c5859bb48d7
Author: proller <proller@github.com>
Date: Tue Aug 21 14:46:31 2018 +0300
fix
commit abde633beb86f2a0d025d6fcf079965dbd827b92
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:32 2018 +0300
fix
commit 0d94a5476a5ba8ba5e88638d58f2cfbf2b4b662d
Author: proller <proller@github.com>
Date: Tue Aug 21 14:45:18 2018 +0300
Travis: try fail on ninja fail
commit c2686f90b68255c2beb0a708804aef404e80a6d2
Merge: 2c3427bbd 2aa7eb463
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:15 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 2c3427bbdb861edbb188ed4621e8a05cafaedafb
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:24 2018 +0300
fix
commit 530170c6a81d31dcfa81230e48520383234df4bc
Merge: 9abec162c f6e4ec970
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:03 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 9abec162cb2e09bbc2f33cbe80fe76791f6e5a77
Author: proller <proller@github.com>
Date: Mon Aug 20 23:49:58 2018 +0300
Apple fixes
commit 36d05e8217440fbc8ae21571b06d4eb6d679d538
Author: proller <proller@github.com>
Date: Mon Aug 20 23:25:05 2018 +0300
apple fix
commit aeec3e845e4456e89fbb1b1af6f9f36820a46e33
Author: proller <proller@github.com>
Date: Mon Aug 20 23:20:06 2018 +0300
fixes
commit 427961d916a5954981e47d94733996deb2a616ce
Author: proller <proller@github.com>
Date: Mon Aug 20 23:11:11 2018 +0300
fix
commit a7dd55ff8f653624c0f3dbcbc54defd3b3ae97af
Author: proller <proller@github.com>
Date: Mon Aug 20 22:41:53 2018 +0300
fix
commit 6200e0d315c7a62bae63a8de0fc32f7937770ad2
Merge: 8a541d7e6 21cedbe46
Author: proller <proller@github.com>
Date: Mon Aug 20 22:35:49 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8a541d7e64c89e2c16af6c909e0353361153aaa3
Author: proller <proller@github.com>
Date: Mon Aug 20 22:34:32 2018 +0300
Do not use poco types
commit fd560f43d048b7e3307c6c6b9c9d9918230014d8
Author: proller <proller@github.com>
Date: Mon Aug 20 22:20:42 2018 +0300
Try fix apple build
commit cfb2eba07ac06f19e822d3474341d800b1f98cf1
Merge: 8d2e31c90 5b81fdfc0
Author: proller <proller@github.com>
Date: Mon Aug 20 22:03:24 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8d2e31c908be2e99d09e2a9dde2414ab82a5e93c
Author: proller <proller@github.com>
Date: Mon Aug 20 21:56:06 2018 +0300
travis: TEST_SERVER_STARTUP_WAIT=10
2018-08-21 18:56:50 +03:00
alesapin
df012657e8
Change time to 50 mseconds
2018-08-21 18:40:19 +03:00
alesapin
726428a2c5
Add timeout to socket
2018-08-21 18:24:20 +03:00
Alexey Zatelepin
55d82dfc84
fix race in initialization of ReplicatedMergeTreeRestartingThread [#CLICKHOUSE-3899]
2018-08-21 18:22:55 +03:00
Vadim
e9954d3ab7
Update MergeTreeDataSelectExecutor.cpp
2018-08-21 17:53:16 +03:00
Vadim
79a089a996
Update MergeTreeDataSelectExecutor.h
2018-08-21 17:32:47 +03:00
Vadim
5f7117e6a2
Update MergeTreeDataSelectExecutor.cpp
2018-08-21 17:32:28 +03:00
Vadim
b96d15f266
Update MergeTreeDataSelectExecutor.cpp
2018-08-21 17:28:22 +03:00
Nikolai Kochetov
a475bb1c9f
Merge branch 'master' into low-cardinality-group-by
2018-08-21 17:28:10 +03:00
Vadim
306c1b0b48
Update MergeTreeDataSelectExecutor.h
2018-08-21 17:27:51 +03:00
Vadim
854192e666
Update StorageReplicatedMergeTree.cpp
2018-08-21 17:26:20 +03:00
Vadim
3598f39f82
Merge branch 'master' into ISSUES-2581
2018-08-21 17:24:03 +03:00
Nikolai Kochetov
04a91a79a9
Added test for low cardinality deserialization. #2896
2018-08-21 17:05:57 +03:00
Nikolai Kochetov
b291a9694e
Force update dictionary when seek to new granule. #2896
2018-08-21 17:05:50 +03:00
Nikolai Kochetov
c27bade22b
Added test for pointInPolygon #2866
2018-08-21 14:33:31 +03:00
Nikolai Kochetov
3404d72da1
Fix pointInPolygon case with nonconvex polygon with two nontrivial halfplanes in cell. #2866
2018-08-21 14:33:15 +03:00
Vadim
297be5c303
Update ErrorCodes.cpp
2018-08-21 13:45:34 +03:00
Vadim
8f3350216f
Merge branch 'master' into CLICKHOUSE-3847
2018-08-21 13:27:18 +03:00
VadimPE
99a26f17f6
CLICKHOUSE-3847 fix settings
2018-08-21 13:23:48 +03:00
Vladimir Kozbin
cdb7116f37
ISSUES-2629 clickhouse-client: fix reading user from config
2018-08-21 17:04:27 +07:00
Alexey Milovidov
2aa7eb463a
Fixed test #2888
2018-08-21 08:03:35 +03:00
Alexey Milovidov
7d76c3fd4f
Miscellaneous [#CLICKHOUSE-3765]
2018-08-21 07:31:35 +03:00
Alexey Milovidov
15c971a225
Decimal: fixed error [#CLICKHOUSE-3765]
2018-08-21 07:00:50 +03:00
Alexey Milovidov
9287a63180
Removed useless headers [#CLICKHOUSE-3249]
2018-08-21 06:40:47 +03:00
Alexey Milovidov
be80ac893e
Whitespace [#CLICKHOUSE-3621]
2018-08-21 06:40:09 +03:00
Alexey Milovidov
3b39f6a4c3
Split ZooKeeperExceptions to three different metrics #2316
2018-08-21 04:27:22 +03:00
Alexey Milovidov
d278cbbed5
Addition to prev. revision #2877
2018-08-21 02:39:41 +03:00
Alexey Milovidov
b98cfe0f66
Addition to prev. revision #2877
2018-08-21 02:30:24 +03:00
Alexey Milovidov
cf224f32c4
Addition to prev. revision #2877
2018-08-21 02:28:27 +03:00
Alexey Milovidov
bcbcbcdbb1
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-21 02:22:30 +03:00
Alexey Milovidov
7fc39611e5
Implemented #2877 in another way
2018-08-21 02:22:20 +03:00
VadimPE
a49cc41279
CLICKHOUSE-3847 add support old version of CH server
2018-08-21 02:08:45 +03:00
Alexey Milovidov
21cedbe46f
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-20 22:24:45 +03:00
Alexey Milovidov
0a7638fc9f
Added test #2897
2018-08-20 22:24:39 +03:00
VadimPE
4064ec0bc2
CLICKHOUSE-3847 add value '1' and '2' in is_lost
2018-08-20 20:15:04 +03:00
proller
91363760ea
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-20 19:34:09 +03:00
Alexey Milovidov
b657c6b848
Added forwarding of mutation for Materialized views #2897
2018-08-20 19:28:30 +03:00
Alexey Milovidov
37a49a5898
Added test #2888
2018-08-20 19:20:58 +03:00
Alexey Milovidov
9f007ab3a0
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-20 19:12:07 +03:00
Alexey Milovidov
2138f50e48
Better exception message #2888
2018-08-20 19:10:58 +03:00
Alexey Zatelepin
765b908450
change the order in which the locks are taken to make TSan happy [#CLICKHOUSE-3892]
2018-08-20 19:07:07 +03:00
Alexey Milovidov
465ff07398
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-20 18:50:09 +03:00
Alexey Milovidov
2717185991
Modified names #2015
2018-08-20 18:49:39 +03:00
proller
159cdbbb3e
Try fix build (link order)
2018-08-20 18:34:37 +03:00
chertus
cdff502828
types convertion via helpers CLICKHOUSE-3765
2018-08-20 18:17:55 +03:00
alexey-milovidov
934d480a7a
Merge pull request #2894 from yandex/fix-catboost-pool-path-normalization
...
Fix catboost pool path normalization
2018-08-20 17:16:09 +03:00
VadimPE
0c119d7667
CLICKHOUSE-3847 fix bugs
2018-08-20 16:31:24 +03:00
Nikolai Kochetov
b64bb8af14
Fix tests.
2018-08-20 15:57:31 +03:00
Nikolai Kochetov
391b4b5927
Merged with master.
2018-08-20 15:25:06 +03:00
Nikolai Kochetov
8d8c399f95
Added for catboost pool [#CLICKHOUSE-3871]
2018-08-20 14:51:14 +03:00
Nikolai Kochetov
aaf719d671
Fix header for catboost pool [#CLICKHOUSE-3871]
2018-08-20 13:33:14 +03:00
Nikolai Kochetov
57b626a796
Added path canonization for catboost pool. [#CLICKHOUSE-3871]
2018-08-20 12:51:11 +03:00
alexey-milovidov
bce94dae9b
Merge pull request #2887 from housepower/retention
...
Add AggregateFunctionRetention
2018-08-20 09:38:43 +03:00
alexey-milovidov
89ee237ee4
Update AggregateFunctionRetention.h
2018-08-20 07:22:04 +03:00
Alexey Milovidov
4cf162914a
Example server config: listen to IPv4 (for Travis) [#CLICKHOUSE-2]
2018-08-20 06:47:27 +03:00
Alexey Milovidov
1c9c6f6cfc
Moved "TestHint" code to separate file #2744
2018-08-20 06:34:10 +03:00
Alexey Milovidov
79fb33d14f
Fixed test #2015
2018-08-20 06:28:21 +03:00
Alexey Milovidov
b07ad553ef
Fixed test #2015
2018-08-20 06:27:16 +03:00
Alexey Milovidov
9e15b49254
Added useful comments that code is totally wrong #2744
2018-08-20 06:21:26 +03:00
Alexey Milovidov
f9a70a378c
Addition to prev. revision #2482
2018-08-20 05:42:17 +03:00
Alexey Milovidov
e0f1637506
Moved file to appropriate place; split to cpp #2482
2018-08-20 05:34:00 +03:00
Alexey Milovidov
f1ba2f9a33
Try to fix "query in form data" feature while still tracking limits for external tables (try №2) #2482
2018-08-20 05:23:35 +03:00
Alexey Milovidov
40a0551d85
Client --testmode cannot be used to catch exceptions thrown from query parser #2840
2018-08-19 23:41:45 +03:00
Alexey Milovidov
41ec796a67
Little better [#CLICKHOUSE-2]
2018-08-19 23:26:11 +03:00
Alexey Milovidov
ce10e5bd6f
Modified example config for running clickhouse-server from the source tree to run tests smoothly [#CLICKHOUSE-2]
2018-08-19 23:21:36 +03:00
Alexey Milovidov
6fb8b4e5cd
Opinionated changes #2893
2018-08-19 23:18:31 +03:00
alexey-milovidov
5a30b4790e
Update ColumnInfoHandler.h
2018-08-19 23:13:22 +03:00
alesapin
f6c9587d0a
CLICKHOUSE-3878: Move last interaction with ODBC from main code to bridge, split Handlers file on three different, slightly remove copy-paste code
2018-08-19 20:09:54 +03:00
Alexey Milovidov
a6945ba00b
Fix according to @ludv1x advise #2482
2018-08-19 08:33:50 +03:00
Alexey Milovidov
06a7d0194d
Fixed test #2482
2018-08-19 07:56:20 +03:00
Alexey Milovidov
6741582950
Better diagnostic in test #2482
2018-08-19 07:54:14 +03:00
Alexey Milovidov
99b19c3a66
Miscellaneous #2482
2018-08-19 07:45:39 +03:00
Alexey Milovidov
bf68280bf3
Miscellaneous #2482
2018-08-19 07:43:58 +03:00
Alexey Milovidov
c81eaf66da
Corrected comment #2482
2018-08-19 07:31:51 +03:00
Alexey Milovidov
1802b00c0b
Fixed bad arithmetic; miscellaneous #2482
2018-08-19 07:25:53 +03:00
sundy-li
63d74978d8
add AggregateFunctionRetention
2018-08-18 20:39:07 +08:00
Alexey Milovidov
2dae8f9396
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-08-18 04:45:00 +03:00
Alexey Milovidov
1c4f5d3359
Miscellaneous #2482
2018-08-17 21:57:07 +03:00
proller
62b6b6d73e
Rare segfault fix
2018-08-17 21:23:10 +03:00
Alexandr Krasheninnikov
408f8a228e
Implementation of missing formats
2018-08-17 18:36:04 +03:00
Amos Bird
57970a8bef
Using correct config ref to initialize odbc bridge
2018-08-17 19:00:42 +08:00
Alexey Milovidov
aef490d173
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
...
Conflicts:
dbms/src/Common/ODBCBridgeHelper.h
2018-08-17 00:47:15 +03:00
chertus
23c0e8efb5
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-16 14:05:20 +03:00
chertus
70d2c4ecf6
minor changes [CLICKHOUSE-3765]
2018-08-16 14:05:14 +03:00
chenxing.xc
63fb4a5515
incorrect result iff only bucket #0 block received
2018-08-16 10:50:09 +08:00
Alexey Milovidov
b088154b14
Merge branch 'CLICKHOUSE-2910' of github.com:yandex/ClickHouse into CLICKHOUSE-2910
2018-08-16 01:43:59 +03:00
Alexey Milovidov
e2eb0650b8
Auto version update to [18.11.0] [54406]
2018-08-16 01:43:16 +03:00
Alexey Milovidov
56af576fe5
Removed duplicate query_id logging #2482
2018-08-16 01:39:19 +03:00
alesapin
2583abfccf
CLICKHOUSE-3878: Conflict fixes
2018-08-16 01:02:36 +03:00
alesapin
62c166db79
CLICKHOUSE-3878: Build fixes
2018-08-16 01:00:45 +03:00
alesapin
6fa4af882f
CLICKHOUSE-3878: Build fixes
2018-08-16 01:00:28 +03:00
Alexey Milovidov
9a78ee3e44
Removed static std::string variable #2482
2018-08-16 00:57:40 +03:00
Alexey Milovidov
76af46ed5d
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
...
Conflicts:
dbms/src/Interpreters/Settings.h
dbms/tests/queries/0_stateless/00687_top_and_offset.sql
2018-08-16 00:44:24 +03:00
chertus
0415c9e34a
fix int128 to float comparison [CLICKHOUSE-3765]
2018-08-15 19:43:40 +03:00
chertus
c8e945d73d
one another build fix
2018-08-15 18:29:57 +03:00
chertus
3805794e66
some more build fixes
2018-08-15 16:27:22 +03:00
alexey-milovidov
4524dcaf9a
Merge pull request #2871 from zhang2014/fix/build_failure
...
ISSUES-2846 fix build failure with gcc 8.1
2018-08-15 13:35:23 +03:00
zhang2014
1549baa4e9
ISSUES-863 fix test failure #2015 #2840
2018-08-15 13:43:44 +08:00
zhang2014
3b0f0ac01e
ISSUES-2846 fix build failure with gcc 8.1
2018-08-15 11:51:03 +08:00
Alexey Milovidov
ab2213442d
Miscellaneous #2482
2018-08-15 01:01:41 +03:00
Alexey Milovidov
dfd9be86d8
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-08-15 00:50:00 +03:00
Alexey Milovidov
5410f73ba7
Fixed warnings #2015
2018-08-15 00:49:51 +03:00
Alexey Milovidov
31867c0612
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-08-15 00:48:51 +03:00
Alexey Milovidov
03af27a218
Fixed warnings #2015
2018-08-15 00:48:39 +03:00
Alexey Milovidov
9916a75f2e
Merging #2482
2018-08-15 00:35:26 +03:00
alexey-milovidov
ce9c6a5ab3
Merge branch 'master' into feature/ISSUES-863
2018-08-15 00:34:23 +03:00
Alexey Milovidov
c80db48a6e
Merging #2482
2018-08-15 00:32:49 +03:00
alexey-milovidov
8586e6bb2e
Merge pull request #2787 from zhang2014/fix/replace_asterisk
...
ISSUES-2786 fix replace asterisk with join query
2018-08-15 00:28:35 +03:00
Alexey Milovidov
c72482528c
Merging #2482
2018-08-15 00:18:14 +03:00
Alexey Milovidov
93c9eab088
Merging #2482
2018-08-15 00:15:17 +03:00
chertus
7ca6a0737d
some more build fixes
2018-08-15 00:12:23 +03:00
alexey-milovidov
e7b671ec98
Merge branch 'master' into feature/ISSUES-863
2018-08-15 00:10:21 +03:00
Alexey Milovidov
21579a3cc8
Removed static std::string variable #2482
2018-08-14 23:56:23 +03:00
Alexey Milovidov
acb99b49df
Merge branch 'master' into CLICKHOUSE-2910
2018-08-14 23:29:42 +03:00
alexey-milovidov
c376b2d476
Merge pull request #2869 from yandex/low-cardinality-fixes
...
LowCardinality fixes
2018-08-14 22:36:19 +03:00
alexey-milovidov
beabb91903
Update IFunction.cpp
2018-08-14 22:35:52 +03:00
Alexey Milovidov
979154122f
Changed strange name #2846
2018-08-14 22:34:25 +03:00
chertus
44c3166c6e
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-14 22:17:28 +03:00
chertus
21fe103831
fix clang build
2018-08-14 22:16:56 +03:00
Nikolai Kochetov
2953be89a4
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-14 21:00:41 +03:00
Nikolai Kochetov
fce3bc193b
Updated test for JOIN ON syntax. [#CLICKHOUSE-3761]
2018-08-14 21:00:17 +03:00
Nikolai Kochetov
2f0f7eacbf
Updated test. [#CLICKHOUSE-3621]
2018-08-14 20:19:55 +03:00
Nikolai Kochetov
26f464a4f9
Fix Const(LowCardinality) conversion. [#CLICKHOUSE-3621]
2018-08-14 20:19:48 +03:00
Nikolai Kochetov
f61fdf2076
Better const resolution for LowCardinality type. [#CLICKHOUSE-3621]
2018-08-14 20:19:40 +03:00
VadimPE
c8e2506b5f
ISSUES-2581 add check when replica do not have part added with quorum
2018-08-14 19:40:51 +03:00
alexey-milovidov
c5b90717c2
Merge pull request #2828 from alesapin/master
...
CLICKHOUSE-3878: ODBC-Bridge tool implementation
2018-08-14 17:25:43 +03:00
chertus
15cdd7b2bd
make clang happy
2018-08-14 17:19:58 +03:00
alesapin
942d9a5fee
Merge branch 'master' into master
2018-08-14 17:09:27 +03:00
proller
a2343890dd
Build fixes ( #2864 )
...
* Try fix internal compiler headers path
* Build fixes
* fix
* wip
* clean
* Update arch.cmake
2018-08-14 16:31:26 +03:00
chertus
8c54b480bc
minor fix
2018-08-14 16:26:23 +03:00
chertus
74823c8c17
add allow_experimental_decimal to settings
2018-08-14 15:51:45 +03:00
chertus
241b05c80a
merge master
2018-08-14 15:50:28 +03:00
alesapin
edc2dc45b6
Merge branch 'master' into master
2018-08-14 13:35:32 +03:00
alesapin
af19d4133d
CLICKHOUSE-3878: Move connection string validation to common, remove redundant headers, fix compilation issues
2018-08-14 13:33:41 +03:00
VadimPE
74aded610f
Merge branch 'ISSUES-2581' of github.com:VadimPE/ClickHouse into ISSUES-2581
2018-08-14 13:25:15 +03:00
VadimPE
a37ad50329
ISSUES-2581 fix build
2018-08-14 13:24:39 +03:00
Vadim
537a8f0240
Update MergeTreeDataSelectExecutor.cpp
2018-08-14 13:03:32 +03:00
VadimPE
3c0f6ce87b
ISSUES-2581 fix SELECT with select_sequential_consistency
2018-08-14 12:57:18 +03:00
alexey-milovidov
6b3375393d
Merge pull request #2840 from VadimPE/CLICKHOUSE-3211
...
CLICKHOUSE-3211 add TOP m, and OFFSET k
2018-08-14 12:55:12 +03:00
alexey-milovidov
f42bd36fa0
Merge pull request #2856 from zhang2014/feature/add_check_access_database_for_system_tables
...
Add check access database for system tables
2018-08-14 12:53:43 +03:00
Vadim
077ed3a61b
Update 00687_top_and_offset.sql
2018-08-14 12:12:38 +03:00
Vadim
f6d6c4b8f7
Update 00687_top_and_offset.sql
2018-08-14 12:09:25 +03:00
zhang2014
e51264c3a5
Add check access database for system tables
2018-08-14 11:28:32 +08:00
alexey-milovidov
3e9f25b1b4
Merge pull request #2830 from yandex/data-type-with-dictionary
...
LowCardinality data type.
2018-08-13 23:49:21 +03:00
Nikolai Kochetov
df73ef1ba5
Fix tests.
2018-08-13 22:43:26 +03:00
alesapin
83d5dba53b
CLICKHOUSE-3878: Move ODBCDictionary to odbc-bridge
2018-08-13 21:10:26 +03:00
Nikolai Kochetov
4f31d136cb
Fix build.
2018-08-13 20:52:57 +03:00
Nikolai Kochetov
5d5344f106
Added allow_experimental_low_cardinality_type setting.
2018-08-13 20:02:54 +03:00
alexey-milovidov
c19213c6e7
Merge pull request #2845 from yandex/fix-arrayDistinct
...
fix arrayDistinct
2018-08-13 19:46:53 +03:00
Nikolai Kochetov
5379c52b9e
Support Aggregator for LowCardinality single key.
2018-08-13 19:23:40 +03:00
alesapin
88f1346be4
Merge pull request #2860 from alesapin/fix_test
...
Fix 00606_quantiles_and_nans test
2018-08-13 18:59:11 +03:00
Vadim
8510bc3bbd
del white space
2018-08-13 18:31:45 +03:00
alesapin
808068526b
Fix 00606_quantiles_and_nans test
2018-08-13 18:03:53 +03:00
alesapin
d6fbf23e9d
Fix 00606_quantiles_and_nans test
2018-08-13 18:02:23 +03:00
alesapin
76baaf9620
CLICKHOUSE-3878: Remove redundant prefix
2018-08-13 18:00:41 +03:00
Vadim
e51e0f5eb9
Update ErrorCodes.cpp
2018-08-13 15:22:58 +03:00
Vadim
4e0e500e15
Update 00687_top_and_offset.sql
2018-08-13 13:49:00 +03:00
Vadim
b9b6818325
Merge branch 'master' into CLICKHOUSE-3211
2018-08-13 13:48:44 +03:00
Vadim
ed97f7e475
Update 00687_top_and_offset.sql
2018-08-13 13:47:38 +03:00
Vadim
61a26f7846
Update ErrorCodes.cpp
2018-08-13 13:46:06 +03:00
VadimPE
bb9d99b00c
CLICKHOUSE-3211 add Exception
2018-08-13 13:45:27 +03:00
alesapin
a78904a2ef
Merge remote-tracking branch 'upstream/master'
2018-08-13 13:35:42 +03:00
robot-clickhouse
940a453034
Auto version update to [18.10.3] [54405]
2018-08-13 12:42:01 +03:00
alesapin
6fe3f0b13c
Merge remote-tracking branch 'upstream/master'
2018-08-13 12:36:27 +03:00
zhang2014
59b25812e7
Add check access database for system tables
2018-08-13 17:35:40 +08:00
sundy-li
4b9a1390ff
add quantile tests
2018-08-13 17:28:49 +08:00
alexey-milovidov
f538bd2113
Merge branch 'master' into decimal
2018-08-13 11:57:42 +03:00
VadimPE
a2b1100a82
add tests
2018-08-13 11:52:56 +03:00
sundy-li
65670bc33a
return nan when quantileExact with empty float column
2018-08-13 16:33:51 +08:00
robot-clickhouse
9d44eebfe6
Auto version update to [18.10.2] [54405]
2018-08-13 11:30:02 +03:00
alexey-milovidov
6114dfbad2
Merge pull request #2851 from zhang2014/feature/add_dependies_for_system_tables
...
ISSUES-2850 add dependencies for system tables
2018-08-13 07:57:26 +03:00
Alexey Milovidov
7e50c88538
Added test case [#CLICKHOUSE-3891]
2018-08-13 07:35:12 +03:00
zhang2014
741abc2644
ISSUES-2803 add query test #2803
2018-08-13 11:02:50 +08:00
zhang2014
62a85536b4
ISSUES-2786 add asterisk_left_columns_only setting
2018-08-13 11:02:50 +08:00
zhang2014
d7cd77640d
ISSUES-2786 fix replace asterisk with join query
2018-08-13 11:01:55 +08:00
alesapin
53b23e0113
CLICKHOUSE-3878: Add inherited fd's closing function
2018-08-12 15:23:22 +03:00
zhang2014
d766d4b014
ISSUES-2850 add dependencies for system tables
2018-08-12 16:05:12 +08:00
zhang2014
dd10e85e90
ISSUES-2850 add dependencies for system tables
2018-08-11 17:35:29 +08:00
proller
1e3c637741
Try fix internal compiler headers path
2018-08-11 02:28:33 +03:00
proller
3af99efd65
CLICKHOUSE-3530: Versioned inetrnal compiler headers ( #2837 )
2018-08-10 22:53:49 +03:00
Kirill Shvakov
a3ace87046
Add new system table "merge_tree_settings" ( #2841 )
...
* #2249 allow macros while creating kafka engine
* Update Macros.cpp
* Update Macros.h
* Add system table: merge_tree_settings
2018-08-10 20:42:12 +03:00
Vadim
552d789aa6
Update FunctionsArray.cpp
2018-08-10 18:29:28 +03:00
Vadim
2c6a9b2a92
Update FunctionsArray.h
2018-08-10 18:27:06 +03:00
alesapin
f11574cbfb
CLICKHOUSE-3878: Sleep optimization
2018-08-10 18:07:54 +03:00
chertus
01c8b1d7bb
decimal field extraction (from column or type)
2018-08-10 17:57:55 +03:00
alesapin
c3588a582c
CLICKHOUSE-3878: Add some comments and small readme
2018-08-10 17:46:12 +03:00
Nikolai Kochetov
4a62ab9d5c
Merged with master.
2018-08-10 16:53:08 +03:00
alesapin
cd9a016f62
CLICKHOUSE-3878: Fix merge conflict
2018-08-10 14:43:20 +03:00
alesapin
dde09bd8a5
CLICKHOUSE-3878: Start bridge not like daemon but background child, more explicit logging, fix mutex bug, add SCOPE_EXIT in bridge
2018-08-10 14:42:12 +03:00
VadimPE
6e461213bb
CLICKHOUSE-3211 add tests
2018-08-10 14:27:55 +03:00
VadimPE
e8ebcc4d48
CLICKHOUSE-3211 add TOP m, and OFFSET k
2018-08-10 14:12:43 +03:00
Alexey Milovidov
9c3cd25f6e
Fixed link order #1983
2018-08-10 07:53:45 +03:00
Alexey Milovidov
cc8a0488d3
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-10 07:03:32 +03:00
Alexey Milovidov
36db216abf
Preparation for extra warnings [#CLICKHOUSE-2]
2018-08-10 07:02:56 +03:00
robot-clickhouse
e53899a561
Auto version update to [18.10.1] [54405]
2018-08-10 06:02:50 +03:00
Alexey Milovidov
d8ca4345b6
Fixed style violations [#CLICKHOUSE-2]
2018-08-10 04:41:54 +03:00
Alexey Milovidov
29e40f0087
Fixed potential error #2832
2018-08-10 04:31:55 +03:00
Anton Popov
c019d732c5
ClickHouse 3419 Add setting prefer_localhost_replica ( #2832 )
...
* add setting prefer_localhost_replica
* add prefer_localhost_replica setting
* fix bugs
* update setting comment
* Add test for prefer_localhost_replica
* fix bug
2018-08-10 04:27:54 +03:00
proller
973bdab77f
Format ODBCDriver2 with NULL support ( #2834 )
...
* Format ODBCDriver2 with NULL support
* Fix comment
* Update ODBCDriver2BlockOutputStream.cpp
* clean
2018-08-10 04:20:10 +03:00
Alexey Milovidov
b6d6b57cec
Revert "Fixed link order #2807 "
...
This reverts commit 2f2fafb74a
.
2018-08-10 00:01:59 +03:00
Alexey Milovidov
2f2fafb74a
Fixed link order #2807
2018-08-09 23:43:28 +03:00
alesapin
04db4ddc46
CLICKHOUSE-3878: Next iteration in odbc-bridge
2018-08-09 21:49:05 +03:00
chertus
479166283e
DecField (in progress)
2018-08-09 19:32:01 +03:00
Vadim
44cb046eb9
Update StorageReplicatedMergeTree.cpp
2018-08-09 19:25:19 +03:00
Vadim
fad1e37605
Update ReplicatedMergeTreeQueue.h
2018-08-09 19:24:37 +03:00
Vadim
a133f20b33
Update ReplicatedMergeTreeQueue.cpp
2018-08-09 19:24:03 +03:00
Vadim
434017d193
Update StorageReplicatedMergeTree.cpp
2018-08-09 18:09:05 +03:00
VadimPE
75900f494f
CLICKHOUSE-3847 add "is_lost". load() in Queue can check duplicate records
2018-08-09 18:06:39 +03:00
alesapin
6d40546a9a
CLICKHOUSE-3878: Remove connection string building and validation, change format of columns in request, more convinient exception messages
2018-08-09 15:57:34 +03:00
chertus
2b4171af1f
remove comment
2018-08-09 15:34:10 +03:00
chertus
cc033803d1
decimale Dec128 arithm overflow
2018-08-09 15:24:03 +03:00
Nikolai Kochetov
b52cb07c2c
Less compiler warnings.
2018-08-09 14:44:09 +03:00
VadimPE
e3495a6484
Merge branch 'CLICKHOUSE-3847' of github.com:VadimPE/ClickHouse into CLICKHOUSE-3847
2018-08-09 14:39:46 +03:00
Nikolai Kochetov
da822f1cf3
Merged with master.
2018-08-09 14:32:19 +03:00
Nikolai Kochetov
2099d8b7e8
Fixed DataTypeWithDictionary serialization.
2018-08-09 13:52:58 +03:00
Nikolai Kochetov
4fd3d57e79
Less compiler warnings.
2018-08-09 13:52:54 +03:00
Nikolai Kochetov
36da1f2871
Added IFunction::isDeterministicInScopeOfQuery().
2018-08-09 13:52:46 +03:00
Nikolai Kochetov
79db5b261f
Less compiler warnings.
2018-08-09 13:52:46 +03:00
Nikolai Kochetov
ab10005af5
Renamed settings for LowCardinality type.
2018-08-09 13:52:46 +03:00
Nikolai Kochetov
dc828d462c
Added test for LowCardinality defaults
2018-08-09 13:52:45 +03:00
Nikolai Kochetov
c339313d8b
Fix LowCardinality conversions for defaults.
2018-08-09 13:52:33 +03:00
alesapin
bff4bbf634
Merge remote-tracking branch 'upstream/master'
2018-08-09 12:38:43 +03:00
Vadim
ee97a35f12
Update StorageReplicatedMergeTree.cpp
2018-08-09 11:46:41 +03:00
VadimPE
d5a6967fc4
CLICKHOUSE-3847 fix
2018-08-09 11:44:49 +03:00
robot-clickhouse
abbbd26e71
Auto version update to [18.10.0] [54405]
2018-08-09 04:42:46 +03:00
chertus
c45b5d9f9a
decimal arithm overflow (except dec128)
2018-08-08 23:15:49 +03:00
alesapin
402815977f
Add new error in fetchPartition op
2018-08-08 21:01:25 +03:00
alesapin
1bedb971d0
Merge fixes
2018-08-08 19:54:09 +03:00
alesapin
97bcdcedb3
mistake
2018-08-08 19:52:11 +03:00
alesapin
65c6a8ff93
CLICKHOUSE-3878: Try to avoid merge conflict
2018-08-08 19:49:49 +03:00
alesapin
46e9dc132a
CLICKHOUSE-3878: Remove redundant message
2018-08-08 19:44:41 +03:00
alesapin
b31dd7bf1f
CLICKHOUSE-3878: Correct max_block_size handling
2018-08-08 19:41:08 +03:00
alesapin
fe10ccb1f7
CLICKHOUSE-3878: Remove some copypaste
2018-08-08 19:29:09 +03:00
alesapin
92f3beb95b
CLICKHOUSE-3878: Better odbc-bridge with ability to handle custom logs and exceptions
2018-08-08 19:15:29 +03:00
Vadim
61338697b0
Update MergeTreeSettings.h
2018-08-08 18:28:48 +03:00
Nikolai Kochetov
f1c05a2192
Added test with LowCardinality strings serialization.
2018-08-08 18:28:19 +03:00
VadimPE
c16d876867
CLICKHOUSE-3847 fix race in set log_pointer in cloneReplica()
2018-08-08 18:25:07 +03:00
Nikolai Kochetov
95c64aa5a9
Added test for LowCardinality and WithDictionary.
2018-08-08 17:42:04 +03:00
VadimPE
3b9002dfc9
CLICKHOUSE-3847 fix
2018-08-08 17:31:56 +03:00
VadimPE
4c0bb93345
CLICKHOUSE-3847 fix UInt - UInt. del clearQueue()
2018-08-08 17:07:39 +03:00
chertus
5f93ab73fa
decimal compare overflow
2018-08-08 16:57:16 +03:00
Nikolai Kochetov
0a46943590
Renamed functions makeDictionary, dictionaryIndexes, dictionaryValues to toLowCardinality, lowCardinalityIndexes, lowCardinalityValues.
2018-08-08 16:55:32 +03:00
VadimPE
8d28b9f6b4
CLICKHOUSE-3847 we can do pullToLog() after we mark replica is_active and before we calc delay.
2018-08-08 16:53:06 +03:00
Nikolai Kochetov
f4d9d50168
Merged with master.
2018-08-08 15:01:18 +03:00
Nikolai Kochetov
c8457abb1b
Made IFunction::isDeterministic and IFunction::isDeterministicInScopeOfQuery are const. Disabled default implementation with dictionary for not isDeterministicInScopeOfQuery functions.
2018-08-08 14:26:18 +03:00
chertus
16ad0caf37
move int exp from decimal scale to libcommon
2018-08-08 13:56:24 +03:00
chertus
297053bfac
decimal compare optimisation
2018-08-08 13:36:03 +03:00
Alexey Milovidov
4ae1830f78
Updated instruction [#CLICKHOUSE-2]
2018-08-08 07:14:53 +03:00
Alexey Milovidov
1e316e9229
Fixed error #2795
2018-08-08 07:14:53 +03:00
Amos Bird
bb244e1482
Fix concurrent issue of StorageSetOrJoin.
2018-08-08 06:54:56 +03:00
Alexey Milovidov
e0dc0ccaff
Removed misleading message [#CLICKHOUSE-2]
2018-08-08 06:03:26 +03:00
Alexey Milovidov
bec5a85030
Fixed test #2813
2018-08-08 05:11:16 +03:00
Alexey Milovidov
a693258169
Removed merging "config.d" files to every configs. "config.d" is only for "config.xml", users.d for users.xml, etc. Only "conf.d" is used for all configs. [#CLICKHOUSE-2]
2018-08-08 03:58:24 +03:00
Alexey Milovidov
5860838776
Fixed inconsistency and bad style #1652
2018-08-08 03:12:40 +03:00
Alexey Milovidov
1082619320
Added test #2813
2018-08-08 03:10:01 +03:00
Alexey Milovidov
e99a24c12c
Fixed test #2813
2018-08-08 03:07:40 +03:00
alexey-milovidov
b1d70c125f
Update 00685_output_format_json_escape_forward_slashes.sql
2018-08-08 02:35:32 +03:00
Alex Bocharov
e8d4654419
Remove FormatSettings default value for writeJSONString and add tests for output_format_json_escape_forward_slashes.
2018-08-08 02:35:32 +03:00
alexey-milovidov
4e7b2927dd
Update Settings.h
2018-08-08 02:35:32 +03:00
alexey-milovidov
0a4d07b995
Update WriteHelpers.h
2018-08-08 02:35:32 +03:00
alexey-milovidov
bc16e8ca69
Update FormatSettings.h
2018-08-08 02:35:32 +03:00
alexey-milovidov
31cff11fee
Update FormatFactory.cpp
2018-08-08 02:35:32 +03:00
alexey-milovidov
03727012a6
Update Settings.h
2018-08-08 02:35:32 +03:00
Alex Bocharov
a8818bb8af
Add output_format_json_escape_slashes setting - controls escaping slashes for string outputs in JSON output format.
2018-08-08 02:35:32 +03:00
Nikolai Kochetov
1be7c4122d
Renamed WithDictionary(Type) to LowCardinality(Type) and added TypeWithDictionary alias.
2018-08-07 22:31:41 +03:00
The-Alchemist
a9b3279265
Support for UUID in ODBC dictionaries
2018-08-07 15:09:30 -04:00
Nikolai Kochetov
bd991a5f7a
Fixed comments.
2018-08-07 21:32:06 +03:00
Nikolai Kochetov
62dbef2dfc
Optimize mapIndexWithAdditionalKeys for DataTypeWithDictionary.
2018-08-07 21:12:17 +03:00
Nikolai Kochetov
e83268a7f4
Optimize mapUniqueIndex for ColumnWIthDictionary.
2018-08-07 21:12:04 +03:00
Nikolai Kochetov
01209533f7
Optimize reverse index for ColumnUnique.
2018-08-07 21:10:16 +03:00
Nikolai Kochetov
3f4348a88b
Use HashTableWithSavedHash for strings in ColumnUnique.
2018-08-07 21:09:55 +03:00
Nikolai Kochetov
a109d8f002
Disabled checks for index values in ColumnWithDictionary.
2018-08-07 21:09:49 +03:00
alesapin
dd01eb6b40
CLICKHOUSE-3878: Add odbc-bridge first version
2018-08-07 20:57:44 +03:00
Alexey Milovidov
d1a548638f
Imported stateful tests (without data) [#CLICKHOUSE-3]
2018-08-07 20:10:03 +03:00
Alexey Milovidov
3021852383
Imported stateful tests (without data) [#CLICKHOUSE-3]
2018-08-07 20:08:51 +03:00
VadimPE
01e9d15914
CLICKHOUSE-3847 Del restartLostReplica()
2018-08-07 18:28:12 +03:00
VadimPE
0be75baeda
CLICKHOUSE-3847 Del markLosrTeplicas()
2018-08-07 18:26:27 +03:00
VadimPE
32b6965cf2
CLICKHOUSE-3847 Update. Add new settings. Del is_lost
2018-08-07 18:21:42 +03:00
chertus
cae97b1e59
abs for decimal
2018-08-07 17:35:21 +03:00
chertus
7984b4f91d
negate for dec128
2018-08-07 17:12:24 +03:00
chertus
de68022fc5
rewrite Decimal with own data type
2018-08-07 16:57:28 +03:00
chertus
8fde28deda
issues-2813 return error code to OS on query processing error
2018-08-07 13:55:39 +03:00
alexey-milovidov
1d7e4a439c
Merge pull request #2791 from CurtizJ/CLICKHOUSE-3785
...
CLICKHOUSE-3785 add murmurHash3, update FunctionStringHash template.
2018-08-07 00:21:43 +03:00
Anton Popov
0d5c3b7967
Update 00678_murmurhash.sql
2018-08-06 23:53:28 +03:00
Anton Popov
0f2aceba02
Update 00678_murmurhash.reference
2018-08-06 23:52:56 +03:00
Alexey Milovidov
387e68b106
Better order of linking [#CLICKHOUSE-2]
2018-08-06 23:12:55 +03:00
Alexey Milovidov
705cce48f0
Removed misleading comment [#CLICKHOUSE-3]
2018-08-06 23:07:50 +03:00
Alexey Milovidov
9975960d77
Added max_partition_size_to_drop to config #2782
2018-08-06 20:23:27 +03:00
alexey-milovidov
0ef2a94d46
Merge pull request #2782 from VadimPE/CLICKHOUSE-3714
...
CLICKHOUSE-3714 add max_partition_size_to_drop
2018-08-06 20:20:59 +03:00
alexey-milovidov
72af99fdd5
Merge pull request #2814 from alesapin/master
...
Fix REPLACE PARTITION logic inside replicated merge tree
2018-08-06 20:18:30 +03:00
alexey-milovidov
aa4b2b1782
Update ReplicatedMergeTreeQueue.h
2018-08-06 20:18:11 +03:00
alexey-milovidov
38c2b2c8ab
Update FunctionsHashing.h
2018-08-06 20:04:32 +03:00
alexey-milovidov
4bfbe80d4f
Update MergedBlockOutputStream.cpp
2018-08-06 19:54:00 +03:00
Alexey Zatelepin
72c4d8f064
add assert that MinMax index is correctly initialized [#CLICKHOUSE-3879]
2018-08-06 19:54:00 +03:00
Alexey Zatelepin
6d7c1cfaa4
add test that empty parts correctly merge to an empty part [#CLICKHOUSE-3879]
2018-08-06 19:54:00 +03:00
Alexey Zatelepin
1f2d4f90b9
allow empty parts after merge for Summing, Collapsing and VersionedCollapsing engines [#CLICKHOUSE-3879]
2018-08-06 19:54:00 +03:00
chertus
b700d7c7db
minor changes
2018-08-06 16:48:40 +03:00
alesapin
134da31177
CLICKHOUSE-3880: Fix comment
2018-08-06 16:18:52 +03:00
alesapin
425918afe1
CLICKHOUSE-3880: Fix replace partition logic inside replicated merge tree
2018-08-06 15:59:51 +03:00
chertus
c590a74981
Merge branch 'master' into decimal
2018-08-06 13:38:18 +03:00
alesapin
b321963b35
CLICKHOUSE-3880: Test for REPLACE PARTITION with failover cases
2018-08-06 13:01:08 +03:00
Anton Popov
efddb89d18
Merge branch 'master' into CLICKHOUSE-3785
2018-08-06 12:42:01 +03:00
ap11
58fe7b3cfc
add tests
2018-08-06 12:38:26 +03:00
ap11
2d41b958a3
add test
2018-08-06 12:35:13 +03:00
VadimPE
af9b288969
CLICKHOUSE-3714 add function in Context
2018-08-06 12:09:45 +03:00
VadimPE
d0f587bfc9
CLICKHOUSE-3714 fix
2018-08-06 11:58:30 +03:00
VadimPE
c30d459168
CLICKHOUSE-3714 fix
2018-08-06 11:43:34 +03:00
VadimPE
c15ba5e7d9
CLICKHOUSE-3714
2018-08-06 11:30:54 +03:00
VadimPE
490efebe62
CLICKHOUSE-3714 add size pf all part in partition
2018-08-06 11:27:59 +03:00
VadimPE
93202ca781
CLICKHOUSE-3714 fix code-style and copy-paste
2018-08-06 11:25:29 +03:00
chenxing.xc
4acc441179
fix aligned states review comments
2018-08-05 18:12:06 +08:00
chenxing.xc
202894e191
Merge remote-tracking branch 'rb/master'
2018-08-05 17:59:58 +08:00
Alexey Milovidov
e523f9a2c8
Fixed names [#CLICKHOUSE-2]
2018-08-05 11:54:57 +03:00
chenxing.xc
90d8290d28
aligned aggregate state
2018-08-05 16:45:15 +08:00
Alexey Milovidov
2b2869e998
Merging #2226
2018-08-05 10:10:08 +03:00
Alexey Milovidov
28771401a9
Merging #2226
2018-08-05 10:06:58 +03:00
Alexey Milovidov
2016374d20
Merging #2226
2018-08-05 10:05:43 +03:00
Alexey Milovidov
2ebe6beb10
Whitespace [#CLICKHOUSE-2]
2018-08-05 09:47:02 +03:00
Alexey Milovidov
b9914d6bcd
Revert "Updated tests #2094 "
...
This reverts commit 47554229c0
.
2018-08-05 09:19:49 +03:00
Alexey Milovidov
d99ef95846
Revert "Check for ambiguous column names in subqueries #2094 "
...
This reverts commit 36eae150d6
.
2018-08-05 09:18:53 +03:00
Alexey Milovidov
7459edfa42
Removed support for CHECK TABLE for Distributed tables [#CLICKHOUSE-2]
2018-08-05 09:01:41 +03:00
alexey-milovidov
05c7a1971d
Update InterpreterSelectQuery.cpp
2018-08-05 08:29:12 +03:00
Alexey Milovidov
47554229c0
Updated tests #2094
2018-08-05 08:25:37 +03:00
Alexey Milovidov
cf2df6d780
Added a test from Stas Sviridov #2083
2018-08-05 07:56:19 +03:00
Alexey Milovidov
ab96e1d581
Imported test from #2094
2018-08-05 07:06:49 +03:00
Alexey Milovidov
36eae150d6
Check for ambiguous column names in subqueries #2094
2018-08-05 07:02:29 +03:00
Alexey Milovidov
4a5d00b6e7
Removing clusters when they are removed from config #2777
2018-08-05 06:55:41 +03:00
Alexey Milovidov
5bce1d78b0
Correct number of columns is returned from an element of UNION ALL inside a subquery if some column was queried more than once #2786
2018-08-05 06:28:31 +03:00
Alexey Milovidov
114725b526
In case of ambiguous column names in block, index by name will point to first column #2094
2018-08-05 05:40:35 +03:00
Alexey Milovidov
c7e960b0a9
Better exception message #2094
2018-08-05 05:39:09 +03:00
Alexey Milovidov
1b1754e598
Fixed build #2794
2018-08-04 00:13:54 +03:00
alexey-milovidov
11a7825ce7
Update Client.cpp
2018-08-03 23:48:43 +03:00
Alexey Milovidov
fd42e90b2a
Merging; added a test #2618 #2611 #1770
2018-08-03 23:25:47 +03:00
Alexey Milovidov
bbaa0d369b
Merge branch 'uuid-fix' of https://github.com/simPod/ClickHouse into simPod-uuid-fix
2018-08-03 22:59:45 +03:00
Anton Popov
6c3d780552
ClickHouse 3551 Remove external dictionaries, when config updated ( #2779 )
...
* CLICKHOUSE-3551
* CLICKHOUSE-3551 Remove external dictionaties, when config updated
* CLICKHOUSE-3551 Remove external dictionaties, when config updated
* Update config.xml
2018-08-03 22:49:03 +03:00
Alexey Zatelepin
a70301d1f2
add tests for mutations cleaner [#CLICKHOUSE-3828]
2018-08-03 22:21:44 +03:00
Alexey Zatelepin
b6b54eea52
old mutations cleaner for ReplicatedMergeTree engines [#CLICKHOUSE-3828]
2018-08-03 22:21:44 +03:00
Alexey Zatelepin
a0730d7696
old mutations cleaner for non-replicated MergeTree engines [#CLICKHOUSE-3828]
2018-08-03 22:21:44 +03:00
Alexey Zatelepin
94723bea63
add setting [#CLICKHOUSE-3828]
2018-08-03 22:21:44 +03:00
Alexander Marshalov
154d7e3228
Added SETTINGS clause for Kafka storage engine
2018-08-03 21:51:28 +03:00
Alexey Milovidov
0c233d668f
Removed useless file; preparations #2791
2018-08-03 21:47:44 +03:00
proller
010350a088
Build fixes ( #2794 )
...
* More information in 'Cannot read all data' errors
* Build fixes
* Apple version fix
* Fix
* clean
* New libs fixes
* Freebsd fixes
* macos fix
* Fix macos build
* fix
* fix
* Update CMakeLists.txt
* freebsd fix
* fix
* Update CMakeLists.txt
2018-08-03 19:39:04 +03:00
chertus
a338f657d5
unari arithm operations for decimal (partial support)
2018-08-03 19:32:55 +03:00
Alexey Milovidov
5940f7b1da
Auto version update to [18.9.0] [54404]
2018-08-03 19:17:07 +03:00
chertus
e31e4e164f
add least and greatest funcs for decimal
2018-08-03 17:46:02 +03:00
Vadim
43cf3d2b2f
Update Context.cpp
2018-08-03 17:22:01 +03:00
Vadim
5142407daf
Update IStorage.h
2018-08-03 16:19:53 +03:00
Vadim
d821f8a4cc
Update StorageMergeTree.cpp
2018-08-03 16:17:32 +03:00
chertus
a5a7dc0fdd
Merge branch 'master' into decimal
2018-08-03 13:30:27 +03:00
chertus
36b8204114
one more minor fix
2018-08-03 13:28:31 +03:00
chertus
65882bc42e
minor fix
2018-08-03 13:20:44 +03:00
VadimPE
1e208c7186
CLICKHOUSE-3714 fix comment and ';'
2018-08-03 12:54:46 +03:00
VadimPE
b97fa2eb4d
CLICKHOUSE-3714 bool ckeck_CanBeDropped -> void ...
2018-08-03 12:39:01 +03:00
VadimPE
6142d9ae6a
CLICKHOUSE-3714 fix function names and get partition size
2018-08-03 11:33:57 +03:00
alexey-milovidov
f2d0746056
Update Server.cpp
2018-08-02 23:32:00 +03:00
morty
69f7948bbd
Use system tables for formats, engines, functions, collations, types
2018-08-02 17:57:57 +03:00
chertus
e1881d4cfb
fix decimal vs int arithm, add some tests
2018-08-02 17:28:55 +03:00
morty
fac492a3e4
Resolved conflicts
2018-08-02 14:01:52 +03:00
ap11
860587b2ef
fix typo
2018-08-02 12:39:47 +03:00
ap11
d30a90dcac
add murmurHash3, update FunctionStringHash template
2018-08-02 12:21:26 +03:00
VadimPE
98c33de4e3
CLICKHOUSE-3714
2018-08-02 12:03:38 +03:00
VadimPE
08fe108ba8
CLICKHOUSE-3714 fix methods name
2018-08-02 11:48:57 +03:00
robot-clickhouse
b324f69ede
Auto version update to [18.8.0] [54403]
2018-08-02 11:35:38 +03:00
Alexey Milovidov
76e06fe0eb
Don't escape values of parameters of ODBC connection string if it is not necessarily, because drivers don't recognize them [#CLICKHOUSE-3861]
2018-08-02 08:30:52 +03:00
alexey-milovidov
9cd5228df2
Using jemalloc instead of tcmalloc. ( #2773 )
...
* Added jemalloc as submodule [#CLICKHOUSE-2]
* Imported jemalloc-cmake [#CLICKHOUSE-2]
* Added README for jemalloc-cmake [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
2018-08-02 03:20:20 +03:00
robot-clickhouse
0906c61a10
Auto version update to [18.7.1] [54402]
2018-08-02 01:24:01 +03:00
chertus
267f28f98d
decimal arithm (basic support)
2018-08-01 22:50:19 +03:00
Alexey Milovidov
60187ab716
Miscellaneous [#CLICKHOUSE-3861]
2018-08-01 21:21:03 +03:00
Alexey Milovidov
eb697dca93
Addition to prev. revision [#CLICKHOUSE-3861]
2018-08-01 21:13:35 +03:00
Vadim
f6736a0e6e
Update Context.cpp
2018-08-01 20:44:23 +03:00
Vadim
c30ab5a035
Update StorageMaterializedView.h
2018-08-01 20:43:58 +03:00
Vadim
034a88a504
Merge branch 'master' into CLICKHOUSE-3714
2018-08-01 20:42:56 +03:00
VadimPE
66d9ba3eb7
CLICKHOUSE-3714 add max_partition_size_to_drop
2018-08-01 20:41:18 +03:00
Alexandr Krasheninnikov
3646fef2fc
Implement time_zone and constant expressions support
2018-08-01 17:49:29 +03:00
robot-clickhouse
dc5249d0c1
Auto version update to [18.7.0] [54402]
2018-08-01 16:20:46 +03:00
zhang2014
d61c53fc3e
ISSUES-863 support predicate push down with subquery
2018-08-01 17:56:02 +08:00
robot-clickhouse
2f612bbcc1
Auto version update to [18.6.0] [54401]
2018-08-01 00:50:05 +03:00
proller
d72ba2701b
CLICKHOUSE-3771 Preparing for new version scheme [WIP] ( #2646 )
...
* CLICKHOUSE-3771: compatible version transfer
* Fix
* Fixed compatibility
* fix
* Auto version update to [1.1.54401] [54398]
* fix auto revision up
* fix
* comments
* clean
* fix
* Send/recieve patch if we can
* fix
* Auto version update to [18.2.0] [54397]
* Client version in query_log
* Update TCPHandler.cpp
* Update Connection.cpp
* Update Defines.h
2018-08-01 00:36:18 +03:00
alexey-milovidov
405d7f9232
Merge pull request #2742 from yandex/support-join-on-syntax
...
Support join on syntax
2018-08-01 00:30:46 +03:00
alesapin
e81108b954
CLICKHOUSE-3863: Add more convinient exception message
2018-08-01 00:29:47 +03:00
alesapin
2db2d208e1
CLICKHOUSE-3863: Add HTTPS support for interserver replication
2018-08-01 00:29:47 +03:00
Alexey Milovidov
1cdbf16837
More tests [#CLICKHOUSE-3861]
2018-08-01 00:25:26 +03:00
alexey-milovidov
0f25e8277c
Update validateODBCConnectionString.cpp
2018-08-01 00:25:26 +03:00
alexey-milovidov
369145bd30
Update validateODBCConnectionString.cpp
2018-08-01 00:25:26 +03:00
Alexey Milovidov
c9ab39c8c6
Added validation of ODBC connection string [#CLICKHOUSE-3861]
2018-08-01 00:25:26 +03:00
Nikolai Kochetov
9359ae7650
Fix test.
2018-07-31 20:34:17 +03:00
Alexandr Krasheninnikov
7e99305860
Implement several formattings for non-constant input
2018-07-31 17:58:34 +03:00
VadimPE
e2be3fd5ce
CLICKHOUSE-3847 fix
2018-07-31 17:11:27 +03:00
VadimPE
3eaae23559
Merge branch 'CLICKHOUSE-3847' of github.com:VadimPE/ClickHouse into CLICKHOUSE-3847
2018-07-31 16:46:27 +03:00
VadimPE
ed8d749b9e
CLICKHOUSE-3847 fix problems with empty entries
2018-07-31 16:45:43 +03:00
Vadim
1b068ac24c
Update ReplicatedMergeTreeCleanupThread.cpp
2018-07-31 16:04:35 +03:00
VadimPE
9b5620fac1
CLICKHOUSE-3847 fix comments.
2018-07-31 12:01:24 +03:00
alexey-milovidov
f6b9c46d24
Update ExpressionAnalyzer.cpp
2018-07-31 06:04:35 +03:00
robot-metrika-test
0826127d48
Auto version update to [18.5.1] [54400]
2018-07-31 04:28:24 +03:00
Alexey Milovidov
3caadfadc6
Fixed test #2750
2018-07-31 04:24:32 +03:00
robot-clickhouse
d3db10f315
Auto version update to [18.5.0] [54400]
2018-07-30 23:43:16 +03:00
Alexey Milovidov
b5b48d59fa
Compatibility with obsolete version of Poco for alternative build variants #2759
2018-07-30 23:21:45 +03:00
Nikolai Kochetov
368e7d0b08
Added joined_block_actions to SubqueryForSet for join subquery. [#CLICKHOUSE-3761]
...
3Added joined_block_actions to join expression action.
2018-07-30 22:41:27 +03:00
Nikolai Kochetov
bc054f2247
Fix tests. [#CLICKHOUSE-3761]
2018-07-30 22:40:43 +03:00
chertus
321615ce56
make 00700_decimal_bounds test stable
2018-07-30 22:19:06 +03:00
chertus
4a1b7cfebf
Merge branch 'master' into decimal
2018-07-30 21:51:08 +03:00
alexey-milovidov
98e9f4c24c
Merge pull request #2761 from 4ertus2/negative
...
Fix client's --testmode (allow multiple negative tests with clientError)
2018-07-30 21:48:36 +03:00
Alexey Zatelepin
4863c5c178
fix potential segfault in MergeTreeData::delayInsertOrThrowIfNeeded [#CLICKHOUSE-3862]
2018-07-30 21:47:24 +03:00
Alexey Zatelepin
cc7950a733
don't destroy Cleanup- and AlterThread objects, just deactivate the tasks [#CLICKHOUSE-3862]
...
Otherwise segfaults are possible when the objects are recreated in the middle of the queue task execution.
2018-07-30 21:47:24 +03:00
chertus
5294c1ec9e
Merge branch 'master' into negative
2018-07-30 21:39:36 +03:00
Vadim
40999bfb0c
Update ReplicatedMergeTreeCleanupThread.cpp
2018-07-30 21:34:57 +03:00
Vadim
035af6327b
Update ReplicatedMergeTreeCleanupThread.cpp
2018-07-30 21:32:58 +03:00
chertus
5f46894cf0
CLICKHOUSE-2 client testmode fixes: reconnect on clientError, clear expected errors, return error to OS
2018-07-30 21:27:04 +03:00
Alexey Milovidov
cfb3537eb6
Updated test #2756
2018-07-30 21:26:20 +03:00
chertus
582f76c83b
string to decimal, decimal to string, check decimal bounds
2018-07-30 21:10:38 +03:00
Alexey Milovidov
b1e06fc136
Better code #2756
2018-07-30 21:00:16 +03:00
Alexey Milovidov
2fb75a88c3
Fixed test #2756
2018-07-30 20:43:13 +03:00
VadimPE
3f6cdab293
CLICKHOUSE-3847 add support lost replica
2018-07-30 19:31:14 +03:00
Alexey Milovidov
7fe1914a63
Whitespaces #2756
2018-07-30 19:07:20 +03:00
alexey-milovidov
be657c33e6
Merge pull request #2756 from CurtizJ/CLICKHOUSE-3785
...
Clickhouse 3785 Add MurmurHash2
2018-07-30 18:57:38 +03:00
zhang2014
9e052b13d1
ISSUES-2700 add funnel window crash test
2018-07-30 18:51:06 +03:00
ap11
45ce69e73d
Add case insensitive coalesce ifnull, nullif.
2018-07-30 18:50:12 +03:00
alexey-milovidov
b062262b9f
Update FunctionsHashing.h
2018-07-30 18:45:46 +03:00
ap11
4fe3690cad
minor changes
2018-07-30 16:50:26 +03:00
ap11
d45ce92b89
add tests for murmurhash2
2018-07-30 16:41:07 +03:00
ap11
68bdc4eb12
Add mumurhash2
2018-07-30 15:19:22 +03:00
alesapin
79607b9118
CLICKHOUSE-3852: Add tests for config parser
2018-07-29 04:58:05 +03:00
alesapin
744258818e
CLICKHOUSE-3852: Fix PR remarks
2018-07-29 04:58:05 +03:00
alesapin
1f32701665
CLICKHOUSE-3852: Remove useless newlines
2018-07-29 04:58:05 +03:00
alesapin
652e5ff9e2
CLICKHOUSE-3852: Add ability to set up config parameters from env variables.
2018-07-29 04:58:05 +03:00
robot-metrika-test
e26ba4daac
Auto version update to [18.4.0] [54399]
2018-07-28 00:35:05 +03:00
Alexey Milovidov
8bc95412b6
Fixed bad code #2708
2018-07-28 00:33:30 +03:00
Alexey Milovidov
35409e1123
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-27 22:51:35 +03:00
Alexey Milovidov
a2101df25a
Fixed error in aggregate function "anyHeavy"; added a test [#CLICKHOUSE-3867]
2018-07-27 22:51:13 +03:00
robot-metrika-test
a7addb80a3
Auto version update to [18.3.0] [54398]
2018-07-27 21:45:36 +03:00
Alexey Milovidov
448bcdfdb4
Added a test [#CLICKHOUSE-3855]
2018-07-27 21:17:32 +03:00
Alexey Milovidov
bbdd780be0
Fixed error when IN is used as an aggregation key [#CLICKHOUSE-3855]
2018-07-27 21:14:58 +03:00
chertus
f793fb553a
Merge branch 'master' into decimal
2018-07-27 20:56:13 +03:00
alexey-milovidov
e64c221649
Update Client.cpp
2018-07-27 20:41:05 +03:00
chertus
845edbe242
CLICKHOUSE-2: support negative tests
2018-07-27 20:41:05 +03:00
alexey-milovidov
cac790f08f
Update Client.cpp
2018-07-27 20:37:53 +03:00
chertus
b9fd87eff7
Merge branch 'master' into decimal
2018-07-27 20:31:33 +03:00
alesapin
a28cf1ed98
Remove wrong option
2018-07-27 20:25:51 +03:00
chertus
6283c3f572
CLICKHOUSE-2: support negative tests
2018-07-27 20:19:22 +03:00
Nikolai Kochetov
7d9ebae2c2
Better comments.
2018-07-27 20:11:56 +03:00
Nikolai Kochetov
b5d6240646
Merged with master
2018-07-27 19:21:43 +03:00
Nikolai Kochetov
a2cd7016e5
Added test for join on syntax. [#CLICKHOUSE-3761]
2018-07-27 19:04:17 +03:00
Nikolai Kochetov
5123e0f86f
Remove joined table qualifiers from column names. [#CLICKHOUSE-3761]
2018-07-27 19:03:16 +03:00
Nikolai Kochetov
65dcca22a2
Substitute aliases for required columns in ExpressionAnalyzer. [#CLICKHOUSE-3761]
2018-07-27 19:02:56 +03:00
Nikolai Kochetov
11d66d8733
Support expressions for right JOIN keys. [#CLICKHOUSE-3761]
2018-07-27 19:02:42 +03:00
Nikolai Kochetov
98e5821769
Resolve qualified names for JOIN ON expression. [#CLICKHOUSE-3761]
2018-07-27 19:02:23 +03:00
Nikolai Kochetov
cc613d7ad3
Added JOIN keys to the list of needed columns for JOIN expression action.
2018-07-27 19:02:20 +03:00
Nikolai Kochetov
391ff31829
Added actions for JOIN key columns. [#CLICKHOUSE-3761]
2018-07-27 19:02:10 +03:00
Nikolai Kochetov
5058d1a345
Added columns from join on key of right table if they have different name from left block key in merged block. [#CLICKHOUSE-3761]
2018-07-27 19:01:48 +03:00
Nikolai Kochetov
92719e1f48
Supported JOIN ON syntax for single and chain in expression analyzer. [#CLICKHOUSE-3761]
2018-07-27 19:01:25 +03:00
zhang2014
4bc916029c
ISSUES-2700 fix windowFunnel NULL pointer
...
Co-authored-by: zhang2014 <coswde@gmail.com>
Co-authored-by: sundy-li <543950155@qq.com>
2018-07-27 15:19:29 +08:00
alexey-milovidov
9242588449
Merge pull request #2708 from VadimPE/CLICKHOUSE-3837
...
CLICKHOUSE-3837 Add support for table function in remote() and cluster()
2018-07-26 21:36:04 +03:00
alexey-milovidov
1140a07b58
Merge pull request #2729 from amosbird/master
...
Use docker exec to operate on kafka.
2018-07-26 21:34:04 +03:00
Vadim
ad006166b5
Update 00675_shard_remote_with_table_function.sql
2018-07-26 20:50:32 +03:00
alexey-milovidov
24b0be2cf0
Merge pull request #2727 from alesapin/CLICKHOUSE-3832
...
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 20:50:09 +03:00
Vadim
da41c5cf47
Update 00675_shard_remote_with_table_function.sql
2018-07-26 20:49:51 +03:00
Amos Bird
54a08ed018
Use docker exec to operate on kafka.
2018-07-27 01:24:35 +08:00
VadimPE
894c5b356d
CLICKHOUSE-3837
2018-07-26 19:15:15 +03:00
alesapin
368face3c9
CLICKHOUSE-3832: Fix typo
2018-07-26 19:10:21 +03:00
alesapin
4fb89512b1
CLICKHOUSE-3832: Add error code to exception and change message, also change check for interserver_http_credentials
2018-07-26 19:01:43 +03:00
Alexey Zatelepin
02946d2bc1
Revert "Set up dns server for kafka integration tests."
...
This reverts commit 1c75c19106
.
2018-07-26 18:52:50 +03:00
VadimPE
5c4b4e96f7
CLICKHOUSE-3837 fix test
2018-07-26 18:33:07 +03:00
chertus
492875e0f7
decimal comparisons with other integers
2018-07-26 18:28:14 +03:00
alesapin
b7f937785d
CLICKHOUSE-3832: Remove empty lines
2018-07-26 18:23:16 +03:00
alesapin
65a6a1225c
Merge pull request #2726 from alesapin/master
2018-07-26 18:20:02 +03:00
alesapin
1588964873
Merge branch 'master' of github.com:alesapin/ClickHouse
2018-07-26 18:16:06 +03:00
alesapin
9aec460f2e
Fix build warning
2018-07-26 18:15:48 +03:00
VadimPE
bb5d8db9a1
CLICKHOUSE-3837 fix tests
2018-07-26 18:13:00 +03:00
alesapin
6abbfbce87
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 18:10:57 +03:00
Alexey Milovidov
ec202a7fd0
Allow to start cluster with Kafka without pytest #2725
2018-07-26 17:40:33 +03:00
alexey-milovidov
2854818378
Update 00675_remote_with_table_function.sql
2018-07-26 14:38:07 +03:00
alesapin
175f564137
CLICKHOUSE-3832: Fix bracket
2018-07-26 12:53:59 +03:00
VadimPE
63ac512c60
CLICKHOUSE-3837 add tests
2018-07-26 11:06:06 +03:00
Amos Bird
1c75c19106
Set up dns server for kafka integration tests.
2018-07-26 12:53:48 +08:00
chertus
c1c149d74b
decimal comparisons
2018-07-25 22:38:21 +03:00
alexey-milovidov
44f4541592
Merge pull request #2722 from amosbird/patch-9
...
Update README.md
2018-07-25 22:06:07 +03:00
alexey-milovidov
67c0cf5efc
Merge pull request #2721 from alesapin/master
...
CLICKHOUSE-3857: Add table table_engines, alias factory base class and columns alias_to and case_insensitive to functions
2018-07-25 21:50:14 +03:00
alexey-milovidov
dc2c22ffff
Update IFactoryWithAliases.h
2018-07-25 21:46:16 +03:00
VadimPE
489f1f84f1
CLICKHOUSE-3837 fix TableFunctionRemote
2018-07-25 21:17:54 +03:00
alesapin
c3b4551426
CLICKHOUSE-3832: Add interserver-side authentification.
2018-07-25 19:38:29 +03:00
Amos Bird
c9a8759e08
Update README.md
...
kafka integration test uses this package https://github.com/dpkp/kafka-python
2018-07-26 00:34:40 +08:00
Alexey Milovidov
9079bdad4e
Updated README #2701
2018-07-25 19:27:38 +03:00
alesapin
3888077398
CLICKHOUSE-3857: Fix typo
2018-07-25 19:19:11 +03:00
alesapin
9adb251689
CLICKHOUSE-3857: Add table table_engines, alias factory base class and columns alias_to and case_insensitive to functions
2018-07-25 19:08:23 +03:00
Alexey Milovidov
b4556cc598
~/work/ClickHouse/dbms/tests/integration$ find . -name '*.py' | xargs sed -i -r -e 's/macroses/macros/g' # [#CLICKHOUSE-2]
2018-07-25 19:00:51 +03:00
Amos Bird
0965f991b3
Add row_delimiter argument to StorageKafka.
...
There are common cases where a message doesn't end with a row delimiter.
This patch allows specifying a row_delimiter char to compensate that.
https://github.com/yandex/ClickHouse/issues/2298
2018-07-25 18:54:01 +03:00
VadimPE
1d5d097b0d
CLICKHOUSE-3837 fix build
2018-07-25 16:16:36 +03:00
VadimPE
1b07873669
CLICKHOUSE-3837 fix
2018-07-25 15:53:38 +03:00
VadimPE
867a3ebfae
CLICKHOUSE-3837 fix mistakes
2018-07-25 15:31:47 +03:00
alesapin
17cc27d1c0
Merge branch 'master' of github.com:alesapin/ClickHouse
2018-07-25 13:59:57 +03:00
alesapin
f04b2c3340
Merge remote-tracking branch 'upstream/master'
2018-07-25 13:59:23 +03:00
Amos Bird
15cc1cf91b
Fix integration test.
...
without specifying errorlog, I got
```
E Logging trace to /var/log/clickhouse-server/clickhouse-server.log
E Logging errors to clickhouse-server.err.log
E Poco::Exception. Code: 1000, e.code() = 13, e.displayText() = Access to file denied: /clickhouse-server.err.log, e.what() = Access to file denied
```
2018-07-25 12:29:16 +03:00
Alexey Milovidov
c2a50991c9
Minor modifications [#CLICKHOUSE-2]
2018-07-25 03:00:08 +03:00
Alexey Milovidov
a10ebecc67
Enabled minimalistic checksums in ZooKeeper by default #2666
2018-07-24 22:29:40 +03:00
alexey-milovidov
2f3c02cbe4
Update ASTOptimizeQuery.cpp
2018-07-24 22:07:13 +03:00
zhang2014
7e87fa8e18
ISSUES-2688 support on cluster for kill & optimize query
2018-07-24 22:07:13 +03:00
Alexey Milovidov
a106c65dec
Miscellaneous #2702
2018-07-24 21:50:28 +03:00
Amos Bird
77ce910077
Fix invalid Context reference.
2018-07-24 21:47:47 +03:00
Alexey Milovidov
7c07f46d50
Style [#CLICKHOUSE-2]
2018-07-24 21:46:23 +03:00
alexey-milovidov
d17aa47250
Update StorageSystemZooKeeper.cpp
2018-07-24 21:41:22 +03:00
alexey-milovidov
ee6eddb159
Update StorageSystemFunctions.h
2018-07-24 21:41:22 +03:00
alexey-milovidov
fe19ce6c10
Update StorageSystemDictionaries.cpp
2018-07-24 21:41:22 +03:00
alexey-milovidov
2d3a0796a6
Update StorageSystemAggregateFunctionCombinators.cpp
2018-07-24 21:41:22 +03:00
alesapin
d52fd35396
CLICKHOUSE-3772: Move headers to appropriate place (one more time)
2018-07-24 21:41:22 +03:00
alesapin
0f36999b12
CLICKHOUSE-3772: Move headers to appropriate place
2018-07-24 21:41:22 +03:00
alesapin
5459ca1401
CLICKHOUSE-3772: Change base class of almost all StorageSystem* tables and fix remarks
2018-07-24 21:41:22 +03:00
alexey-milovidov
177f2801fd
Update DataTypeFactory.cpp
2018-07-24 21:41:22 +03:00
alexey-milovidov
8d9650f141
Update DataTypeFactory.cpp
2018-07-24 21:41:22 +03:00
alesapin
30584812ee
CLICKHOUSE-3772: Fix brackets
2018-07-24 21:41:22 +03:00
alesapin
a9eb190363
CLICKHOUSE-3772: Fix strange initialization
2018-07-24 21:41:22 +03:00
alesapin
e87460540a
CLICKHOUSE-3772: Add size column
2018-07-24 21:41:22 +03:00
alesapin
5221adf1ea
CLICKHOUSE-3772: Remove unused import
2018-07-24 21:41:22 +03:00
alesapin
6d6bad51ad
CLICKHOUSE-3772: Fixes in system tables formats, data_type_families, aggregate_function_combinators
2018-07-24 21:41:22 +03:00
alexey-milovidov
ba4f988e3f
Update StorageSystemZooKeeper.cpp
2018-07-24 21:40:53 +03:00
alexey-milovidov
8af95f39e8
Update StorageSystemFunctions.h
2018-07-24 21:39:21 +03:00
alexey-milovidov
2834ba2dfb
Update StorageSystemDictionaries.cpp
2018-07-24 21:38:41 +03:00
alexey-milovidov
1824758f8f
Update StorageSystemAggregateFunctionCombinators.cpp
2018-07-24 21:37:07 +03:00
alexey-milovidov
ca40a085b1
Update TableFunctionFactory.h
2018-07-24 21:30:34 +03:00
alexey-milovidov
7b7c3a84a3
Update TableFunctionFactory.cpp
2018-07-24 21:30:11 +03:00
alexey-milovidov
fb807c10e9
Update evaluateConstantExpression.cpp
2018-07-24 19:32:33 +03:00
alesapin
8536761a76
CLICKHOUSE-3772: Move headers to appropriate place (one more time)
2018-07-24 17:42:52 +03:00
alesapin
4905c6ac51
CLICKHOUSE-3772: Move headers to appropriate place
2018-07-24 17:32:54 +03:00
alesapin
670353895b
CLICKHOUSE-3772: Change base class of almost all StorageSystem* tables and fix remarks
2018-07-24 17:28:56 +03:00
VadimPE
46dec0d341
[CLICKHOUSE-3837] fix error in build
2018-07-24 17:05:37 +03:00
VadimPE
18e7ef4e6e
[CLICKHOUSE-3837] fix
2018-07-24 16:42:14 +03:00
Vadim
437f3f20a9
Merge branch 'master' into CLICKHOUSE-3837
2018-07-24 16:21:51 +03:00
VadimPE
8dfb6806d8
add support for table function in remote() and cluster()
2018-07-24 16:10:34 +03:00
chertus
af00724c52
hotfix (decimal scale)
2018-07-24 14:43:48 +03:00
alesapin
f464bd73cf
Merge remote-tracking branch 'upstream/master'
2018-07-24 12:34:19 +03:00
chertus
02f016579c
decimal (de)serialization (in progress)
2018-07-23 23:19:26 +03:00
robot-metrika-test
4af322b295
Auto version update to [18.2.0] [54397]
2018-07-23 22:38:09 +03:00
Alexey Milovidov
5ce488ebe3
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-23 21:13:18 +03:00
Alexey Milovidov
d400b4e9db
Added test #2699
2018-07-23 21:12:48 +03:00
Alexey Zatelepin
c793277bcc
add forgotten sort [#CLICKHOUSE-3748]
2018-07-23 21:04:13 +03:00
alesapin
4835b4e16e
CLICKHOUSE-3772: Fix brackets
2018-07-23 20:46:18 +03:00
alesapin
68309b75a8
Merge remote-tracking branch 'upstream/master'
2018-07-23 20:15:48 +03:00
alesapin
220f4d6c43
CLICKHOUSE-3772: Fix strange initialization
2018-07-23 20:12:29 +03:00
Alexey Zatelepin
4c4da31cc2
check number of arguments for -Array combinator [#CLICKHOUSE-3853] #2703
2018-07-23 19:54:25 +03:00
alesapin
f2451210d0
CLICKHOUSE-3772: Add size column
2018-07-23 19:52:11 +03:00
alexey-milovidov
1c200589f5
Update FunctionsArray.h
2018-07-23 19:27:23 +03:00
alexey-milovidov
ff2fdac25c
Update FunctionsArray.h
2018-07-23 19:27:23 +03:00
Maxim Khrisanfov
1a57a05342
Opportunity to work with Array of Enums by passing numeric value #626
2018-07-23 19:27:23 +03:00
alesapin
24a9bebec9
CLICKHOUSE-3772: Remove unused import
2018-07-23 19:13:35 +03:00
alesapin
18dd1e1f14
CLICKHOUSE-3772: Fixes in system tables formats, data_type_families, aggregate_function_combinators
2018-07-23 19:10:57 +03:00
Nikolai Kochetov
fd4d992294
Supported JOIN ON syntax for single and chain in expression analyzer.
2018-07-23 19:01:25 +03:00
Nikolai Kochetov
dd4ac9f3f1
Supported JOIN ON syntax for single and chain in expression analyzer.
2018-07-23 18:57:52 +03:00
Nikolai Kochetov
0f4c8e2f0a
Supported JOIN ON syntax for single and chain in expression analyzer.
2018-07-23 18:56:43 +03:00
Nikolai Kochetov
bbd13a25e4
Supported JOIN ON syntax for single and chain in expression analyzer.
2018-07-23 18:54:10 +03:00
proller
f477942c66
Cmake: test for liblld
2018-07-21 03:11:56 +03:00
Alex Zatelepin
41d87fdb0a
fix getting new name for cloned part in case of empty parts [#CLICKHOUSE-3798]
2018-07-20 23:56:25 +00:00
Alexey Zatelepin
0fed05d25b
use MergeTreeData::cloneAndLoadDataPart [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Zatelepin
c2897e2147
don't rewrite parts that aren't touched by mutation commands (copy them using localBackup instead) [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Zatelepin
55301ce1f0
create input streams for parts using InterpreterSelectQuery [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Zatelepin
f75fb6cd68
refactor InterpreterSelectQuery constructors [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
chertus
5ec47b4a1c
decimal (in progress)
2018-07-20 22:05:07 +03:00
proller
7be750afe9
Apple build fixes
2018-07-20 20:21:03 +03:00
Nikolai Kochetov
df379afde4
Reserve memory for HashTable in ColumnUnique.
2018-07-20 19:16:33 +03:00
Alexey Milovidov
a1684d4a4a
Miscellaneous #2687
2018-07-20 19:02:23 +03:00
Alexey Milovidov
09d22da9b9
Miscellaneous #2687
2018-07-20 18:59:11 +03:00
Alexey Milovidov
4a975c9d4c
Merge branch 'master' of https://github.com/alesapin/ClickHouse
2018-07-20 18:50:54 +03:00
Alexey Milovidov
a4d699e7f5
Comment [#CLICKHOUSE-2]
2018-07-20 18:50:39 +03:00
alexey-milovidov
c9dc058345
Update Collator.cpp
2018-07-20 18:49:47 +03:00
Nikolai Kochetov
7f8688b67b
Support data type with dictionary for krimary key.
2018-07-20 18:41:01 +03:00
alesapin
fae9c33282
CLICKHOUSE-3791: Add system table collations
2018-07-20 16:17:16 +03:00
Nikolai Kochetov
2bce1f0fb7
Fix tests.
2018-07-20 16:07:51 +03:00
proller
c58584fbe7
clickhouse-test-server: allow run with build in source (cmake .)
2018-07-20 15:40:11 +03:00
Nikolai Kochetov
df8e030b2d
Fix tests.
2018-07-20 15:30:04 +03:00
Nikolai Kochetov
3a74ec7c0c
Mergred with master
2018-07-20 14:08:54 +03:00
Nikolai Kochetov
bf26fda38d
Added canBeExecutedOnDefaultArguments into IFunction. Don't run function on defaults is this flag is true.
2018-07-20 13:19:07 +03:00
Nikolai Kochetov
e8bd73ff9b
Fixed function makeDictionary for column with dictionary argument.
2018-07-20 13:19:05 +03:00
Nikolai Kochetov
cbbbda2539
Supported serialization of several dictionaries into single part.
...
Run function on nested column of column with dictionary only if arguments have single column with dictionary and other columns are const.
2018-07-20 13:18:21 +03:00
Nikolai Kochetov
9c763f8090
Make DatsTypeWithDictionary independent from index type.
2018-07-20 13:16:27 +03:00
Nikolai Kochetov
c542cb6314
Expanding indexes for ColumnUnique.
2018-07-20 13:15:55 +03:00
alesapin
2915a58c8f
Merge remote-tracking branch 'upstream/master'
2018-07-20 13:13:50 +03:00
alesapin
32e03f42ef
CLICKHOUSE-3772: Fix initialization
2018-07-20 13:13:23 +03:00
alesapin
73bcc95af9
CLICKHOUSE-3772: Change return type to const reference
2018-07-20 13:07:11 +03:00
alesapin
a45e707f41
CLICKHOUSE-3772: Rename column in formats
2018-07-20 13:01:46 +03:00
alesapin
ec156e9f2b
CLICKHOUSE-3772: Add system tables formats, data_type_families, table_functions, aggregate_function_combinators
2018-07-20 13:00:56 +03:00
robot-metrika-test
b54159aefa
Auto version update to [18.1.0] [54396]
2018-07-20 04:00:20 +03:00
Alexey Milovidov
550f41bc65
Preparation #2646
2018-07-20 03:34:15 +03:00
Alexey Milovidov
e97fd327fd
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-20 03:18:27 +03:00
Alexey Milovidov
509e00c226
Revert "Auto version update to [1.2.0] [54396]"
...
This reverts commit e464d2d430
.
2018-07-20 03:18:16 +03:00
Alexey Milovidov
65f6696750
Quote all identifiers when querying external database #2635
2018-07-20 03:04:48 +03:00
Alexey Milovidov
0b827058ff
Added missing file #2635
2018-07-20 03:04:48 +03:00
Alexey Milovidov
245b114363
Quote all identifiers when querying external database #2635
2018-07-20 03:04:48 +03:00
Alexey Milovidov
9af2a9179e
Added test #2677
2018-07-20 03:00:04 +03:00
robot-metrika-test
e464d2d430
Auto version update to [1.2.0] [54396]
2018-07-19 23:55:02 +03:00
Alexey Milovidov
fe8c4d64e4
Better fix #2660
2018-07-19 23:51:03 +03:00
Alexey Milovidov
31dbbb05d2
Removed useless setting #2677
2018-07-19 23:22:49 +03:00
Alexey Milovidov
1b39ddf10b
Whitespaces [#CLICKHOUSE-2]
2018-07-19 19:39:48 +03:00
Vadim
b8ae9f7951
[CLICKHOUSE-2830] add FunctionArrayDistinct ( #2670 )
...
* [CLICKHOUSE-2830] add FunctionArrayDistinct
* [#CLICKHOUSE-2830] Add tests and fix
* [CLICKHOUSE-2830] fix bug with array without NULL
* [CLICKHOUSE-2830] fix test
* [CLICKHOUSE-3844] Add suport Tuple and other types in Uniq, EnumerateUniq and Distinct
* [CLICKHOUSE-3844] Add '\n'
* [CLICKHOUSE-3844] fix
* [CLICKHOUSE-2830] del Nullable return type
* Update FunctionsArray.cpp
* [CLICKHOUSE-3844] add new tests
* [CLICKHOUSE-3844] add new tests
2018-07-19 16:53:32 +03:00
alesapin
56523948bf
CLICKHOUSE-3842: Rename local variables
2018-07-19 16:51:57 +03:00
alesapin
ae44b41318
CLICKHOUSE-3842: Fix loadKeys method in dictionary library
2018-07-19 16:51:57 +03:00
alexey-milovidov
164425d1ec
Fix performance regression with prepared sets when they are used inside another subquery. ( #2677 )
...
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Updated documentation about ClickHouse testing [#CLICKHOUSE-2]
* Revert "Updated documentation about ClickHouse testing [#CLICKHOUSE-2]"
This reverts commit 9eafc13f3b
.
* Revert "Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]"
This reverts commit e28ad4b5fe
.
* Fixed test #2677
* Update InterpreterSelectQuery.cpp
2018-07-19 16:36:21 +03:00
proller
dfa41cdc19
Fix build without readline
2018-07-19 12:29:02 +03:00
alesapin
d0d61e4ea4
CLICKHOUSE-3842: Rename local variables
2018-07-19 11:47:35 +03:00
Alexey Milovidov
7f04f593ed
Moved code to .cpp; log only when skipping of errors is enabled #2669
2018-07-18 22:02:40 +03:00
Alexey Milovidov
a32c2e14a6
Removed unused method that became incompatible [#CLICKHOUSE-2]
2018-07-18 20:16:04 +03:00
alesapin
1f2c54c8af
CLICKHOUSE-3842: Fix loadKeys method in dictionary library
2018-07-18 20:06:13 +03:00
Amos Bird
8b2e68bfa0
Function try in destructor rethrows exceptions
...
According to https://en.cppreference.com/w/cpp/language/function-try-block , function try block used in destructor will rethrow exceptions if there isn't a return statement specified.
2018-07-18 16:29:12 +03:00
proller
51cdec0bec
CLICKHOUSE-3771: fixes
2018-07-18 12:48:45 +03:00
alexey-milovidov
f491bccb1c
Update 00633_func_or_in.sql
2018-07-18 09:27:25 +03:00
chenxing.xc
9bf6f8a62c
add test for #2663
2018-07-18 09:27:25 +03:00
chenxing.xc
f6000b304c
OR to IN rewrite issue in functions
2018-07-18 09:27:25 +03:00
alexey-milovidov
93a31a359c
Update 00633_func_or_in.sql
2018-07-18 09:27:06 +03:00
chenxing.xc
ce214b6663
add test for #2663
2018-07-18 12:56:51 +08:00
Leonardo Cecchi
6d8d59bd1b
Log number of skipped rows during a bulk insert
...
When in a bulk insert the rows are parsed server-side and there are
skipped rows, log the number of these rows at the TRACE level.
2018-07-18 03:04:01 +03:00
Constantin S. Pan
8539c1e119
Fix the column size difference bug in SummingMergeTree
2018-07-18 00:17:04 +03:00
chertus
3d133a6a5a
save block structure when add defaults
2018-07-17 23:02:37 +03:00
chertus
955293cea7
some more build improvements
2018-07-17 21:42:05 +03:00
proller
c7848d2062
CLICKHOUSE-3771: Fixes
2018-07-17 21:22:32 +03:00
chertus
cbf1c220ae
better proto deserialize
2018-07-17 21:18:46 +03:00
robot-metrika-test
d362e2e141
Auto version update to [1.1.54398] [54395]
2018-07-17 20:04:13 +03:00
alexey-milovidov
4b31f389b7
Update BufferBase.h
2018-07-17 19:41:41 +03:00
Amos Bird
c3c762cde7
Fast path for stringify float points.
2018-07-17 19:41:41 +03:00
robot-metrika-test
43ed979431
Auto version update to [1.1.54397] [54395]
2018-07-17 18:37:27 +03:00
robot-metrika-test
e68699c669
Auto version update to [1.1.54396] [54395]
2018-07-17 16:21:31 +03:00
proller
d271b58e7b
CLICKHOUSE-3771 Clean
2018-07-17 16:19:40 +03:00
chertus
c7d9314189
allow build with system capnp
2018-07-17 15:18:20 +03:00
robot-metrika-test
02f7b96484
Auto version update to [1.2.1] [54396]
2018-07-17 14:53:14 +03:00
robot-metrika-test
4806d23261
Auto version update to [54396]
2018-07-17 14:45:10 +03:00
proller
3f949fc86a
CLICKHOUSE-3771: new version scheme
2018-07-17 14:15:14 +03:00
chenxing.xc
5e3bc07a25
OR to IN rewrite issue in functions
2018-07-17 14:27:28 +08:00
chertus
07a782e637
fix wrong defaults at columns tail and some build fixes
2018-07-16 22:28:07 +03:00
alexey-milovidov
0463fb6dd3
Update Settings.h
2018-07-16 19:48:56 +03:00
alexey-milovidov
2d3aa8cdba
Update TableMetadata.h
2018-07-16 19:41:15 +03:00
Alexey Milovidov
09d9ac671b
Added a test #2657
2018-07-16 19:31:34 +03:00
Alexey Milovidov
2465803888
Merge branch 'aggregate-function-max-intersections-fix-sorting' of https://github.com/furmur/ClickHouse into furmur-aggregate-function-max-intersections-fix-sorting
2018-07-16 19:05:58 +03:00
alexey-milovidov
d1eac37389
Update AggregateFunctionMaxIntersections.h
2018-07-16 19:04:35 +03:00
chertus
e65c0b436a
Merge branch 'master' into issue-3578
2018-07-16 18:28:06 +03:00
chertus
2cddb4b840
send metadata only for affected table
2018-07-16 17:52:02 +03:00
proller
cce2e005c5
Macos default build fixes
2018-07-16 17:16:26 +03:00
alexey-milovidov
f31b1236c1
Update MergeTreeDataSelectExecutor.cpp
2018-07-16 16:44:32 +03:00
proller
0b0a2838c8
Fix compile error with boost 1.68.0
2018-07-16 16:44:32 +03:00
Michael Furmur
218a282f88
maxIntersections: add sorting by weight
2018-07-16 15:01:05 +03:00
chertus
925e4c7dbb
backward compatibility
2018-07-16 14:28:22 +03:00
Alexey Milovidov
6ba5b3bd82
Fixed warning [#CLICKHOUSE-2]
2018-07-16 09:09:27 +03:00
Alexey Milovidov
317807f03d
Fixed warning [#CLICKHOUSE-2]
2018-07-16 09:08:39 +03:00
Alexey Milovidov
9de268a455
Added a test from Silviu Caragea #2026
2018-07-16 09:06:44 +03:00
Alexey Milovidov
0a2e6eca45
Implemented generic case for comparison operators #2026
2018-07-16 09:06:44 +03:00
Alexey Milovidov
7540bdfa29
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-16 07:22:25 +03:00
Alexey Milovidov
52b284a67f
Updated README for integration tests [#CLICKHOUSE-2]
2018-07-16 07:22:16 +03:00
Alexey Milovidov
6a2d8d4f3f
Added support for arbitary complex types in "uniq" family of aggregate functions #2010
2018-07-16 06:55:41 +03:00
Alexey Milovidov
9611198568
Merge branch 'master' into background-processing-pool-backoff
2018-07-16 06:39:37 +03:00
Alexey Milovidov
77ed75e1d3
Merge branch 'master' into amosbird-master
2018-07-16 06:34:22 +03:00
Alexey Milovidov
06fdc5d0ab
Fixed error with DROP TEMPORARY queries #2624
2018-07-16 06:34:05 +03:00
alexey-milovidov
947c5eb6c9
Avoid accidential truncating table in default database in test.
2018-07-16 06:32:43 +03:00
alexey-milovidov
68b57e605a
Merge branch 'master' into background-processing-pool-backoff
2018-07-16 06:27:43 +03:00
alexey-milovidov
4d1c470469
Update MergeTreeData.cpp
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
b1a97f90fc
add test [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
88aa790a2d
save mutations to disk and load them on startup [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
78b83d78f0
execute part mutations in a background pool [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
88300258a7
info in system.mutations for nonreplicated MergeTree [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
ce17868a5c
execute mutations synchronously for StorageMergeTree [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Milovidov
ad3d882b67
Mitigate race condition in test [#CLICKHOUSE-2]
2018-07-16 04:10:41 +03:00
Alexey Milovidov
9381af3bbb
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-16 03:33:21 +03:00
Alexey Milovidov
a4c0ab7c04
Removed obsolete file #2635
2018-07-16 03:33:12 +03:00
Alexey Milovidov
0f3d6fe756
Fixed error #2649
2018-07-16 03:30:13 +03:00
Alexey Milovidov
63d3d9c8ed
Added a test from Silviu Caragea #1322
2018-07-16 03:30:13 +03:00
Alexey Milovidov
13e5b246f8
Added test #1322
2018-07-16 03:30:13 +03:00
Alexey Milovidov
eee02143a8
Implemented more accurate CAST from String to Nullable of Date and DateTime #1322
2018-07-16 03:30:13 +03:00
Alexey Milovidov
297805f719
Implemented toOrZero, toOrNull functions for Date and DateTime arguments (incomplete) #1322
2018-07-16 03:30:13 +03:00
Alexey Milovidov
8533011a49
More accurate conversion to Nullable type in function CAST #1322
2018-07-16 03:30:13 +03:00
filimonov
d13c6f6823
deadlinks2
2018-07-16 03:22:42 +03:00
VadimPE
5bb8f7ea4a
[CLICKHOUSE-3269] rename isDigit()
2018-07-15 00:22:29 +03:00
VadimPE
4134711faa
[CLICKHOUSE-3269] fix
2018-07-15 00:22:29 +03:00
VadimPE
18681db7fa
[CLICKHOUSE-3269] fix bug with netmaskToIPv6()
2018-07-15 00:22:29 +03:00
alexey-milovidov
b384b7afc4
Update Users.cpp
2018-07-15 00:22:29 +03:00
VadimPE
c45a5aa775
fix netmask from IPv4 to IPv6
2018-07-15 00:22:29 +03:00
VadimPE
0036e75a92
add example in users.xml
2018-07-15 00:22:29 +03:00
VadimPE
5834c0f9d9
fix bug
2018-07-15 00:22:29 +03:00
VadimPE
180ba17e6b
fix
2018-07-15 00:22:29 +03:00
VadimPE
849f02104f
added support for new masks
2018-07-15 00:22:29 +03:00
proller
5384504fa2
More information in 'Cannot read all data' errors
2018-07-13 22:06:26 +03:00
chertus
53f1f4794d
fix inserts into unknown table, ex. 'table function url(...)'
2018-07-13 21:06:47 +03:00
Alexey Milovidov
215ec2be98
Tiny improvement [#CLICKHOUSE-3820]
2018-07-13 20:27:58 +03:00
chertus
bc5d5bcf4a
fix build with CAPNP
2018-07-13 18:10:42 +03:00
chertus
2c4949dd5d
fix build without CAPNP
2018-07-13 16:47:13 +03:00
chertus
4e0d9aa8d4
revert unneeded changes
2018-07-13 15:46:29 +03:00
chertus
c8f71cb539
Merge branch 'master' into issue-3578
2018-07-13 14:30:42 +03:00
alexey-milovidov
53f9ae3cf1
Update CompressedReadBufferBase.cpp
2018-07-13 06:41:18 +03:00
proller
9d0b6bffe4
Better error: Print checksums if they mismatch
2018-07-13 06:41:18 +03:00
chertus
c78a67d573
fix case with unexpected aliases
2018-07-13 01:05:03 +03:00
Alexey Milovidov
c315200e64
Fixed rare error in ZooKeeper library: callback never called in case when network error happens after reading response header but before response body was read - that will lead to deadlock and readonly table [#CLICKHOUSE-3820]
2018-07-13 00:31:38 +03:00
chertus
f89e476c0f
add option to disable sending metadata
2018-07-12 17:33:57 +03:00
robot-metrika-test
d2c4696bc6
Auto version update to [54394]
2018-07-12 16:25:17 +03:00
chertus
a7fcae2759
fix defaults with list expressions
2018-07-12 13:03:49 +03:00
chertus
2876aadba7
fix materialized
2018-07-12 11:49:20 +03:00
robot-metrika-test
b683792769
Auto version update to [54393]
2018-07-11 23:45:40 +03:00
Alexey Milovidov
14d5aa061f
Miscellaneous #1322
2018-07-11 22:37:57 +03:00
chertus
3c39f2fc69
fix some tests
2018-07-11 21:34:12 +03:00
chertus
a765aef4db
fix KafkaStorage build and add sql test for defaults
2018-07-11 19:24:29 +03:00
Alexey Milovidov
d6a3cade18
Whitespaces [#CLICKHOUSE-3820]
2018-07-11 19:10:02 +03:00
Alexey Milovidov
06fc37abd4
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-11 18:58:56 +03:00
Alexey Milovidov
0352d6916f
Updated default clickhouse-client config #1959
2018-07-11 18:58:29 +03:00
chertus
82d22574d4
fix empty defaults mask issue and add some comments
2018-07-11 17:11:47 +03:00
robot-metrika-test
5a25d7df26
Auto version update to [54392]
2018-07-11 16:00:46 +03:00
Alexey Milovidov
b3b41c9661
Non significant changes #2521
2018-07-11 15:59:37 +03:00
Alexey Milovidov
2f4605e7da
Fixed build #2627
2018-07-11 15:50:23 +03:00
alexey-milovidov
9793ae98e0
Merge pull request #2521 from ssmike/CLICKHOUSE-3547
...
CLICKHOUSE-3547 streaming histogram aggregation
2018-07-11 15:48:12 +03:00
chertus
fe1b393e55
defaults for storages with formated input
2018-07-11 15:05:04 +03:00
alexey-milovidov
e0ce1aac56
Update WriteBufferFromOStream.cpp
2018-07-10 23:46:10 +03:00
alexey-milovidov
ba25b84e6d
Update WriteBufferFromOStream.cpp
2018-07-10 23:46:10 +03:00
alexey-milovidov
401c48272d
Update WriteBufferFromOStream.h
2018-07-10 23:46:10 +03:00
alexey-milovidov
1737228039
Update ReadBufferFromIStream.cpp
2018-07-10 23:46:10 +03:00
alexey-milovidov
21a5a7a544
Update ReadBufferFromIStream.h
2018-07-10 23:46:10 +03:00
proller
2e0869f567
Write current position in stream errors
2018-07-10 23:46:10 +03:00
Alexey Milovidov
8eea4ae9cd
Fixed race condition in test #2604
2018-07-10 22:00:07 +03:00
Alexey Milovidov
abf8cd24d7
Fixed discrepancy [#CLICKHOUSE-2837]
2018-07-10 21:39:32 +03:00
Alexey Milovidov
98f8ae3edb
Fixed error with timeouts [#CLICKHOUSE-2837]
2018-07-10 20:40:17 +03:00
chertus
519102b110
defaults for http inserts
2018-07-10 20:20:55 +03:00
robot-metrika-test
f6e0a4ae68
Auto version update to [54391]
2018-07-10 19:16:29 +03:00
Alexey Milovidov
e3b3c9f81b
Added test for chroot in ZK [#MDBSUPPORT-204]
2018-07-10 19:14:27 +03:00
Alexey Milovidov
f80081ca03
Fixed chroot prefix in information about exception for ZooKeeper multi transaction (variant 2) [#MDBSUPPORT-204]
2018-07-10 19:14:27 +03:00
Amos Bird
f5764910c4
Fix TRUNCATE command for temporary tables.
2018-07-10 22:25:08 +08:00
Alexey Milovidov
a26a0f5331
Better exception message for KeeperMiltiException [#MDBSUPPORT-204]
2018-07-10 16:47:14 +03:00
Alexey Milovidov
8e0ae12b4e
Miscellaneous [#CLICKHOUSE-2]
2018-07-10 16:43:01 +03:00
chertus
5036309d26
fix const defaults
2018-07-10 16:33:41 +03:00
chertus
bac1f77620
insert defaults (first working version)
2018-07-10 14:40:33 +03:00
Георгий Кондратьев
f8b53280a0
Do not add lib prefix to dictionary_library plugins
...
By convention plugins (libraries that are only meant for dlopen) do not have lib prefix.
2018-07-10 14:29:19 +03:00
Alexey Milovidov
15dd80a913
Debugging [#CLICKHOUSE-2]
2018-07-10 03:35:00 +03:00
Simon Podlipsky
6c7ba03d0f
Add missing UInt128 (UUID) field visitors
2018-07-10 00:39:13 +03:00
Alexey Milovidov
3c34487f43
Preparations [#CLICKHOUSE-2]
2018-07-09 23:36:58 +03:00
chertus
2e4c2328af
metadata in capn proto format (in progress - need apply on client)
2018-07-09 19:31:24 +03:00
Amos Bird
ea01a3b22e
add OPTIMIZE FINAL support for ReplicatedMergeTree.
2018-07-09 18:03:23 +03:00
Mikhail Surin
877acef7d5
remove temporary allocations
2018-07-08 16:56:33 +03:00
Alexey Milovidov
7dc1276afe
Little better #2281
2018-07-08 08:26:51 +03:00
Alexey Milovidov
0947c7808d
Avoid locking while reading config to check part_log #2281
2018-07-08 07:54:37 +03:00
Alexey Milovidov
a2faa511cc
Less number of "stat" calls for each INSERT into MergeTree #2281
2018-07-08 06:56:24 +03:00
Alexey Milovidov
3445c78190
Added exponential backoff for BackgroundProcessingPool #2281
2018-07-08 05:57:41 +03:00
Alexey Milovidov
7707b5a209
Improvement [#CLICKHOUSE-3810]
2018-07-08 02:53:49 +03:00
Alexey Milovidov
a34f1231f3
Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563
2018-07-07 23:05:52 +03:00
Alexey Milovidov
4f2655960c
Fixed test [#CLICKHOUSE-2]
2018-07-07 22:39:20 +03:00
Alexey Milovidov
d2a44248cd
Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563
2018-07-07 22:02:10 +03:00
Alexey Milovidov
b714d87de7
Get rid of virtual columns in system.tables table [#CLICKHOUSE-3806]
2018-07-07 21:58:48 +03:00
Alexey Milovidov
c126b9a5ab
Fixed trashy test #2115
2018-07-07 21:52:58 +03:00
Mikhail Surin
69b8774611
ensure parameter type
2018-07-07 15:38:47 +03:00
Mikhail Surin
9f5e9d1389
epsilon
2018-07-07 15:09:21 +03:00
Mikhail Surin
ca837723ed
fix unique for empty point sets
2018-07-07 13:40:32 +03:00
Alexey Milovidov
c3b7abaa8b
Added another test #2115
2018-07-06 22:47:08 +03:00
Alexey Milovidov
b01d7bb5e2
Fixed wrong code #2115
2018-07-06 22:37:58 +03:00
Alexey Milovidov
299d029d35
Added a test from Silviu Caragea #2115
2018-07-06 22:22:12 +03:00
Alexey Milovidov
43111f2ac9
Fixed error with function "has" and Nullable array argument #2115
2018-07-06 22:19:38 +03:00
chertus
597778c074
metadata in capn proto (in progress)
2018-07-06 22:19:06 +03:00
Alexey Milovidov
576885c6b8
Little better [#CLICKHOUSE-2]
2018-07-06 21:35:37 +03:00
robot-metrika-test
173deed844
Auto version update to [54390]
2018-07-06 19:37:50 +03:00
Alexey Milovidov
93f8316e1f
Little better [#CLICKHOUSE-3806]
2018-07-06 19:34:53 +03:00
Alexey Milovidov
1927ab56e1
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-06 19:22:37 +03:00
Alexey Milovidov
95915579c7
Fixed test [#CLICKHOUSE-3806]
2018-07-06 19:22:15 +03:00
alexey-milovidov
1e78445a25
Update FunctionsConversion.h
2018-07-06 18:55:26 +03:00
Nikolai Kochetov
935b7edb48
Removed enums from IDataType::isValueRepresentedByUnsignedInteger
2018-07-06 18:55:26 +03:00
Nikolai Kochetov
f676fed344
Added test with monotonic integer cast.
2018-07-06 18:55:26 +03:00
Nikolai Kochetov
7592b6e34a
Fixed monotonic constraints for unsigned integer types.
2018-07-06 18:55:26 +03:00
chertus
c26ca0232d
metadata in capn proto format (in progress)
2018-07-06 18:49:33 +03:00
Alex Zatelepin
f7f4f220f1
Update MergeTreeData.cpp
2018-07-06 15:14:23 +03:00
Ciprian Hacman
fd6fb023b6
Recreate format_version.txt when missing
2018-07-06 15:14:23 +03:00
Mikhail Surin
8c4f04c452
invalid values handler
2018-07-06 14:29:14 +03:00
Alexey Milovidov
7fcf609812
Miscellaneous [#CLICKHOUSE-3806]
2018-07-06 03:28:39 +03:00
Alexey Milovidov
5d52be3c7e
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-06 03:27:58 +03:00
Alexey Milovidov
21508df7c2
Fixed extremely bad code #2313
2018-07-06 03:27:47 +03:00
Alexey Milovidov
67b9a69f19
Fixed error in prev. revision [#CLICKHOUSE-3806]
2018-07-06 00:26:23 +03:00
Alexey Milovidov
88c582106b
Attempt to get rid of VirtualColumnFactory (part 2) [#CLICKHOUSE-3806]
2018-07-05 23:38:05 +03:00
Alexey Milovidov
cc2250f688
Attempt to get rid of VirtualColumnFactory (part 1) [#CLICKHOUSE-3806]
2018-07-05 22:56:51 +03:00
Alexey Milovidov
0a188389c0
Fixed error #2599
2018-07-05 21:56:33 +03:00
Alexey Milovidov
4a35b57cea
Little better #2599
2018-07-05 21:45:18 +03:00
Amos Bird
78beacb3a5
Make OPTIMIZE be able to merge all parts with FINAL.
2018-07-05 21:32:54 +03:00
Alexey Zatelepin
d5f8e4a1a5
load quorum status in merge predicate asynchronously [#CLICKHOUSE-3802]
2018-07-05 20:06:33 +03:00
Alexey Zatelepin
a41ee1f0a7
switch to ephemeral nodes for block number locks [#CLICKHOUSE-3802]
2018-07-05 20:06:33 +03:00
Alexey Zatelepin
0a46d231ed
speedup merge selection: async exists check for selected parts [#CLICKHOUSE-3802]
2018-07-05 20:06:33 +03:00
Alexey Zatelepin
116ed0a59e
add RestartingThread wakeup for faster session recovery
2018-07-05 19:30:52 +03:00
Alexey Zatelepin
fe83c8dab1
stricter validation of mutation commands #2588
2018-07-05 17:19:33 +03:00
Mikhail Surin
0418f179dc
merge review
2018-07-05 16:29:43 +03:00
Alexey Zatelepin
88951cac62
clearer error message in test
2018-07-05 16:29:22 +03:00
Mikhail Surin
8bb17685fd
reduce memory footprint
2018-07-05 14:33:59 +03:00
chertus
e34bc2782e
3578: get ColumnDefaults from context (it's empty now)
2018-07-05 14:01:25 +03:00
Mikhail Surin
f598e6d47c
add tests
2018-07-05 12:53:42 +03:00
Mikhail Surin
984fe8e4fd
implement n log(n) compression algorigthm
2018-07-05 12:53:42 +03:00
Mikhail Surin
b09323c547
naive implementation
2018-07-05 12:53:42 +03:00
Alexey Milovidov
c45aa180e8
Reviewing #2521
2018-07-05 02:24:36 +03:00
Alexey Milovidov
018e48399e
Make the test results more stable with respect to floating point calculations method #2521
2018-07-05 01:37:48 +03:00
Alexey Milovidov
bfc29a3b91
Updated test #2521
2018-07-05 01:32:55 +03:00
Alexey Milovidov
ac2d352203
Reviewing #2521
2018-07-05 01:28:15 +03:00
Alexey Milovidov
b18a0e3ec0
Reviewing #2521
2018-07-05 00:49:32 +03:00
Alexey Milovidov
efb4eab4fd
Merge branch 'CLICKHOUSE-3547' of https://github.com/ssmike/ClickHouse into ssmike-CLICKHOUSE-3547
2018-07-05 00:29:40 +03:00
Alexey Milovidov
c6eaca7c67
Adaptations #2574
2018-07-05 00:15:29 +03:00
Alexey Milovidov
7209d8b76f
Adaptations #2574
2018-07-05 00:09:58 +03:00
Alexey Milovidov
84fd35da41
Adaptations #2574
2018-07-05 00:00:50 +03:00
Alexey Milovidov
7bdafa6105
Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird-master
2018-07-04 23:54:54 +03:00
Alexey Milovidov
c0373c1d45
Style; added comment #2566
2018-07-04 23:46:17 +03:00
Alexey Milovidov
47958bee7c
Merge branch 'feature-agg-func-in-summing-merge-tree' of https://github.com/kvap/ClickHouse into kvap-feature-agg-func-in-summing-merge-tree
2018-07-04 23:34:28 +03:00
Alexey Milovidov
4535f96148
Implemented TODO #2584
2018-07-04 20:28:52 +03:00
Alexey Milovidov
8fd1dbf6ec
Make the test compatible with different versions of curl #2490
2018-07-04 20:28:52 +03:00
Alexey Milovidov
e6c293ab60
Added setting "use_index_for_in_with_subqueries_max_values" #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
76e35959fb
Fixed test #2490
2018-07-04 20:28:52 +03:00
Alexey Milovidov
c99e717632
Fixed bad code #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
6afec54f7a
Addition to prev. revision #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
e86f73e465
Fixed half of bad code #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
083b075631
Removed useless method #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
4b099e385b
Fixed typo #2482
2018-07-04 20:28:06 +03:00
Nikolai Kochetov
d49a39e5e5
Added test with runningDifference function. #2590
2018-07-04 20:25:48 +03:00
Nikolai Kochetov
5e3c0c0238
Supported nullable for runningDifference function. #2590
2018-07-04 20:25:48 +03:00
chertus
88c4081a82
3578: defaults for input streams (in progress)
2018-07-04 20:02:47 +03:00
Alexey Milovidov
f00f9d1f9a
Merge branch 'master' into CLICKHOUSE-2910
2018-07-04 16:29:58 +03:00
Alexey Zatelepin
48c48c6c9a
add functional test for mutations of Replicated tables [#CLICKHOUSE-3747]
2018-07-02 22:34:15 +03:00
Nikolai Kochetov
67755fe882
Added test. #2580
2018-07-02 20:46:33 +03:00
Nikolai Kochetov
323578c8b6
Reload client connection params before reconnection. #2580
2018-07-02 20:46:33 +03:00
morty
35c0ab9783
Merge branch 'master' into feature/suggestions
2018-07-02 11:52:45 +03:00
Alexey Milovidov
9845814701
Obfuscator: added heuristic #2518
2018-06-30 22:03:26 +03:00
Alexey Milovidov
394b020869
Fixed potential issue in Obfuscator on illegal UTF-8 source #2518
2018-06-30 02:27:56 +03:00
Nikolai Kochetov
6e5e57353a
Review fixes. [#CLICKHOUSE-3694] #2156
2018-06-29 19:18:50 +03:00
Nikolai Kochetov
f5ecd410ae
Renamed test.
2018-06-29 17:05:02 +03:00
Alexey Zatelepin
3cbced0d2a
add integration test for mutations of Replicated tables [#CLICKHOUSE-3747]
2018-06-29 16:46:28 +03:00
Amos Bird
900b046943
Add options to enable parsing CSV with single/double quote.
2018-06-29 15:34:55 +08:00
Alexey Milovidov
e051998e1c
Renamed setting "send_logs_level" #2482
2018-06-28 23:11:14 +03:00
Alexey Milovidov
d8654d07e1
Auto version update to [54389]
2018-06-28 22:43:27 +03:00
Alexey Milovidov
3894f094ea
Fixed setting descriptions #2482
2018-06-28 22:40:18 +03:00
alexey-milovidov
1381369638
Update Defines.h
2018-06-28 20:48:05 +03:00
alexey-milovidov
3904ba561f
Merge branch 'master' into CLICKHOUSE-2910
2018-06-28 20:47:25 +03:00
Alexey Milovidov
d4eefc414c
Merge branch 'query_in_form_data' of https://github.com/stavrolia/ClickHouse into stavrolia-query_in_form_data
2018-06-28 20:34:58 +03:00
alexey-milovidov
b7ac6ac8c1
Update IAST.cpp
2018-06-28 20:25:09 +03:00
Nikolai Kochetov
782caef119
Added IAST::appendColumnName(WriteBuffer &); reimplemented IAST::getColumnName() using it.
2018-06-28 20:25:09 +03:00
Nikolai Kochetov
bd4a899dd3
Reduced the number of IAST::getColumnName() calls in ExpressionAnalyzer.
2018-06-28 20:25:09 +03:00
Nikolai Kochetov
29ef36a270
Added test. [#CLICKHOUSE-3794]
2018-06-28 20:15:12 +03:00
Nikolai Kochetov
acd6c8fafd
Supported array(tuple) arguments for arrayEnumerateUniq function. [#CLICKHOUSE-3794]
2018-06-28 20:15:12 +03:00
Alexey Milovidov
6f21706f65
Added test #2553
2018-06-28 19:05:41 +03:00
Alexey Milovidov
493b67d051
Removed useless file [#CLICKHOUSE-2]
2018-06-28 18:59:39 +03:00
Nikolai Kochetov
ebde528506
Create default macros in global context. [#CLICKHOUSE-3793]
2018-06-28 17:11:09 +03:00
Mikhail Surin
c7a305eca3
fix float transform
2018-06-28 16:36:40 +03:00
stavrolia
5966b78d41
add case with external file
2018-06-27 21:53:11 +03:00
robot-metrika-test
e03d523f19
Auto version update to [54388]
2018-06-27 16:10:59 +03:00
Alexey Zatelepin
2447755700
BackgroundSchedulePool: remove task from delayed even it it is currently executing
...
If the task was left in the delayed_tasks set, it could lead to a nasty bug:
delayExecutionThreadFunction() would schedule the task, then it would immediately
go on a next iteration and schedule the same task again. Thus this task would be
continually executing, and other delayed tasks would have no chance to run.
2018-06-27 13:47:58 +03:00
Nikolai Kochetov
bf3327da8b
Removed nullable column from ColumnUnique. Added IColumnUnique::getNestedNotNullableColumn().
2018-06-26 20:38:32 +03:00
Constantin S. Pan
59e7af6926
Add a test with materialized view against null table and lots of data
2018-06-26 16:26:51 +01:00
Nikolai Kochetov
9f591b8d02
Merged with master.
2018-06-26 17:41:29 +03:00
Nikolai Kochetov
b1eace2877
Fixed DataTypeWithDictionary deserialization.
2018-06-26 17:12:35 +03:00
Nikolai Kochetov
f191eb8ae9
Fix ColumnWithDictionary::getPremutation limit
2018-06-26 17:12:34 +03:00
Nikolai Kochetov
9e9b33ebe5
Fix deserialization indexes for additional keys in DataTypeWithDictionary.
2018-06-26 17:12:30 +03:00
Nikolai Kochetov
f56d16769b
Added pre and post serialization for IDataType BinaryBulkWithMultipleStreams. Supported dictionary serialization format with single global dictionary (limited wit max_dictionary_size) and additional keys which are stored per granule. Changed IDataType::enumerateStream interface. Added (de)serialization params for binary bulk with multiple stream (de)serialization. Changed IColumn::index interface.
2018-06-26 17:12:21 +03:00
Nikolai Kochetov
58cbcbd5c3
Supported DataTypeWithDictionary in CAST function.
2018-06-26 17:12:21 +03:00
Nikolai Kochetov
df71a25b4f
Removed function makeDictionary, added functions makeDictionaryUInt{8,16,32,64}
2018-06-26 17:12:21 +03:00
Nikolai Kochetov
12bf5ef565
Added IColumn::convertToFullColumnIfWithDictionary; supported FilterDescription for ColumnWithDictionary
2018-06-26 17:12:15 +03:00
Nikolai Kochetov
0eed697623
Fixed typo.
2018-06-26 14:28:24 +03:00
Constantin S. Pan
cc4c4e0b49
Make the test more comprehensive and fix bugs in AggregateFunction implementation of SummingMergeTree
2018-06-26 11:28:42 +01:00
stavrolia
e1cd4d22db
Add test ( #2490 )
2018-06-25 21:17:10 +03:00
Nikolai Kochetov
bd7c72de5c
Spelling.
2018-06-25 16:08:35 +03:00
Nikolai Kochetov
60f0ed9296
Added processing stage check for StorageMerge. [#CLICKHOUSE-3694] #2156
2018-06-25 15:47:51 +03:00
Nikolai Kochetov
4f7c284d34
Fixed build.
2018-06-25 15:47:45 +03:00
Nikolai Kochetov
ba4cf6faf0
Merged with master.
2018-06-25 15:08:21 +03:00
Nikolai Kochetov
7c95d15374
Added test. #2525
2018-06-25 13:57:28 +03:00
Nikolai Kochetov
91c9906c88
Fixed reading from ReplacingMergeTree from emprty row set after prewhere. #2525
2018-06-25 13:48:11 +03:00
morty
492040bd66
Merge branch 'master' into feature/suggestions
2018-06-25 11:22:15 +03:00
Mikhail Surin
0188538b33
fix review
2018-06-22 21:30:13 +03:00
Mikhail Surin
021f3b564b
add tests
2018-06-22 21:30:13 +03:00
Mikhail Surin
7ee530a97d
implement n log(n) compression algorigthm
2018-06-22 21:30:13 +03:00
Mikhail Surin
511e608080
use arena
2018-06-22 21:30:13 +03:00
Mikhail Surin
2f300e9df9
change bins schema
2018-06-22 21:30:13 +03:00
Mikhail Surin
3373909cbd
naive implementation
2018-06-22 21:30:09 +03:00
robot-metrika-test
a21a9577f4
Auto version update to [54387]
2018-06-22 21:10:11 +03:00
Alexey Zatelepin
7ce4ebf1e1
fix test (disable random component in CleanupThread sleep period)
2018-06-22 18:53:59 +03:00
Alexey Zatelepin
7ce74d1730
ZooKeeper client: before the fix we waited 2x longer than necessary before the timeout
2018-06-22 18:30:29 +03:00
Constantin S. Pan
1333b5e97b
Fix the test for AggregateFunction in SummingMergeTree
2018-06-22 16:29:04 +01:00
Alexey Zatelepin
b247635acf
disable unreliable test [#CLICKHOUSE-3758]
2018-06-22 13:46:07 +03:00
Alexey Zatelepin
971fddb299
add comments [#CLICKHOUSE-3747]
2018-06-22 13:43:35 +03:00
zhang2014
f4e72792a5
ISSUES-2553 add offset parameter to numbers
2018-06-22 12:55:36 +03:00
Alexey Zatelepin
e78dc8142c
factor out common code [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
a6c61848f1
mutations finalizing task [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
2fb3d42dfd
temporary fix for a bug when several mutations have the same predicate [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
36982b967d
use single mutex in ReplicatedMergeTreeQueue for simplicity
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
b2cdfcbaca
calculate and update parts_to_do for mutations [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
proller
a31adcfdea
Allow use unbundled cpuid ( #2543 )
...
* Wait test server startup for 5s
* clean
* Allow use system libcpuid
* cpuid: move include/cpuid/ -> include/libcpuid/
* fix
2018-06-21 20:35:03 +03:00
proller
e1ae5233df
Add // Y_IGNORE tags
2018-06-21 18:24:36 +03:00
Constantin S. Pan
e94570d206
Add support for AggregateFunction in SummingMergeTree
2018-06-21 16:10:32 +01:00
proller
2d9d723d3c
Wait test server startup for 5s
2018-06-21 17:54:48 +03:00
Nikolai Kochetov
96df20f6b5
Fixed ColumnUnique::compareAt implementation; deprecated several metods for IColumnUnique
2018-06-21 16:29:09 +03:00
Nikolai Kochetov
f88584d748
Added DeserializeBinaryBulkState which stores reading state for ColumnWithDictionary.
2018-06-21 16:28:53 +03:00
Vitaliy Lyudvichenko
1a4157f2a9
clickhouse_common_io does not depend on dbms. [#CLICKHOUSE-2910]
...
Get rid of extra linking dependencies for clickhouse_common_io. [#CLICKHOUSE-2910]
2018-06-21 15:13:56 +03:00
Vitaliy Lyudvichenko
358e4ae9bf
Fixed failures in utils, more precise test. [#CLICKHOUSE-2910]
2018-06-20 18:41:15 +03:00
Vitaliy Lyudvichenko
310bb4116e
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-19 23:33:11 +03:00
Vitaliy Lyudvichenko
e13ba09004
Rewritten ThreadStatus via adding shared thread state. [#CLICKHOUSE-2910]
...
Fixed race condition in SystemLog.
2018-06-19 23:30:35 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes ( #2488 )
...
CONTRIB-254
2018-06-19 21:09:09 +03:00
morty
c063d5c5e4
Merge branch 'master' into feature/suggestions
2018-06-19 17:08:27 +03:00
morty
47c6dc1728
Added missing query keywords, preload dictionary names and attributes, fixes and cleanup
2018-06-19 17:07:10 +03:00
Sergei Tsetlin (rekub)
987644e1e7
shift arguments, some problem seems found!
2018-06-19 16:36:53 +03:00
Sergei Tsetlin (rekub)
32557a36c5
test aggregation state multiply
2018-06-19 14:21:44 +03:00
proller
a4e6f726e8
Build and test fixes
2018-06-19 00:13:11 +03:00
Vitaliy Lyudvichenko
8dc1bebf00
Add logs forwarding from remote severs to client. [#CLICKHOUSE-2910]
2018-06-18 19:30:26 +03:00
Vitaliy Lyudvichenko
e031b5360a
Minor enhancement. [#CLICKHOUSE-2910]
2018-06-18 16:50:20 +03:00
Vitaliy Lyudvichenko
392f6e0c6c
Print query_id in logs. Add own logging interface. [#CLICKHOUSE-2910]
2018-06-18 16:41:13 +03:00
Sergei Tsetlin (rekub)
36a3425a0f
multiply aggregate state
2018-06-18 15:52:27 +03:00
Alexey Milovidov
187d93ea82
Addition to prev. revision #2520
2018-06-18 05:17:00 +03:00
Alexey Milovidov
4871fb3626
Addition to prev. revision #2520
2018-06-18 05:16:00 +03:00
Alexey Milovidov
447ffe32a9
Addition to prev. revision #2520
2018-06-18 05:15:19 +03:00
Alexey Milovidov
ea01f6a3ff
Addition to prev. revision #2520
2018-06-18 05:12:19 +03:00
Alexey Milovidov
82102c6896
Fixed conflicting headers on Fedora Rawhide while using Linux native AIO #2520
2018-06-18 04:33:34 +03:00
Alexey Milovidov
3ea8ce1c0a
Obfuscator: better default parameter #2518
2018-06-17 02:34:34 +03:00
Alexey Milovidov
6173e4b71f
Returned back "explicit" #2501
2018-06-16 09:00:51 +03:00
Alexey Milovidov
2298f1c68b
Fixed strange code #2501
2018-06-16 08:54:06 +03:00
Alexey Milovidov
b108882e2e
Merge branch 'master' of https://github.com/alesapin/ClickHouse into alesapin-master
2018-06-16 08:29:00 +03:00
Alexey Milovidov
05d31f5e46
LZ4_decompress_faster: reordered variants and removed variant that is always worse [#CLICKHOUSE-3773]
2018-06-16 07:48:37 +03:00
Alexey Milovidov
52755f248a
Fixed error [#CLICKHOUSE-2]
2018-06-16 06:35:23 +03:00
Alexey Milovidov
d8eb8c8ddf
Fixed error [#CLICKHOUSE-2]
2018-06-16 06:31:49 +03:00
Alexey Milovidov
e4776e8b5d
Fixed build (no include path was specified) #2513
2018-06-16 05:31:41 +03:00
Alexey Milovidov
4e8082a699
Fixed build [#CLICKHOUSE-2]
2018-06-16 05:16:19 +03:00
alexey-milovidov
d853b28543
Merge pull request #2513 from yandex/trim-exit-string
...
Trim exit string
2018-06-16 05:15:25 +03:00
alexey-milovidov
d578bcbd5c
Update StringUtils.h
2018-06-16 05:14:37 +03:00
Alexey Milovidov
0272fc996a
Fixed build [#CLICKHOUSE-2]
2018-06-16 05:13:54 +03:00
Alexey Milovidov
e66cdfe429
Fixed error [#CLICKHOUSE-2]
2018-06-16 05:06:51 +03:00
Alexey Milovidov
e6aa58e667
Fixed error [#CLICKHOUSE-2]
2018-06-16 05:04:46 +03:00
alexey-milovidov
f589ab2831
Merge pull request #2518 from yandex/anonymizer
...
Simple tool for table data obfuscation.
2018-06-16 05:01:15 +03:00
alexey-milovidov
e6daa67beb
Merge pull request #1890 from yandex/lz4_experiments
...
Faster LZ4 decompression (experimental) + simple draft of data mutator.
2018-06-16 04:57:47 +03:00
Alexey Milovidov
fae4359ee1
Data obfuscator: added documentation [#CLICKHOUSE-2]
2018-06-16 04:45:19 +03:00
Alexey Milovidov
9d137881a9
Data obfuscator: added documentation [#CLICKHOUSE-2]
2018-06-16 04:44:25 +03:00
Alexey Milovidov
914b1fc967
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-16 03:52:27 +03:00
Alexey Milovidov
116c91c9ca
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-16 03:50:52 +03:00
Alexey Milovidov
4e02a4c81f
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-16 03:27:59 +03:00
Alexey Milovidov
80ed67c8ee
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-16 02:54:33 +03:00
Constantin S. Pan
ca88ba7cfa
Add a test for AggregateFunction in SummingMergeTree
2018-06-15 16:11:43 +01:00
Vitaliy Lyudvichenko
a0e9d17bfd
Add query_id and host_name to server logs. [#CLICKHOUSE-2910]
2018-06-15 16:49:01 +03:00
Alexey Milovidov
16c16dcc2d
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 13:42:13 +03:00
Alexey Milovidov
9043e36fa1
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 13:03:02 +03:00
Alexey Milovidov
ddd10d956b
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 12:44:14 +03:00
Alexey Milovidov
108cca6ac1
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 12:40:40 +03:00
Alexey Milovidov
47bded3520
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 12:21:53 +03:00
Alexey Milovidov
3de1efa2c2
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 12:07:42 +03:00
Alexey Milovidov
bd5247864b
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 11:53:06 +03:00
alesapin
ffad002bf5
Add missed stl header
2018-06-15 10:42:57 +03:00
Alexey Milovidov
43a98634a9
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 10:09:54 +03:00
alesapin
5bc0f26496
Add missed file
2018-06-15 10:05:14 +03:00
Alexey Milovidov
5fa604db7b
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 09:27:16 +03:00
Alexey Milovidov
e1b85c84f7
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 09:14:39 +03:00
Alexey Milovidov
1c4eb2c586
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 08:33:39 +03:00
Alexey Milovidov
c375814e44
Added support for intHashCRC32 on AArch64 [#CLICKHOUSE-2]
2018-06-15 08:21:12 +03:00
Alexey Milovidov
233906f61b
Enabled ARM Neon [#CLICKHOUSE-2]
2018-06-15 00:58:48 +03:00
alesapin
6e07b17632
Added WriteBufferFromHTTP and used it in StorageURL. Also small refactoring.
2018-06-15 00:22:56 +03:00
alesapin
148cbe8058
Added WriteBufferFromHTTP and used it in StorageURL. Also small refactoring.
2018-06-15 00:20:39 +03:00
Alexey Milovidov
0c467158f9
Attempt to use ARM Neon [#CLICKHOUSE-2]
2018-06-15 00:14:08 +03:00
Alexey Milovidov
d4aa1dffa2
Attempt to use ARM Neon [#CLICKHOUSE-2]
2018-06-15 00:13:13 +03:00
Alexey Milovidov
c9789f985a
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:16:57 +03:00
Alexey Milovidov
af5875960f
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:09:05 +03:00
Alexey Milovidov
cc4f896a9d
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:05:52 +03:00
Alexey Milovidov
177251790b
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:05:20 +03:00
Alexey Milovidov
e27af42041
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:04:48 +03:00