Commit Graph

16395 Commits

Author SHA1 Message Date
Alexey Milovidov
7d1e755a7c Fixed rare race condition on startup of non-replicated MergeTree tables: concurrent attempt to remove a temporary directory [#CLICKHOUSE-4296] 2019-02-12 19:41:06 +03:00
Nikolai Kochetov
8e075899cb Added test. 2019-02-12 19:15:20 +03:00
Nikolai Kochetov
31397f7156 Fix column size for const LowCardinality arguments. 2019-02-12 19:04:05 +03:00
KochetovNicolai
7673d2abb5
Update 906_low_cardinality_cache.sql
Delete table after test.
2019-02-12 18:48:32 +03:00
Nikolai Kochetov
bb686b3154 Fix type for constant LowCardinality arguments. 2019-02-12 18:43:58 +03:00
Nikolai Kochetov
1af4d9b89c Fix type for constant LowCardinality arguments. 2019-02-12 18:42:33 +03:00
chertus
93e0621a2c fix wrong query in push down test 2019-02-12 18:08:21 +03:00
Nikolai Kochetov
b95f5196c0 Added test. 2019-02-12 17:43:52 +03:00
Nikolai Kochetov
a73f29ca2e Fix LowCardinality cache. 2019-02-12 17:38:29 +03:00
Vitaly Baranov
83d461975e Function toStartOfDay() now can receive a date. 2019-02-12 17:21:37 +03:00
proller
26ac9cd979 Merge remote-tracking branch 'upstream/master' into fix10 2019-02-12 17:08:34 +03:00
Alexey Milovidov
40bc370447 Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-12 16:51:43 +03:00
Alexey Milovidov
2aafcb8401 Fixed ubsan build #4322 2019-02-12 16:51:34 +03:00
alesapin
5eb5f631fd
Update BrotliReadBuffer.h 2019-02-12 16:01:14 +03:00
proller
bdefba6c32 fix link order 2019-02-12 15:59:40 +03:00
proller
fa12941640 Merge remote-tracking branch 'upstream/master' into fix10 2019-02-12 15:58:57 +03:00
chertus
aaf3813607 Merge branch 'master' into joins 2019-02-12 15:51:04 +03:00
alexey-milovidov
a6d5714f89
Merge pull request #4360 from vitlibar/fix-compilation-on-mac
Fix compilation on Mac.
2019-02-12 15:34:43 +03:00
Alexey Milovidov
8f1910729a Fixed ubsan build #4322 2019-02-12 15:33:24 +03:00
chertus
3218f5003f fix full/right join different number of columns 2019-02-12 15:11:45 +03:00
proller
558ebbcc31 New library clickhouse_storage_kafka 2019-02-12 14:17:46 +03:00
Vitaly Baranov
ef6b20030c Fix compilation on Mac. 2019-02-12 14:15:03 +03:00
Nikolai Kochetov
a4441bfba2 Fix tests. 2019-02-12 13:09:03 +03:00
proller
af29067fa9 Merge remote-tracking branch 'upstream/master' into fix10 2019-02-12 12:51:01 +03:00
Nikolai Kochetov
ec6a5590fd Fix build. 2019-02-12 12:31:20 +03:00
alesapin
067ee98852 Forward settings in perf test and fix exception in uniq.xml 2019-02-12 12:13:31 +03:00
alesapin
84a71a2287 Fix perf test to correct tables 2019-02-12 11:42:56 +03:00
proller
428f7ce27b Fix split link of dbms/programs/odbc-bridge 2019-02-12 00:43:29 +03:00
Mikhail
763b3dcf73
Merge branch 'master' into brotli 2019-02-11 23:44:39 +03:00
Mikhail Fandyushin
b01d735421 hide brotli from inerface 2019-02-11 23:42:46 +03:00
chertus
a493f9ee7d add test for issue-3290 2019-02-11 22:39:11 +03:00
chertus
bbfd6c502c test for issue-3998 2019-02-11 22:33:04 +03:00
Nikolai Kochetov
2b8b342ccd Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
chertus
805866e6b3 hotfix for wrong aliases issue-4110 2019-02-11 22:14:57 +03:00
chertus
958b538a01 minor improvement 2019-02-11 21:26:40 +03:00
Alexey Milovidov
0b084ba531 Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-11 20:26:44 +03:00
Alexey Milovidov
2294575693 Fixed fuzz test #4322 2019-02-11 20:26:35 +03:00
alexey-milovidov
771d1f10ad
Merge pull request #4349 from proller/fix10
Fix build without contrib/cppkafka submodule
2019-02-11 20:22:36 +03:00
alexey-milovidov
49165b1347
Merge pull request #4344 from yandex/forbid-temporary-tables-in-database
Forbid temporary tables in database
2019-02-11 19:51:56 +03:00
proller
e79468ba45 Merge remote-tracking branch 'upstream/master' into fix10 2019-02-11 19:34:48 +03:00
proller
4078a62573 Fix build without contrib/cppkafka submodule 2019-02-11 19:34:32 +03:00
Nikolai Kochetov
0a6f75a1b6 Allow to execute subquery with scalar aggregate function state. 2019-02-11 18:50:52 +03:00
alesapin
dd62de8a69 Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-11 18:47:47 +03:00
Nikolai Kochetov
d4ba5432b3 Added test. 2019-02-11 18:46:19 +03:00
Nikolai Kochetov
c35439a5f0 Updated FieldVisitor. 2019-02-11 18:46:19 +03:00
alesapin
acd8c8bd28 Skip unfulfilled tests in preformance-test 2019-02-11 18:45:41 +03:00
robot-clickhouse
b141657e61 Auto version update to [19.3.0] [54415] 2019-02-11 18:13:23 +03:00
alexey-milovidov
1db4bd8c2a
Merge pull request #4117 from abyss7/issue-2675
Better tests for Kafka engine
2019-02-11 18:03:24 +03:00
alexey-milovidov
5ab7ffc346
Merge pull request #4341 from yandex/fix_compile_expressions_comparison
Fix big dates comparison with compile expressions (Date and DateTime …
2019-02-11 18:03:04 +03:00
Alexey Milovidov
6610e0cf29 Added a test 2019-02-11 17:55:24 +03:00
Alexey Milovidov
7b312c6df2 Forbid to specify a database when creating a temporary table [#CLICKHOUSE-4294] 2019-02-11 17:46:09 +03:00
alesapin
55fc095c98 Fix big dates comparison with compile expressions (Date and DateTime are not signed types anymore). 2019-02-11 17:36:54 +03:00
alexey-milovidov
bb65c9dfd4
Merge pull request #4337 from danlark1/master
Better hints provider
2019-02-11 17:22:07 +03:00
alexey-milovidov
4e12697e1c
Merge pull request #4304 from vitlibar/add-function-to-start-of-interval
Add time function toStartOfInterval().
2019-02-11 17:21:48 +03:00
chertus
1de1192aa8 move asterisks extraction to TranslateQualifiedNamesVisitor (before column names normalisation) 2019-02-11 17:19:09 +03:00
Alexey Milovidov
94d1b6b4de Updated contributors 2019-02-11 17:16:07 +03:00
Danila Kutenin
985bb119c1 Fix comment 2019-02-11 15:44:18 +03:00
Danila Kutenin
6a1d1f5508 Better hints provider 2019-02-11 15:42:20 +03:00
Nikolai Kochetov
85318c0bfd Merge branch 'master' into aggregate-function-state-in-field 2019-02-11 15:41:11 +03:00
Vitaly Baranov
0dd1dc242a Add time function toStartOfInterval(). 2019-02-11 14:59:17 +03:00
Ivan Lezhankin
15ad409875 Tests are now passing locally 2019-02-11 14:54:30 +03:00
Nikolai Kochetov
9787b3a1ee Added Field type AggregateFunctionState. 2019-02-11 14:19:56 +03:00
Ivan Lezhankin
2bd14117f4 Merge remote-tracking branch 'upstream/master' into issue-2675 2019-02-11 13:57:40 +03:00
alexey-milovidov
81a184c47f
Merge pull request #4301 from yandex/input-data-in-perf-test
Fix perf-test input data and refactor two tests
2019-02-11 12:52:03 +03:00
alexey-milovidov
993b1a073c
Merge pull request #4330 from yandex/fix-table-create-query-toctou
Fixed test (TOCTOU)
2019-02-11 03:57:27 +03:00
Alexey Milovidov
c345ded839 Added comment #4200 2019-02-11 03:17:49 +03:00
alexey-milovidov
f58e0c7c97
Merge pull request #4200 from DarkWanderer/feature/row-binary-with-headers
Added RowBinaryWithNamesAndTypes format
2019-02-11 03:14:56 +03:00
alexey-milovidov
ae5338089a
Merge pull request #4329 from yandex/andrewgolman-add_topkweighed
Added topKWeighted aggregate function (cleanups)
2019-02-11 02:52:22 +03:00
Alexey Milovidov
0221757262 Fixed test (TOCTOU) 2019-02-11 02:13:09 +03:00
alexey-milovidov
4f2b35cb10
Merge pull request #4215 from abyss7/CLICKHOUSE-3729
Report progress from server-side to keep client connections alive
2019-02-11 02:07:57 +03:00
Alexey Milovidov
c2d1301174 Fixed typo once again #4245 2019-02-11 01:31:36 +03:00
Mikhail Fandyushin
b6c8a892a8 Merge branch 'brotli' of https://github.com/fandyushin/ClickHouse into brotli 2019-02-11 00:53:17 +03:00
Mikhail Fandyushin
47d0509f3d added tests for brotli compression 2019-02-11 00:52:26 +03:00
Alexey Milovidov
e1703eb2a0 Added a test #4245 2019-02-11 00:29:34 +03:00
alexey-milovidov
d47c307f91
Merge pull request #4328 from yandex/nezed-forks-implement-not-between
Implement NOT BETWEEN operator (cleanups).
2019-02-11 00:21:34 +03:00
Alexey Milovidov
5ed720b522 Fixed typo 2019-02-11 00:17:52 +03:00
Alexey Milovidov
47bffbf760 Merge branch 'master' into andrewgolman-add_topkweighed 2019-02-11 00:15:35 +03:00
Alexey Milovidov
0861af12a3 Fixed thread names 2019-02-11 00:15:14 +03:00
Alexey Milovidov
7ddede66db Added support for generic case for aggregate function topKWeighted; fixed errors #4245 2019-02-11 00:01:26 +03:00
Alexey Milovidov
ec5fbce404 Merge branch 'add_topkweighed' of https://github.com/andrewgolman/ClickHouse into andrewgolman-add_topkweighed 2019-02-10 23:31:17 +03:00
Alexey Milovidov
a1754f76b5 Added one more keyword for command line completions #4328 2019-02-10 23:30:28 +03:00
alexey-milovidov
78869a7c0c
Merge pull request #4327 from yandex/highlight-like-and-regexps
Usability: highlight metacharacters in LIKE expressions and regexps
2019-02-10 23:27:39 +03:00
Alexey Milovidov
f4f97867c3 Fixed error #4228 2019-02-10 23:23:24 +03:00
Alexey Milovidov
c0dd4debc5 Fixed error #4228 2019-02-10 23:21:22 +03:00
Alexey Milovidov
1f41aeaf7a Avoid some corner cases like "SELECT 1 NOT WITH CUBE" 2019-02-10 23:18:47 +03:00
Alexey Milovidov
08c5c45f2b Added a test for operator priority #4228 2019-02-10 23:18:11 +03:00
Alexey Milovidov
69b84380f2 Make it work #4228 2019-02-10 23:17:53 +03:00
Alexey Milovidov
8e564a616c Fixed error #4228 2019-02-10 23:08:44 +03:00
alexey-milovidov
0dd618b9ad
Merge pull request #4326 from yandex/duplicate-includes
Removed duplicate includes
2019-02-10 22:31:37 +03:00
alexey-milovidov
c6a01ccfb3
Merge pull request #4325 from yandex/k3box-arbitrary-const-expressions-in-limit
Add arbitrary const expressions in limit processing (cleanups)
2019-02-10 22:29:58 +03:00
alexey-milovidov
c6d9259e2a
Update ASTFunction.cpp 2019-02-10 22:21:08 +03:00
Alexey Milovidov
021fc36064 Highlight metacharacters in LIKE expressions and regexps 2019-02-10 22:11:47 +03:00
Alexey Milovidov
2c7cf23f3f Removed support for constant expressions in TOP because they cannot work 2019-02-10 21:19:26 +03:00
Alexey Milovidov
d9ab923a2a Fixed typo 2019-02-10 21:14:23 +03:00
Alexey Milovidov
5ebc717d23 Merge branch 'implement-not-between' of https://github.com/nezed-forks/ClickHouse into nezed-forks-implement-not-between 2019-02-10 20:42:27 +03:00
Alexey Milovidov
e150e62040 Grouped includes (40 of 182) 2019-02-10 20:40:52 +03:00
Alexey Milovidov
ba3cb83a84 Removed duplicate includes 2019-02-10 20:12:22 +03:00
Alexey Milovidov
58a6accee5 Updated test #4246 2019-02-10 19:55:12 +03:00
alexey-milovidov
09ee8816a1
Merge pull request #4323 from yandex/low-cardinality-production-ready
LowCardinality data type is production ready
2019-02-10 19:41:57 +03:00
Alexey Milovidov
4799a343ee Addition to prev. revision #4246 2019-02-10 19:22:38 +03:00
Alexey Milovidov
d22b52b933 Allow constant expressions in LIMIT BY and TOP; fixed error #4246 2019-02-10 18:27:27 +03:00
Alexey Milovidov
c603d270f4 Cleanups #4246 2019-02-10 18:17:45 +03:00
alexey-milovidov
75c087bcf5
Merge branch 'master' into arbitrary-const-expressions-in-limit 2019-02-10 17:20:31 +03:00
Alexey Milovidov
06a105838b Removed experimental setting from integration tests 2019-02-10 17:17:21 +03:00
Alexey Milovidov
12d4dc8592 Renamed setting #4198 2019-02-10 02:53:57 +03:00
alexey-milovidov
5853de4d2b
Merge pull request #4198 from edonin/master
Support of Nullable types in MySQL tables
2019-02-10 02:45:45 +03:00
Alexey Milovidov
dfb207e42d Merge branch 'master' into low-cardinality-production-ready 2019-02-10 02:42:34 +03:00
Alexey Milovidov
50cae9144c Removed "allow_experimental_low_cardinality_type" setting from tests and docs 2019-02-10 02:42:22 +03:00
Alexey Milovidov
9822144281 Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-10 01:38:46 +03:00
Alexey Milovidov
eb39f6b653 Cleanup #4240 2019-02-10 01:38:26 +03:00
alexey-milovidov
77ce3dab0f
Merge pull request #4320 from yandex/bitmask-ubsan
Fixed error found by UBSan; added a test for bitmask functions for negative input
2019-02-10 01:27:04 +03:00
alexey-milovidov
bb6d70cae6
Merge pull request #4321 from yandex/entropy-rework
Fixed entropy aggregate function
2019-02-10 01:26:45 +03:00
Alexey Milovidov
dc863dd8a0 Merge branch 'reduce_max_memory_and_caches_size' of https://github.com/k-lopatin/ClickHouse into k-lopatin-reduce_max_memory_and_caches_size 2019-02-10 01:11:46 +03:00
Alexey Milovidov
0eee4d42cb LowCardinality data type is production ready 2019-02-10 00:55:51 +03:00
alexey-milovidov
9650c4a0da
Merge pull request #4286 from nikvas0/nikvas0/index_fix
Data Skipping Indices fix
2019-02-10 00:53:04 +03:00
alexey-milovidov
2777e54a57
Merge pull request #4287 from yandex/mutations-introspection
KILL MUTATION
2019-02-10 00:51:30 +03:00
Alexey Milovidov
25e7e63207 Added a test 2019-02-10 00:18:33 +03:00
Alexey Milovidov
ad56a42cf4 Fixed test #4309 2019-02-10 00:14:50 +03:00
Alexey Milovidov
f794ebbec4 Fixed implementation of "arrayWithConstant" #4309 2019-02-10 00:13:58 +03:00
Alexey Milovidov
a01427db27 Merge branch 'master' of https://github.com/Stupnikov/ClickHouse into Stupnikov-master 2019-02-10 00:04:17 +03:00
Alexey Milovidov
871670d4fb Fixed test 2019-02-10 00:03:42 +03:00
Alexey Milovidov
a17503c2d1 Added performance test 2019-02-09 23:53:22 +03:00
Alexey Milovidov
fc3d773c18 Renamed test 2019-02-09 23:44:18 +03:00
Alexey Milovidov
7d86f2debe Added comments 2019-02-09 23:35:55 +03:00
Alexey Milovidov
7b174c4940 Added a test for entropy aggregate function ser/de 2019-02-09 23:31:58 +03:00
Alexey Milovidov
f82aa5747a Added a test for mutual entropy 2019-02-09 23:28:39 +03:00
Alexey Milovidov
bf95f19655 Fixed entropy aggregate function #4238 2019-02-09 23:17:20 +03:00
Alexey Milovidov
d705c4fc9c Fixed error found by UBSan; added a test for bitmask functions for negative input 2019-02-09 22:44:27 +03:00
robot-clickhouse
dbde962a6b Auto version update to [19.2.0] [54414] 2019-02-09 14:13:07 +03:00
proller
a95d2d153d Build ARM fix (#4306)
* Build ARM fix

* Fix warning: declaration shadows a local variable

* Add info about SPLIT_SHARED_LIBRARIES

* Fix cpuid on ARM

* release: better pbuilder autoinstall
2019-02-09 01:09:32 +03:00
alexey-milovidov
e7541f03dd
Merge pull request #4305 from vitlibar/add-freebsd-aio-support
Add FreeBSD AIO support.
2019-02-09 01:06:41 +03:00
alexey-milovidov
bb333643f0
Merge pull request #4307 from 4ertus2/joins
New portion of SyntaxAnalyzer refactoring
2019-02-09 01:04:46 +03:00
Alexey Milovidov
8c850a2e6a Added a test from Boris Granveaud 2019-02-08 22:40:19 +03:00
alexey-milovidov
5152cb7e9c
Merge pull request #4317 from yandex/client-suggest-use-after-free
Fixed use after free in clickhouse-client (suggestion thread)
2019-02-08 22:08:02 +03:00
Alexey Milovidov
5b97abe693 Fixed use after free in clickhouse-client (suggestion thread) 2019-02-08 21:15:54 +03:00
chertus
c24ba390b3 fix test 2019-02-08 20:21:28 +03:00
Alexey Milovidov
322c46383e Addition to prev. revision #4297 2019-02-08 20:17:16 +03:00
Alexey Milovidov
6d23bbabd0 Merge branch 'master' into fix-insert-select-read-prefix 2019-02-08 19:55:06 +03:00
Alexey Milovidov
3d55e375ff Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-08 19:54:15 +03:00
Alexey Milovidov
277484297a Aggregator: miscellaneous 2019-02-08 19:54:04 +03:00
alexey-milovidov
dca242f316
Merge pull request #4313 from yandex/fix-error-in-system-tables
Fixed error in system.tables
2019-02-08 19:32:43 +03:00
chertus
668b220258 fix push down 2019-02-08 18:37:43 +03:00
Alexey Milovidov
9599e8ad2a Addition to prev. revision #4297 2019-02-08 18:21:06 +03:00
Alexey Milovidov
8037da4701 Merge branch 'master' into fix-insert-select-read-prefix 2019-02-08 17:36:38 +03:00
Alexey Milovidov
bf7402ecbb Lowered number of iterations in test 2019-02-08 17:30:53 +03:00
Ivan Lezhankin
c67ec3ddde Fix running integration tests locally on Fedora (with selinux)
Finally!
2019-02-08 17:20:25 +03:00
Alexey Milovidov
c2b6b15778 Fixed error in system.tables #3982 2019-02-08 17:10:26 +03:00
Vitaly Baranov
49611e87e9 Fix build and code-style. 2019-02-08 16:36:58 +03:00
alesapin
dc98b50f14 Fix HTTP insert 2019-02-08 16:24:24 +03:00
Alexey Milovidov
94d43c4cb2 Fixed error with dangling pointer on stack to ThreadStatus 2019-02-08 16:23:10 +03:00