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
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
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
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
chertus
3931a4db5c
Merge branch 'master' into joins
2018-10-31 18:11:23 +03:00
chertus
d8674a264a
ExpressionAnalyzer fix columns deduplication
2018-10-31 15:58:12 +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
chertus
d2518fdb3f
more refactoring: funcs to extract database_and_table from AST
2018-10-29 22:04:28 +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
Artem Zuikov
ccfb51b8dd
Merge pull request #3476 from 4ertus2/joins
...
ExpressionAnalyzer refactoring - remove duplicated code
2018-10-29 11:36:06 +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
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
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
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
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
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
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
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
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
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
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
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
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
dcc8ca49d7
Add global counter to subqueries
2018-10-20 00:03:45 +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
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
chertus
a32e06d298
more ExpressionAnalyzer refactoring [CLICKHOUSE-3996]
2018-10-18 18:03:14 +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
4a93d3b836
fix addedparts
2018-10-18 14:51:40 +03:00
alesapin
87bb06fdd8
CLICKHOUSE-2211: Add exception for impossible case
2018-10-18 12:24:16 +03:00
alesapin
fe6406eac1
CLICKHOUSE-2211: Fix accident delition
2018-10-17 19:18:14 +03:00