Amos Bird
78af6d793d
Fix segfault when decoding symbol table.
2019-08-22 12:34:06 +08:00
Alexey Milovidov
c38a8cb755
Merge branch 'master' of github.com:yandex/ClickHouse
2019-08-22 05:32:00 +03:00
Alexey Milovidov
85d3ba099f
Added a comment
2019-08-22 05:31:49 +03:00
alexey-milovidov
2ff8f3a5de
Merge pull request #6599 from CurtizJ/fix-order-by-optimization
...
Disable "read in order" optimization for aggregation without keys.
2019-08-22 05:10:14 +03:00
alexey-milovidov
f0e0793cdd
Merge pull request #6581 from yandex/assert_cast
...
Added checks to static_cast of columns.
2019-08-22 05:09:34 +03:00
Alexey Milovidov
6bbf3bd634
Added a metric for the number of files to send in Distributed tables
2019-08-22 04:30:49 +03:00
Alexey Milovidov
a7fa71aaf1
Fixed flappy test
2019-08-22 00:28:05 +03:00
Alexey Milovidov
e573b06373
Updated comment
2019-08-21 23:33:38 +03:00
Alexey Milovidov
93d380ddaa
Fixed test
2019-08-21 23:32:58 +03:00
alexey-milovidov
4a54f3d7b6
Merge pull request #6583 from yandex/fix-false-race-condition-on-frozen-field
...
Fixed false data race in "MergeTreeDataPart::is_frozen" field
2019-08-21 23:12:34 +03:00
CurtizJ
d573c4ec3e
fix wrong check for disabling "read in order" optimization
2019-08-21 20:42:44 +03:00
Nikolai Kochetov
6d81087bdc
Remove _dummy column if it is not needed.
2019-08-21 19:53:40 +03:00
akonyaev
321233ddaa
ADQM-34 fix hardcode for,at name in ArrowColumnToCHColumn class
2019-08-21 19:39:20 +03:00
Nikolai Kochetov
2e03ac09ec
Fix MergingSortedTransform.
2019-08-21 19:38:27 +03:00
Nikolai Kochetov
e68775e3d0
Fix TotalsHavingTransform.
2019-08-21 17:51:32 +03:00
akonyaev
caf0d30a5f
ADQM-34 add orc input format
2019-08-21 17:19:47 +03:00
Nikolai Kochetov
fe3221d0e4
Fix SortingAggregatedTransform.
2019-08-21 17:19:18 +03:00
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
dimarub2000
b5e08fa929
Tried to fix
2019-08-21 14:12:58 +03:00
alesapin
70ca7f4156
Merge with master
2019-08-21 11:57:35 +03:00
Alexey Milovidov
3c3ca97218
Addition to prev. revision
2019-08-21 08:47:09 +03:00
alexey-milovidov
f77c8cd79c
Merge pull request #6582 from yandex/fix-fuzz-test
...
Fixed timeouts in fuzz test
2019-08-21 08:45:01 +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
6e8389bff5
Fixed fuzz test
2019-08-21 06:07:53 +03:00
Alexey Milovidov
c7850d6537
Removed obsolete trash from fuzz test
2019-08-21 06:06:43 +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
a691bf3c91
Merge pull request #6577 from proller/fix27
...
CLICKHOUSE-3885 copier: use partition_key in check query
2019-08-21 00:33:40 +03:00
Alexey Milovidov
c1de51dc5b
Better code
2019-08-20 22:53:27 +03:00
Alexey Milovidov
db55780d21
Added a test
2019-08-20 22:53:03 +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
3fa67f4b72
Checkpoint
2019-08-20 21:55:05 +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
593487c170
Merge branch 'master' into added-test-for-race-conditions
2019-08-20 21:12:03 +03:00
Alexey Milovidov
074853ac0e
Fixed flappy test
2019-08-20 21:11:39 +03:00
Alexey Milovidov
c8859febcb
Merge branch 'master' into added-test-for-race-conditions
2019-08-20 21:05:25 +03:00
Alexey Milovidov
d8683a33c8
Lowered test scale because it is too slow in debug build
2019-08-20 21:05:05 +03:00
proller
4f1c9ee197
CLICKHOUSE-3885 copier: use partition_key in check query
2019-08-20 21:05:01 +03:00
Alexey Milovidov
182708e4b1
Fixed typo
2019-08-20 20:58:31 +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
eecc8b0121
Update tests.
2019-08-20 16:33:25 +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
1cebcd3e73
Fixed test.
2019-08-20 12:15:08 +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
818ceec220
Merge branch 'added-test-for-race-conditions' of github.com:yandex/ClickHouse into added-test-for-race-conditions
2019-08-20 04:25:21 +03:00
Alexey Milovidov
a574727269
Attempt to fix deadlock
2019-08-20 04:24:53 +03:00
Alexey Milovidov
ebbcd26981
Improved test
2019-08-20 03:53:12 +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
6d8161e644
Merge branch 'added-test-for-race-conditions' of github.com:yandex/ClickHouse into added-test-for-race-conditions
2019-08-20 03:10:59 +03:00
Alexey Milovidov
48867580e6
Added another test that produce segfault under ASan easily
2019-08-20 03:10:32 +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
philip.han
a2fe2fb7b1
Fixed the test for 00632_aggregation_window_funnel.
2019-08-20 07:55:02 +09:00
alexey-milovidov
dfa6385eb3
Merge pull request #6538 from orivej/odbc-bridge
...
DEVTOOLS-5755 Remove odbc-bridge.cpp from clickhouse-lib
2019-08-20 01:39:48 +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
5d17e0e0e0
Updated test
2019-08-19 22:51:53 +03:00
Alexey Milovidov
5575be034d
Whitespaces
2019-08-19 22:32:02 +03:00
Alexey Milovidov
4809586ed6
Updated instruction
2019-08-19 22:07:13 +03:00
Alexey Milovidov
22a11343e8
Attempt to fix race condition
2019-08-19 22:02:20 +03:00
Nikolai Kochetov
19a303f498
Update perf tests with hash functions.
2019-08-19 21:55:42 +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
3277f9e3de
Add patch to Live View tests.
2019-08-19 20:56:00 +03:00
Nikolai Kochetov
d4363768e6
Added IFunctonBase::getResultIfAlwaysReturnsConstantAndHasArguments
2019-08-19 20:48:19 +03:00
Alexey Milovidov
481b9d36dd
Merge branch 'master' into added-test-for-race-conditions
2019-08-19 20:43:35 +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
9e2537a7d0
add test
2019-08-19 19:52:05 +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
Nikolai Kochetov
a466040201
Added 00991_temporary_live_view_watch_events_heartbeat.
2019-08-19 17:39:35 +03:00
Alexander Tokmakov
be5df60c7a
Merge branch 'master' into fix_inconsistent_parts_after_clone_replica
2019-08-19 17:34:22 +03:00
Nikolai Kochetov
e188ae40ce
Added 00991_temporary_live_view_watch_live.
2019-08-19 16:35:00 +03:00
Nikolai Kochetov
619ee4489e
Added 00991_live_view_watch_event_live.
2019-08-19 16:26:37 +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
f2a8c18c1f
Simplify lock
2019-08-19 14:18:58 +03:00
alesapin
69015f292e
Fix wrong merge
2019-08-19 14:18:39 +03:00
Nikolai Kochetov
a33c59d83b
Update Live View test.
2019-08-19 14:08:10 +03:00
alesapin
6d29ed99d9
Fix bug with enable_mixed_granularity_parts and mutations
2019-08-19 13:37:04 +03:00
Nikolai Kochetov
4c45ce3038
Apply patches to Live View tests.
2019-08-19 12:47:08 +03:00
alesapin
99e85ff753
Fix build
2019-08-19 11:25:07 +03:00
alesapin
e7542810bb
Merge with master
2019-08-19 11:20:48 +03:00
Nikolai Kochetov
b8a5e107df
Merge branch 'master' into try-to-remove-dry-run
2019-08-19 09:09:22 +03:00
Георгий Кондратьев
c70d585169
DEVTOOLS-5755 Remove odbc-bridge.cpp from clickhouse-lib
...
odbc-bridge.cpp defines main() so it should not be included in clickhouse-lib.
2019-08-19 05:13:39 +00:00
Nikolai Kochetov
28f4346fca
Updated json perftest to loop.
2019-08-19 00:50:51 +03:00
Nikolai Kochetov
b85c50e7c3
Fix tests.
2019-08-18 17:55:20 +03:00
Alexey Milovidov
d7d11b85ca
Update version manually
2019-08-18 16:53:25 +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
5c10bff9c2
Try to rewrite live view test.
2019-08-16 21:52:29 +03:00
Vitaly Baranov
e7a2565290
Merge pull request #6479 from vitlibar/no-allocation-in-simdjson-iterator
...
Get rid of dynamic allocation in ParsedJson::Iterator.
2019-08-16 20:58:16 +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
Nikolai Kochetov
e9070ede0a
Try to rewrite live view test.
2019-08-16 19:28:25 +03:00
Alexander Tokmakov
8bbcecf3b1
add test
2019-08-16 19:15:36 +03:00