Commit Graph

19697 Commits

Author SHA1 Message Date
Alexey Zatelepin
31bc680ac5 ErrorCodes::SYNTAX_ERROR now causes HTTP_BAD_REQUEST 2018-10-29 21:00:36 +03:00
Alexey Zatelepin
6efd0f6bf7 Remove incorrect statement from docs
Column that is in the USING clause is not required to be present in the column
list of the left side of the join (but it must be present in the table definition).

This reverts commit f2533a9653.
2018-10-29 19:21:01 +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
Alexey Zatelepin
2a0c967b6b add RU changelog for v18.14.11 2018-10-29 14:32:28 +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
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
1ef852ad4c
Merge pull request #3462 from shuge/patch-1
Add a much more simple JOIN example.
2018-10-26 14:55:17 +03:00
alesapin
1dd46cf6d6
Merge pull request #3471 from yandex/includes_from_env
Include from env
2018-10-26 14:09:14 +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
Alex Zatelepin
db2d65939c
Update CHANGELOG_RU.md 2018-10-25 14:26:07 +03:00
SaltTan
4fa0e71e53 Update CHANGELOG_RU.md
ClickHouse release 18.14.10
2018-10-25 14:25:11 +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
SuperBot
f2533a9653
Add a much more simple JOIN example. 2018-10-25 17:10:53 +08: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
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
alexey-milovidov
ed28b8d66e
Merge pull request #3458 from breezecoder/patch-1
Translate table engines page to chinese.
2018-10-24 15:08:07 +03:00
Snow
6c18cebf41
Translate table engines page to chinese. 2018-10-24 20:01:10 +08: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
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
BayoNet
2da78ae4d9 EN docs for bitwise aggregate functions groupBitAnd, groupBitOr, groupBitXor. (#3449)
* Update of english version of descriprion of the table function `file`.

* New syntax for ReplacingMergeTree.
Some improvements in text.

* Significantly change article about SummingMergeTree.
Article is restructured, text is changed in many places of the document. New syntax for table creation is described.

* Descriptions of AggregateFunction and AggregatingMergeTree are updated. Russian version.

* New syntax for new syntax of CREATE TABLE

* Added english docs on Aggregating, Replacing and SummingMergeTree.

* CollapsingMergeTree docs. English version.

* 1. Update of CollapsingMergeTree. 2. Minor changes in markup

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatingmergetree.md

* GraphiteMergeTree docs update.
New syntax for creation of Replicated* tables.
Minor changes in *MergeTree tables creation syntax.

* Markup fix

* Markup and language fixes

* Clarification in the CollapsingMergeTree article

* EN docs for bitwise aggregate functions groupBitAnd, groupBitOr, groupBitXor.
2018-10-23 23:20:11 +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
949ff9e346 Merge branch 'master' of github.com:yandex/ClickHouse 2018-10-23 21:26:23 +03:00
alesapin
1c77cf51ce Remove compile_expressions by default 2018-10-23 21:25:55 +03:00