Commit Graph

15463 Commits

Author SHA1 Message Date
Nikolai Kochetov
c27cada229 Fix ExpressionTransform. 2019-08-21 16:14:23 +03:00
Alexander Tokmakov
5cb8605f61 limit number of mutations in the queue 2019-08-21 16:10:33 +03:00
Nikolai Kochetov
2a0a051090 Enable processors by default. 2019-08-21 14:34:40 +03:00
Alexey Milovidov
3c3ca97218 Addition to prev. revision 2019-08-21 08:47:09 +03:00
alexey-milovidov
e6fd885c68
Merge pull request #6580 from yandex/fix-nullif
Fix nullIf function.
2019-08-21 06:36:47 +03:00
alexey-milovidov
308baa182e
Merge branch 'master' into table-constraints 2019-08-21 06:33:08 +03:00
Alexey Milovidov
d848009827 Fixed false data race in "MergeTreeDataPart::is_frozen" field 2019-08-21 06:16:59 +03:00
alexey-milovidov
0e896fb341
Merge pull request #6578 from yandex/disable-elf-on-macos
Disable ELF on Mac OS
2019-08-21 06:01:49 +03:00
Alexey Milovidov
40454aa7a0 Addition to prev. revision 2019-08-21 05:46:54 +03:00
Alexey Milovidov
6e26d8ccdf Addition to prev. revision 2019-08-21 05:42:50 +03:00
Alexey Milovidov
8966520801 Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
Alexey Milovidov
b768bef4e3 Fixed nullIf function 2019-08-21 04:43:19 +03:00
Alexey Milovidov
69be2c4658 Fixed nullIf function 2019-08-21 04:28:55 +03:00
Alexey Milovidov
449dc4757a Fixed nullIf function 2019-08-21 04:20:06 +03:00
Alexey Milovidov
562bffb337 Fixed nullIf function 2019-08-21 04:14:25 +03:00
alexey-milovidov
2b31409332
Merge pull request #6579 from yandex/parquet-bool-fix
Parquet: Fix reading boolean columns
2019-08-21 04:01:28 +03:00
Alexey Milovidov
a6b64d6ba0 Parquet: Fix reading boolean columns 2019-08-21 04:00:13 +03:00
alexey-milovidov
3f607b21fe
Merge pull request #6375 from yandex/try-to-remove-dry-run
Try to remove dry run
2019-08-21 03:52:41 +03:00
Alexey Milovidov
17e93b8f2d Disable ELF on Mac OS #6429 2019-08-21 03:48:34 +03:00
Alexey Milovidov
f277d0ebbf Style 2019-08-21 03:37:55 +03:00
alex-zaitsev
1e6437e4ee WIP: Fix MacOS build (#6429)
* Fix broken MacOS build

* Fix MacOS build

* Update ReadBufferFromFile.cpp

* Update WriteBufferFromFile.cpp

* Update Elf.h

* Update Elf.h
2019-08-21 03:35:41 +03:00
alexey-milovidov
58358ec856
Merge pull request #6514 from yandex/added-test-for-race-conditions
Added a test for race conditions.
2019-08-21 01:33:34 +03:00
Alexey Milovidov
c1de51dc5b Better code 2019-08-20 22:53:27 +03:00
alexey-milovidov
f9968fbcfc
Merge pull request #6554 from yandex/add-table-finctions-number-mt
Add table function numbers_mt
2019-08-20 22:42:27 +03:00
alexey-milovidov
31a4b816fe
Merge pull request #6566 from yandex/filimonov-remove-duplicated-const
remove doubled const TABLE_IS_READ_ONLY
2019-08-20 22:24:40 +03:00
Alexey Milovidov
295aafb13f Parallel ALTER modify: don't use ThreadPool if the number of threads is one 2019-08-20 21:18:37 +03:00
Alexey Milovidov
c8859febcb Merge branch 'master' into added-test-for-race-conditions 2019-08-20 21:05:25 +03:00
Nikolai Kochetov
822fe63f3b Added comment. 2019-08-20 19:13:18 +03:00
Nikolai Kochetov
06bb0af386 Fix build. 2019-08-20 18:03:35 +03:00
Nikolai Kochetov
aef03fd9bf
Merge pull request #6425 from yandex/vzakaznikov-liveview
Merge LIVE VIEW
2019-08-20 17:13:42 +03:00
Nikolai Kochetov
7bd748c969 Renamed NumbersMtBlockInputStream to NumbersMultiThreadedBlockInputStream. 2019-08-20 17:13:06 +03:00
Nikolai Kochetov
0ab886ce9d Materialize constant in arrayWithConstant function. 2019-08-20 15:28:36 +03:00
BayoNet
e986d6ba53
DOCAPI-7459: skip_unavailable_shards docs (#6361)
* Link fix.

* DOCAPI-7459: skip_unavailable_shards docs

* Update dbms/src/Core/Settings.h

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* DOCAPI-7459: Markup fixes.
2019-08-20 15:06:52 +03:00
filimonov
8d0c2eacfd
remove doubled const TABLE_IS_READ_ONLY 2019-08-20 13:18:08 +02:00
Ivan
a502424c33
Implement support for insertion into Kafka tables (#6012)
* Add write-callback on each row for RowOutputStream
* Fix build of new rdkafka library
* Poll messages if Kafka outgoing queue is full
* Add test
* Add test producer-consumer
* Truncate delimiter from last row in message
2019-08-20 14:17:57 +03:00
Nikolai Kochetov
0c0e5010dc Added NumbersMtBlockInputStream. 2019-08-20 13:29:04 +03:00
Nikolai Kochetov
7f31b8bf9c Added NumbersMtBlockInputStream. 2019-08-20 13:28:20 +03:00
Gleb Novikov
86fecc7501 Merge branch 'master' into table-constraints 2019-08-20 12:17:56 +03:00
Nikolai Kochetov
bfd0505d99 Fix tests. 2019-08-20 11:36:10 +03:00
Nikolai Kochetov
cdf1ce3171 Merge branch 'master' into vzakaznikov-liveview 2019-08-20 10:41:31 +03:00
alexey-milovidov
c870cbce73
Merge pull request #6548 from achimbab/master
Added 'strict' parameter in windowFunnel() and added testcases.
2019-08-20 05:05:49 +03:00
Alexey Milovidov
b7cb55a06e Added a comment 2019-08-20 04:46:48 +03:00
Alexey Milovidov
a574727269 Attempt to fix deadlock 2019-08-20 04:24:53 +03:00
Alexey Milovidov
666029db6e Merge branch 'added-test-for-race-conditions' of github.com:yandex/ClickHouse into added-test-for-race-conditions 2019-08-20 03:50:40 +03:00
Alexey Milovidov
99aa5cce38 Fixed idiotic error in system.parts 2019-08-20 03:49:58 +03:00
Alexey Milovidov
f1fef3f169 Merge branch 'master' of github.com:yandex/ClickHouse 2019-08-20 03:48:24 +03:00
Alexey Milovidov
e594c344f5 Fixed idiotic error in system.parts 2019-08-20 03:48:08 +03:00
alexey-milovidov
3a909c54c5
Merge pull request #6523 from yandex/fix_inconsistent_parts_after_clone_replica
Fix inconsistent parts after clone replica
2019-08-20 02:25:00 +03:00
tavplubix
fa40dfb257
Merge pull request #6559 from yandex/fix_csv_6426
Fix csv input
2019-08-20 02:24:33 +03:00
Alexander Tokmakov
bca580653d fix csv input 2019-08-20 02:09:02 +03:00
alexey-milovidov
fe634d69fe
Merge pull request #6550 from yandex/fix_6125
Fix NPE when using IN clause with a subquery with a tuple
2019-08-20 01:39:02 +03:00
Alexander Kazakov
fe5cd47068
Process prewhere clause in "skip unused shards" optimization (#6521)
* Process prewhere clause in optimize_skip_unused_shards

* Better diagnostics and logging
2019-08-19 23:28:24 +03:00
Alexey Milovidov
5575be034d Whitespaces 2019-08-19 22:32:02 +03:00
Alexey Milovidov
22a11343e8 Attempt to fix race condition 2019-08-19 22:02:20 +03:00
Nikolai Kochetov
d359ff3d4a Fix build. 2019-08-19 21:34:12 +03:00
Nikolai Kochetov
56a9c3920f Fix build. 2019-08-19 21:28:48 +03:00
Nikolai Kochetov
8535ba9e47 Review fixes. 2019-08-19 21:23:37 +03:00
Alexey Milovidov
d2e5789f82 Fixed strange code in mutations that may lead to memory corruption 2019-08-19 21:12:22 +03:00
Nikolai Kochetov
04c17c56c2 Review fixes. 2019-08-19 21:10:40 +03:00
Nikolai Kochetov
d4363768e6 Added IFunctonBase::getResultIfAlwaysReturnsConstantAndHasArguments 2019-08-19 20:48:19 +03:00
alexey-milovidov
a116fd7a69
Merge pull request #6477 from dimarub2000/quantileExact_improvement
QuantileExactExclusive & Inclusive function added.
2019-08-19 20:39:37 +03:00
Alexander Tokmakov
c62eb7a3ae check columns count and types 2019-08-19 19:51:50 +03:00
dimarub2000
bb4136f7b0 virtual functions deleted 2019-08-19 19:03:25 +03:00
Nikolai Kochetov
a4e2fcdd49 Remove recursiveMaterializeConstants. 2019-08-19 18:41:42 +03:00
philip.han
61769865d8 Added 'strict' parameter in windowFunnel() and added testcases. 2019-08-19 23:52:42 +09:00
Alexander Tokmakov
be5df60c7a Merge branch 'master' into fix_inconsistent_parts_after_clone_replica 2019-08-19 17:34:22 +03:00
Nikolai Kochetov
61432b83d8 Added table function numbers_mt. 2019-08-19 15:27:51 +03:00
Alexander Tokmakov
6991683a5f remove local parts which source replica doesnt have 2019-08-19 15:08:45 +03:00
alesapin
6d29ed99d9 Fix bug with enable_mixed_granularity_parts and mutations 2019-08-19 13:37:04 +03:00
Nikolai Kochetov
b8a5e107df Merge branch 'master' into try-to-remove-dry-run 2019-08-19 09:09:22 +03:00
Nikolai Kochetov
b85c50e7c3 Fix tests. 2019-08-18 17:55:20 +03:00
alexey-milovidov
f36d20915b
Merge pull request #6529 from yandex/better-signals
Better debug-ability of fault signals.
2019-08-18 16:44:54 +03:00
alexey-milovidov
1c9fedb77b
Merge pull request #6530 from yandex/metric-log-rectification
Metric log rectification
2019-08-18 16:44:21 +03:00
alexey-milovidov
29cc99ad58
Merge pull request #6194 from yurriy/mysql
Compatibility with more MySQL clients.
2019-08-18 16:28:13 +03:00
Nikolai Kochetov
cb848159e1 Merged with master. 2019-08-18 14:52:49 +03:00
Alexey Milovidov
9b48906f16 Rectification of MetricLog: simplified code 2019-08-18 03:34:23 +03:00
Alexey Milovidov
968cbda666 Rectification of MetricLog 2019-08-18 03:25:58 +03:00
Alexey Milovidov
16495bab5b Rectification of MetricLog 2019-08-18 03:04:58 +03:00
alexey-milovidov
1b3f19abab
Update StackTrace.h 2019-08-18 03:03:19 +03:00
proller
d09c5c871b Build fixes (#6491)
* Fix build

* cmake: fix cpuinfo

* Fix includes after processors merge

Conflicts:
	dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp

* Fix build in gcc8

* fix test link

* fix test link

* Fix test link

* link fix

* Fix includes after processors merge 2

Conflicts:
	dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp

* Fix includes after processors merge 3

* link fix

* Fix likely/unlikely conflict with cython

* Fix conflict with protobuf/stubs/atomicops.h

* remove unlikely.h

* Fix macos build (do not use timer_t)
2019-08-18 01:53:46 +03:00
alexey-milovidov
97a7d78fb3
Merge pull request #6524 from 4ertus2/refactoring
More ExpressionAnalyzer refactoring  for JOINs
2019-08-18 01:46:02 +03:00
Alexey Milovidov
306878c7a0 Write symbolized stack trace on failure one line at a time and uncached 2019-08-18 01:39:26 +03:00
Alexey Milovidov
833256f310 Don't try to get delay of readonly replicas for AsynchronousMetrics 2019-08-18 00:18:22 +03:00
Alexey Milovidov
081f1bedc2 Allowed to use SIGPROF to print stack traces for debugging purposes 2019-08-18 00:13:38 +03:00
Alexey Milovidov
2cd669fa1d Minor improvement 2019-08-17 23:33:50 +03:00
alexey-milovidov
e2687fc2d5
Merge pull request #6513 from yandex/parts-race-condition
Fix race condition in system.parts vs. ALTER
2019-08-17 22:30:16 +03:00
Nikolai Kochetov
86bba711c4 Merge branch 'master' into try-to-remove-dry-run 2019-08-17 13:43:14 +03:00
Nikolai Kochetov
ab4018e98e Fix test. 2019-08-16 19:56:34 +03:00
chertus
133bd92807 ExpressionAnalyzer.appendJoin() refactoring 2019-08-16 19:50:30 +03:00
alexey-milovidov
3c6db12efa
Merge pull request #6511 from nikvas0/nikvas0/set_index_bit_func_checks
typechecks for set index functions
2019-08-16 19:29:14 +03:00
alesapin
af2a947ba1
Update StorageSystemParts.cpp 2019-08-16 18:06:02 +03:00
Nikolai Kochetov
29f4f83c39 Fix build. 2019-08-16 15:54:50 +03:00
Nikolai Kochetov
7da72261a2 Merge branch 'master' into try-to-remove-dry-run 2019-08-16 15:50:48 +03:00
Vitaly Baranov
fa5f802adb
Merge pull request #6486 from Vxider/master
build fix
2019-08-16 15:20:33 +03:00
Nikolai Kochetov
688cc4976a Moved NOTICE to dbms/src 2019-08-16 14:03:23 +03:00
Nikolai Kochetov
18ad0e7e6b Merged with master. 2019-08-16 13:55:40 +03:00
Nikolai Kochetov
670c8a3e50 Add alwaysReturnsConstant for IFunctionBase. 2019-08-16 13:41:17 +03:00
Nikolai Kochetov
0eb1a931b4 Add alwaysReturnsConstant for IFunctionBase. 2019-08-16 13:29:33 +03:00
Nikolai Kochetov
08021fe125 Add alwaysReturnsConstant for IFunctionBase. 2019-08-16 12:38:12 +03:00
Alexey Milovidov
b66719725f Fix race condition in system.parts vs. ALTER 2019-08-16 03:49:33 +03:00