feng lv
|
ac9af1ca38
|
fix wrong offset
|
2021-10-01 08:24:57 +00:00 |
|
feng lv
|
8c20a184ca
|
optimize event handle
|
2021-10-01 05:06:19 +00:00 |
|
feng lv
|
4390c8f029
|
fix
|
2021-09-30 17:13:45 +00:00 |
|
feng lv
|
ee02e52d3d
|
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
|
2021-09-30 16:02:31 +00:00 |
|
feng lv
|
1758ff2d32
|
fix
|
2021-09-30 16:02:17 +00:00 |
|
alexey-milovidov
|
3796ccb912
|
Merge pull request #29540 from myrrc/improvement/monotonicity-aggregate
Making Monotonicity an aggregate to use with designated initializers
|
2021-09-30 17:26:06 +03:00 |
|
Maksim Kita
|
7bc6b8fd70
|
Merge pull request #28604 from azat/safer-http-handler
Proper buffer flush while handling HTTP queries (avoids std::terminate)
|
2021-09-30 16:44:09 +03:00 |
|
Maksim Kita
|
5c5199ef01
|
Merge pull request #29502 from azat/fix-INSERT-with-metadata-changes
Fix LOGICAL_ERROR for INSERT with concurrent ALTER
|
2021-09-30 16:11:50 +03:00 |
|
Maksim Kita
|
3e0d6a9709
|
Merge pull request #29531 from kssenii/fix-paths
Fix pathStartsWith
|
2021-09-30 12:49:52 +03:00 |
|
Vladimir C
|
bc8d925ac5
|
Merge pull request #29463 from azat/external-db-null
|
2021-09-30 11:38:04 +03:00 |
|
Nikolay Degterinsky
|
485e19ff84
|
Merge pull request #28955 from anneji-dev/alterTable
Add default database for alter table
|
2021-09-30 11:28:47 +03:00 |
|
mergify[bot]
|
775d8baa0c
|
Merge branch 'master' into fix-paths
|
2021-09-30 06:17:04 +00:00 |
|
Azat Khuzhin
|
4618636446
|
Fix LOGICAL_ERROR for INSERT with metadata changes in parallel
In #28582 the problem was introduced due to it obtains new metadata
snapshot and so it may fail when it will check that headers does not
differs, like in [1]:
<details>
{7b1256b1-09dc-4cc3-93d9-e9f6e26b0b99} <Fatal> : Logical error: 'Block structure mismatch in function connect between ConvertingTransform and ReplicatedMergeTreeSink stream: different number of columns:
a UInt8 UInt8(size = 0), b Int16 Int16(size = 0), c Float32 Float32(size = 0), d String String(size = 0), e Array(UInt8) Array(size = 0, UInt64(size = 0), UInt8(size = 0)), f Nullable(UUID) Nullable(size = 0, UUID(size = 0), UInt8(size = 0)), g Tuple(UInt8, UInt16) Tuple(size = 0, UInt8(size = 0), UInt16(size = 0)), h UInt64 UInt64(size = 0)
a UInt8 UInt8(size = 0), b Int16 Int16(size = 0), c Float32 Float32(size = 0), d String String(size = 0), e Array(UInt8) Array(size = 0, UInt64(size = 0), UInt8(size = 0)), f Nullable(UUID) Nullable(size = 0, UUID(size = 0), UInt8(size = 0)), g Tuple(UInt8, UInt16) Tuple(size = 0, UInt8(size = 0), UInt16(size = 0))'.
{7b1256b1-09dc-4cc3-93d9-e9f6e26b0b99} <Fatal> : Logical error: 'Block structure mismatch in function connect between ConvertingTransform and ReplicatedMergeTreeSink stream: different number of columns:
{} <Fatal> BaseDaemon: ########################################
{} <Fatal> BaseDaemon: (version 21.11.1.8227, build id: E012027D3A9E94FD61655974C45C15F58215605B) (from thread 2180) (query_id: 7b1256b1-09dc-4cc3-93d9-e9f6e26b0b99) Received signal Aborted (6)
{} <Fatal> BaseDaemon:
{} <Fatal> BaseDaemon: Stack trace: 0x7f5661a3b18b 0x7f5661a1a859 0x1333bcb8 0x1333bdc2 0x1d9f04d1 0x1d9eec3c 0x1d9eeeca 0x1f7cc44c 0x1f79b992 0x1e52123f 0x1e522b8e 0x1eb7e27b 0x1eb7be44 0x1f751e26 0x1f75f0e5 0x23ba1179 0x23ba1988 0x23cef8b4 0x23cec39a 0x23ceb17c 0x7f5661c01609 0x7f5661b17293
{} <Fatal> BaseDaemon: 4. raise @ 0x4618b in /usr/lib/x86_64-linux-gnu/libc-2.31.so
{} <Fatal> BaseDaemon: 5. abort @ 0x25859 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
{} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:53: DB::handle_error_code(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool, std::__1::vector<void*, std::__1::allocator<void*> > const&) @ 0x1333bcb8 in /usr/bin/clickhouse
{} <Fatal> BaseDaemon: 7. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:60: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0x1333bdc2 in /usr/bin/clickhouse
{} <Fatal> BaseDaemon: 8. ./obj-x86_64-linux-gnu/../src/Core/Block.cpp:32: void DB::onError<void>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x1d9f04d1 in /usr/bin/clickhouse
{} <Fatal> BaseDaemon: 9. ./obj-x86_64-linux-gnu/../src/Core/Block.cpp:86: void DB::checkBlockStructure<void>(DB::Block const&, DB::Block const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) @ 0x1d9eec3c in /usr/bin/clickhouse
{} <Fatal> BaseDaemon: 10. ./obj-x86_64-linux-gnu/../src/Core/Block.cpp:607: DB::assertCompatibleHeader(DB::Block const&, DB::Block const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x1d9eeeca in /usr/bin/clickhouse
{} <Fatal> BaseDaemon: 11. ./obj-x86_64-linux-gnu/../src/Processors/Port.cpp:19: DB::connect(DB::OutputPort&, DB::InputPort&) @ 0x1f7cc44c in /usr/bin/clickhouse
{} <Fatal> BaseDaemon: 12. ./obj-x86_64-linux-gnu/../src/Processors/Chain.cpp:81: DB::Chain::addSource(std::__1::shared_ptr<DB::IProcessor>) @ 0x1f79b992 in /usr/bin/clickhouse
{} <Fatal> BaseDaemon: 13. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterInsertQuery.cpp:222: DB::InterpreterInsertQuery::buildChainImpl(std::__1::shared_ptr<DB::IStorage> const&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&, DB::Block const&, DB::ThreadStatus*, std::__1::atomic<unsigned long>*) @ 0x1e52123f in /usr/bin/clickhouse
{} <Fatal> BaseDaemon: 14. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterInsertQuery.cpp:368: DB::InterpreterInsertQuery::execute() @ 0x1e522b8e in /usr/bin/clickhouse
</details>
[1]: https://clickhouse-test-reports.s3.yandex.net/29461/d6cd057e2c0c8b04d8a712a7b2a83526507ef512/functional_stateless_tests_(debug).html#fail1
Fixes: #28582 (cc: @KochetovNicolai)
|
2021-09-29 21:56:59 +03:00 |
|
Azat Khuzhin
|
6ddfbf39c8
|
Cover IS NULL/IS NOT NULL for external dbs in unit tests
|
2021-09-29 21:45:09 +03:00 |
|
Azat Khuzhin
|
24f55e29d1
|
Add support for IS NULL/IS NOT NULL for external dbs
|
2021-09-29 21:45:09 +03:00 |
|
Mike Kot
|
61e0c6208b
|
Making Monotonicity an aggregate to use with designated initializers
|
2021-09-29 18:01:26 +02:00 |
|
kssenii
|
46a4525c21
|
Fix
|
2021-09-29 12:53:09 +00:00 |
|
Vitaly Baranov
|
0c33f1121b
|
Merge pull request #28012 from amosbird/jsonextractstring2
Handle null column correctly in JSONFunction.
|
2021-09-29 14:58:40 +03:00 |
|
Kruglov Pavel
|
14be2f31f5
|
Merge pull request #29475 from ClickHouse/fix-29010
Remove filter column from HAVING when it is not needed.
|
2021-09-29 13:03:27 +03:00 |
|
Nikolai Kochetov
|
8d85590900
|
Merge pull request #29494 from ClickHouse/fix-possible-pushing-executor-hang
Fix possible hang in PushingAsyncPipelineExecutor.
|
2021-09-29 12:16:26 +03:00 |
|
Maksim Kita
|
1a0feaaf8a
|
Merge pull request #29511 from MaxWk/huawei-obs-support
support obs storage
|
2021-09-29 12:02:01 +03:00 |
|
Vladimir C
|
27f0f9fcf3
|
Merge pull request #21320 from arenadata/ADQM-138
|
2021-09-29 11:53:54 +03:00 |
|
MaxWk
|
723ff795a8
|
support obs storage
|
2021-09-29 14:11:28 +08:00 |
|
alexey-milovidov
|
be427555e5
|
Merge pull request #29476 from ClickHouse/fix_29456
Fix table name escaping in Lazy database
|
2021-09-29 02:45:40 +03:00 |
|
alexey-milovidov
|
d46dfd0ddd
|
Merge pull request #29446 from azat/isNull-isNotNull-format
Transform isNull/isNotNull to IS NULL/IS NOT NULL (for external dbs)
|
2021-09-29 00:56:57 +03:00 |
|
alexey-milovidov
|
f6db7552b6
|
Merge pull request #29444 from CurtizJ/fix-deadlock-async-inserts
Fix deadlock in concurrent async inserts and truncates
|
2021-09-29 00:56:29 +03:00 |
|
Nikita Mikhaylov
|
340fb049cf
|
Merge pull request #29497 from nikitamikhaylov/fuzz
Use `max_parse_depth` in fuzzers
|
2021-09-28 23:18:07 +03:00 |
|
Nikita Mikhaylov
|
0e602d85f0
|
Done
|
2021-09-28 20:16:32 +00:00 |
|
alesapin
|
7962ea5958
|
Merge pull request #29417 from ClickHouse/compressed_snapshots
Compress keeper snapshots with default ZSTD codec
|
2021-09-28 23:09:43 +03:00 |
|
Maksim Kita
|
0279afa738
|
Merge pull request #29474 from kitaisreal/bloom-filter-indexes-updated-tests
Bloom filter indexes updated tests
|
2021-09-28 22:40:27 +03:00 |
|
Maksim Kita
|
9ecd0a3f4f
|
Merge pull request #29220 from ClickHouse/full-text-bloom-filter-index-map-data-type
Merging #28511
|
2021-09-28 22:40:17 +03:00 |
|
Anton Popov
|
369821634b
|
Merge pull request #29390 from azat/fix-async-insert-tests
Fix 02015_async_inserts_2 flakiness
|
2021-09-28 21:07:26 +03:00 |
|
Nikolai Kochetov
|
ee2c12b4ab
|
Fix pissble hang in PushingAsyncPipelineExecutor.
|
2021-09-28 20:47:20 +03:00 |
|
Nikita Mikhaylov
|
4ac80808fe
|
Merge pull request #29455 from azat/enable-memory-profiler
Enable per-query memory profiler (set to memory_profiler_step=4MiB) globally
|
2021-09-28 20:00:06 +03:00 |
|
Nikolai Kochetov
|
ebe4cb0bbb
|
Fix tests.
|
2021-09-28 15:32:43 +03:00 |
|
Anton Popov
|
83fd853169
|
Merge remote-tracking branch 'upstream/master' into HEAD
|
2021-09-28 15:03:27 +03:00 |
|
Ilya Golshtein
|
d67bc0bef4
|
minor fixes in ORs in JOIN
|
2021-09-28 14:11:33 +03:00 |
|
Ilya Golshtein
|
7ebc16c1b3
|
get rid of DNF and related features in ORs in JOIN
|
2021-09-28 14:11:33 +03:00 |
|
Ilya Golshtein
|
1dc7fc5962
|
fix bug found by PVS in ORs in JOIN
|
2021-09-28 14:11:33 +03:00 |
|
Ilya Golshtein
|
626bfdf23c
|
compatible filter conditions, fixes and new tests in ORs in JOIN
|
2021-09-28 14:11:33 +03:00 |
|
Ilya Golshtein
|
bbd548e81d
|
bypass filer conditions in DNF in ORs in JOIN (part 2)
|
2021-09-28 14:11:33 +03:00 |
|
Ilya Golshtein
|
336b2a4c68
|
bypass filer conditions in DNF in ORs in JOIN (part 1)
|
2021-09-28 14:11:33 +03:00 |
|
vdimir
|
760a92c490
|
Do not allow in optimizeClauses conditions for different table joined via OR
|
2021-09-28 14:11:32 +03:00 |
|
Ilya Golshtein
|
17e6cfbefb
|
DNF bugfix in ORs in JOIN
|
2021-09-28 14:11:32 +03:00 |
|
Ilya Golshtein
|
29b911f86b
|
rebase collisions fixed in ORs in JOIN
|
2021-09-28 14:11:32 +03:00 |
|
Ilya Golshtein
|
aa4751a632
|
checkStackSize moved to the top of DNF::distributed in ORs in JOIN
|
2021-09-28 14:11:32 +03:00 |
|
Ilya Golshtein
|
6daef66364
|
MAX_DISJUNCTS instead of MAX_ORS in ORs in JOIN
|
2021-09-28 14:11:32 +03:00 |
|
Ilya Golshtein
|
78ad6bf529
|
MAX_ORS, checkStackSize and beautification per review in ORs in JOIN
|
2021-09-28 14:11:32 +03:00 |
|
Ilya Golshtein
|
fa6c2a64e4
|
minor merge mistakes fixed in ORs in JOIN
|
2021-09-28 14:11:32 +03:00 |
|
Ilya Golshtein
|
8057e052a6
|
crash fix, style fixes, ASTs moved out of TableJoin in ORs in JOIN
|
2021-09-28 14:11:32 +03:00 |
|