Maksim Kita
|
df9223e13b
|
PolygonDictionary added nullable support
|
2021-03-21 18:09:47 +03:00 |
|
Maksim Kita
|
a53c90e509
|
Upated system.dictionaries table
|
2021-03-19 12:43:57 +03:00 |
|
Maksim Kita
|
f340e71913
|
Merge pull request #21859 from kitaisreal/ddl-dictionary-current-database-name
DDL dictionary use current database name
|
2021-03-19 11:39:51 +03:00 |
|
Maksim Kita
|
85a9ab7d87
|
Fixed test
|
2021-03-18 19:32:04 +03:00 |
|
Maksim Kita
|
140fa855c4
|
Update 01760_ddl_dictionary_use_current_database_name.sql
|
2021-03-18 18:11:21 +03:00 |
|
Alexander Kuzmenkov
|
c821c0c27a
|
Merge pull request #21761 from ClickHouse/aku/chunk-no-columns
fix incorrect number of rows for Chunks with no columns in PartialSor…
|
2021-03-18 17:58:09 +03:00 |
|
Maksim Kita
|
0f95bcac0b
|
DDL dictionary use current database name
|
2021-03-18 14:30:12 +03:00 |
|
Nikolai Kochetov
|
03cb0299a9
|
Merge pull request #21841 from ClickHouse/fix-21773
Fix wrong column order after filter push down.
|
2021-03-18 13:30:22 +03:00 |
|
alexey-milovidov
|
04c957962f
|
Merge pull request #21724 from azat/tests-replicated-merge-tree-zk-path
Do not overlap zookeeper path for ReplicatedMergeTree in stateless *.sh tests
|
2021-03-17 22:11:14 +03:00 |
|
Nikolai Kochetov
|
6397099d3c
|
Added test.
|
2021-03-17 20:08:49 +03:00 |
|
Nikolai Kochetov
|
3a3f800f6e
|
Merge pull request #21579 from azat/dist-query-zero-shards-fix
Fix optimize_skip_unused_shards for zero shards case
|
2021-03-17 11:54:08 +03:00 |
|
Nikolai Kochetov
|
4f1f344d4d
|
Merge pull request #21529 from azat/system.errors-improvements
Add last_error_time/last_error_message/last_error_stacktrace/remote columns for system.errors
|
2021-03-17 11:51:29 +03:00 |
|
alexey-milovidov
|
d02726bcac
|
Merge pull request #9404 from Enmk/DateTime64_extended_range
Date time64 extended range
|
2021-03-17 11:06:03 +03:00 |
|
Azat Khuzhin
|
cc87bcfb63
|
Fix errorCodeToName() for signed integers
- https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/functional_stateless_tests_(address).html#fail1
- https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/functional_stateless_tests_(ubsan).html#fail1
- https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/stress_test_(address).html#fail1
|
2021-03-16 22:31:49 +03:00 |
|
Azat Khuzhin
|
259e5ba88e
|
Separate accounting of remote exceptions in system.errors
|
2021-03-16 22:31:46 +03:00 |
|
tavplubix
|
848bb59175
|
Merge pull request #21728 from ClickHouse/fix_alter_decimal
Fix alter modify for decimal columns when type size doesn't change
|
2021-03-16 20:01:35 +03:00 |
|
Nikita Mikhaylov
|
7d7a2bc724
|
Merge pull request #21630 from nikitamikhaylov/pf-local
Parallel formatting for clickhouse-local
|
2021-03-16 14:37:40 +03:00 |
|
Nikolai Kochetov
|
e8d7349c79
|
Merge branch 'master' into dist-query-zero-shards-fix
|
2021-03-16 12:00:08 +03:00 |
|
alesapin
|
23a7c00ba4
|
Merge branch 'master' into fix_alter_decimal
|
2021-03-16 10:24:46 +03:00 |
|
alesapin
|
8fd3fbc5b3
|
Merge pull request #20387 from Avogar/optimize-on-insert
Don't create empty parts on INSERT
|
2021-03-16 10:20:34 +03:00 |
|
Azat Khuzhin
|
a03a9051e1
|
Mark some tests as long
From [1] and [2]:
[1]: https://clickhouse-test-reports.s3.yandex.net/21724/dacb6066237b78511ad5f07cc65045b8cf4e5e7b/functional_stateless_tests_flaky_check_(address).html#fail1
[2]: https://clickhouse-test-reports.s3.yandex.net/21724/ee8ece157987f3cd8b68ca4a5b7df709f4688208/functional_stateless_tests_flaky_check_(address)/test_run.txt.out.log
[3]: https://clickhouse-test-reports.s3.yandex.net/21724/e4485ce0b1d1b21c4360bbdecacd2485d1634a91/functional_stateless_tests_flaky_check_(address)/test_run.txt.out.log
|
2021-03-16 09:52:31 +03:00 |
|
Azat Khuzhin
|
05a8c73eb9
|
Do not overlap zookeeper path for ReplicatedMergeTree in stateless *.sh tests
Found with stress tests for 00626_replace_partition_from_table_zookeeper [1]:
2021.03.15 00:59:48.200106 [ 27417 ] {0f47dbeb-938a-4560-8408-a7cc7b3bafb8} <Trace> ContextAccess (default): Access granted: CREATE TABLE ON test_31.dst_r1
...
2021.03.15 00:59:48.403227 [ 27417 ] {0f47dbeb-938a-4560-8408-a7cc7b3bafb8} <Debug> test_31.dst_r1: This table /clickhouse/test_00626/dst_1 is already created, will add new replica
2021.03.15 00:59:48.736450 [ 83006 ] {b2db1355-3ec3-4e3a-9c79-f93f27c6e658} <Trace> ContextAccess (default): Access granted: CREATE TABLE ON test_31.dst_r2
...
2021.03.15 00:59:48.851768 [ 83006 ] {b2db1355-3ec3-4e3a-9c79-f93f27c6e658} <Debug> test_31.dst_r2: This table /clickhouse/test_00626/dst_1 is already created, will add new replica
...
2021.03.15 00:59:48.919059 [ 366 ] {} <Debug> test_31.dst_r2 (ReplicatedMergeTreeQueue): Loading queue from /clickhouse/test_00626/dst_1/replicas/2/queue
2021.03.15 00:59:48.919948 [ 366 ] {} <Debug> test_31.dst_r2 (ReplicatedMergeTreeQueue): Having 3 queue entries to load, 0 entries already loaded.
2021.03.15 00:59:48.921833 [ 366 ] {} <Trace> test_31.dst_r2 (ReplicatedMergeTreeQueue): Loaded queue
...
2021.03.15 00:59:51.904230 [ 246952 ] {59753eea-3896-45ca-8625-fdaa094ee9ef} <Trace> ContextAccess (default): Access granted: SYSTEM SYNC REPLICA ON test_31.dst_r2
...
2021.03.15 01:04:51.913683 [ 246952 ] {59753eea-3896-45ca-8625-fdaa094ee9ef} <Error> InterpreterSystemQuery: SYNC REPLICA test_31.dst_r2: Timed out!
[1]: https://clickhouse-test-reports.s3.yandex.net/21716/402bf77783cbda48a9ee1b748bfce3c52ef8fe11/stress_test_(memory)/test_run.txt.out.log
But the problem is more generic, so fix all tests.
|
2021-03-16 07:22:32 +03:00 |
|
Azat Khuzhin
|
54f124aae4
|
Cleanup 00626_replace_partition_from_table_zookeeper
|
2021-03-16 07:22:32 +03:00 |
|
Alexander Kuzmenkov
|
3c16ea0bc8
|
fix incorrect number of rows for Chunks with no columns in PartialSortingTransform
|
2021-03-16 01:59:12 +03:00 |
|
Alexey Milovidov
|
f48bf2aaba
|
Fix issue
|
2021-03-15 23:29:35 +03:00 |
|
Alexey Milovidov
|
845f4afbf4
|
Fix parsing of pre-epoch time
|
2021-03-15 21:09:05 +03:00 |
|
Alexey Milovidov
|
badd5165da
|
Fix UBSan report in rounding to years intervals
|
2021-03-15 20:36:49 +03:00 |
|
Alexey Milovidov
|
eaeb4a3bf0
|
Merge branch 'master' into DateTime64_extended_range
|
2021-03-15 16:59:32 +03:00 |
|
tavplubix
|
984050e0d1
|
Merge pull request #21661 from Avogar/path-param
Add test for path as a query parameter in system.zookeeper
|
2021-03-15 13:13:36 +03:00 |
|
alesapin
|
caccc6da37
|
Add missing tests
|
2021-03-15 12:01:26 +03:00 |
|
alesapin
|
d502a217e5
|
Merge branch 'master' into Avogar-optimize-on-insert
|
2021-03-15 11:38:25 +03:00 |
|
alesapin
|
69b8ded578
|
Fix alter modify for decimal columns when type size doesn't change
|
2021-03-15 11:22:15 +03:00 |
|
alexey-milovidov
|
adbf032235
|
Merge pull request #21713 from ClickHouse/modulo-ubsan
Fix UBSan report in modulo by constant
|
2021-03-14 23:19:12 +03:00 |
|
Alexey Milovidov
|
b3d2948081
|
Fix UBSan report in modulo by constant
|
2021-03-14 17:31:07 +03:00 |
|
Maksim Kita
|
c94ee3151d
|
Merge pull request #21182 from ikarishinjieva/fix_#21170
fix #21170
|
2021-03-14 17:24:39 +03:00 |
|
Maksim Kita
|
40d2ec7924
|
Merge pull request #19816 from kitaisreal/range-hashed-dictionary-support-has-keys
RangeHashed dictionary support dictHas function
|
2021-03-14 13:44:06 +03:00 |
|
alexey-milovidov
|
edbaf756a0
|
Merge pull request #21696 from azat/stress-tests-fixes
Tests fixes (that was found by stress tests)
|
2021-03-14 12:31:57 +03:00 |
|
alexey-milovidov
|
53e21443eb
|
Merge branch 'master' into DateTime64_extended_range
|
2021-03-14 12:27:17 +03:00 |
|
Pavel Kruglov
|
e116e75d2c
|
Fix style
|
2021-03-14 02:36:40 +03:00 |
|
Maksim Kita
|
98192f1234
|
Update 01280_ssd_complex_key_dictionary.sql
|
2021-03-14 01:28:53 +03:00 |
|
Pavel Kruglov
|
d83b4d3ab6
|
Try fix flacky test
|
2021-03-13 23:44:06 +03:00 |
|
Maksim Kita
|
b1398e6ffa
|
Updated test
|
2021-03-13 23:26:01 +03:00 |
|
Maksim Kita
|
084bd03672
|
Merge pull request #21692 from azat/dict-ip_trie-access_to_key_from_attributes
Fix SIGSEGV on not existing attributes from ip_trie with access_to_key_from_attributes
|
2021-03-13 23:13:26 +03:00 |
|
alexey-milovidov
|
36935a335f
|
Merge pull request #21102 from Enmk/governance/query_log
Added Grant, Revoke and System query_kind for system.query_log
|
2021-03-13 15:16:32 +03:00 |
|
Maksim Kita
|
ee8c51f65e
|
Fixed tests
|
2021-03-13 14:58:31 +03:00 |
|
Maksim Kita
|
add444f71c
|
Fixed broken test
|
2021-03-13 14:58:31 +03:00 |
|
Maksim Kita
|
854bfaf366
|
RangeHashed dictionary support has function
|
2021-03-13 14:57:56 +03:00 |
|
Azat Khuzhin
|
833dbf1225
|
Mark 01294_lazy_database_concurrent_recreate_reattach_and_show_tables as long
|
2021-03-13 13:43:17 +03:00 |
|
Maksim Kita
|
79b061ac3c
|
Merge pull request #21668 from kitaisreal/dictionary-attributes-unique-names
DictionaryStructure fix non unique attribute names
|
2021-03-13 12:31:33 +03:00 |
|
Azat Khuzhin
|
2d66a5c393
|
Fix hang check for 00966_live_view_watch_events_http
If INSERT was failed then WATCH EVENTS will hang:
2021.03.12 23:45:33.666223 [ 1901 ] {} <Trace> DynamicQueryHandler: Request URI: /?allow_experimental_live_view=1&query=WATCH%20test.lv%20EVENTS
...
2021.03.12 23:45:34.119465 [ 35492 ] {55f2c8ec-df9f-4e97-9acc-385ed5b5fde2} <Error> executeQuery: Code: 241, e.displayText() = DB::Exception: Memory limit (for user) exceeded: would use 153.99 MiB (attempt to allocate chunk of 4194729 bytes), maximum: 150.00 MiB (version 21.4.1.6239) (from [::1]:43910) (in query: INSERT INTO test.mt VALUES ), Stack trace (when copying this message, always include the lines below):
...
Hung check:
elapsed: 597.835824299
is_cancelled: 0
query: WATCH test.lv EVENTS
thread_ids: [1901]
gdb:
Thread 133 (Thread 0x7f26ac95b700 (LWP 1901)):
0 0x00007f2793d447b1 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
1 0x0000000008cbd5c5 in __tsan::call_pthread_cancel_with_cleanup(int (*)(void*, void*, void*), void*, void*, void*, void (*)(void*), void*) ()
2 0x0000000008c4f134 in cond_wait(__tsan::ThreadState*, unsigned long, __tsan::ScopedInterceptor*, int (*)(void*, void*, void*), void*, void*, void*) ()
3 0x0000000008c4f339 in pthread_cond_timedwait ()
4 0x000000001831c8b6 in std::__1::__libcpp_condvar_timedwait (__cv=0x7b5801053520, __m=0x189, __ts=0x7f26ac9132b8) at ../contrib/libcxx/include/__threading_support:442
5 std::__1::condition_variable::__do_timed_wait (this=0x7b5801053520, lk=..., tp=...) at ../contrib/libcxx/src/condition_variable.cpp:74
6 0x00000000134fe7f2 in std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000000l> > (this=this@entry=0x7b5801053520, __lk=..., __d=...) at ../contrib/libcxx/include/__mutex_base:462
7 0x00000000134fe2c9 in DB::LiveViewEventsBlockInputStream::tryReadImpl (this=this@entry=0x7b5c0070ff98, blocking=false) at ../src/Storages/LiveView/LiveViewEventsBlockInputStream.h:180
8 0x00000000134fd6e4 in DB::LiveViewEventsBlockInputStream::readImpl (this=0x189) at ../src/Storages/LiveView/LiveViewEventsBlockInputStream.h:115
9 0x0000000012285593 in DB::IBlockInputStream::read (this=0x7b5c0070ff98) at ../src/DataStreams/IBlockInputStream.cpp:58
10 0x00000000122afc7e in DB::copyDataImpl<std::__1::function<bool ()> const&, std::__1::function<void (DB::Block const&)> const&>(DB::IBlockInputStream&, DB::IBlockOutputStream&, std::__1::function<bool ()> const&, std::__1::function<void (DB::Block const&)> const&) (from=..., to=..., is_cancelled=..., progress=...) at ../src/DataStreams/copyData.cpp:26
11 0x00000000122af8e1 in DB::copyData(DB::IBlockInputStream&, DB::IBlockOutputStream&, std::__1::function<bool ()> const&, std::__1::function<void (DB::Block const&)> const&) (from=..., to=..., is_cancelled=..., progress=...) at ../src/DataStreams/copyData.cpp:73
12 0x0000000012cfc5e2 in DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, DB::Context&, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>) (istr=..., ostr=..., allow_into_outfile=false, context=..., set_result_details=...) at ../src/Interpreters/executeQuery.cpp:1033
13 0x000000001357941d in DB::HTTPHandler::processQuery (this=this@entry=0x7b1c006f41b0, context=..., request=..., params=..., response=..., used_output=..., query_scope=...) at ../src/Server/HTTPHandler.cpp:772
14 0x000000001357c507 in DB::HTTPHandler::handleRequest (this=<optimized out>, request=..., response=...) at ../src/Server/HTTPHandler.cpp:910
15 0x00000000135f3081 in DB::HTTPServerConnection::run (this=<optimized out>) at ../src/Server/HTTP/HTTPServerConnection.cpp:48
16 0x00000000161f9e73 in Poco::Net::TCPServerConnection::start (this=0x7b8c01554000) at ../contrib/poco/Net/src/TCPServerConnection.cpp:43
17 0x00000000161fa59f in Poco::Net::TCPServerDispatcher::run (this=<optimized out>) at ../contrib/poco/Net/src/TCPServerDispatcher.cpp:113
18 0x0000000016361732 in Poco::PooledThread::run (this=<optimized out>) at ../contrib/poco/Foundation/src/ThreadPool.cpp:199
19 0x000000001635fcd0 in Poco::(anonymous namespace)::RunnableHolder::run (this=<optimized out>) at ../contrib/poco/Foundation/src/Thread.cpp:55
20 0x000000001635e4d8 in Poco::ThreadImpl::runnableEntry (pThread=0x7b5400082538) at ../contrib/poco/Foundation/src/Thread_POSIX.cpp:345
21 0x0000000008c4e36d in __tsan_thread_start_func ()
22 0x00007f2793d3d609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
23 0x00007f2793c64293 in clone () from /lib/x86_64-linux-gnu/libc.so.6
Cc: @vzakaznikov
|
2021-03-13 11:32:55 +03:00 |
|