Commit Graph

53876 Commits

Author SHA1 Message Date
Alexey Milovidov
f9012b12fb Proper implementation 2020-12-22 06:01:51 +03:00
alexey-milovidov
7985ed9778
Merge pull request #18050 from Enmk/DateTime64_DateTime_comparison
Fixed Date vs DateTime64 comparison
2020-12-22 05:12:14 +03:00
Alexander Kuzmenkov
abad6b9e49 clang-tidy is so annoying 2020-12-22 04:41:02 +03:00
Alexander Kuzmenkov
52ace7a3d1 one plan step per window 2020-12-22 04:37:45 +03:00
Alexey Milovidov
932ade2cb8 Merge branch 'master' into watchdog 2020-12-22 03:10:15 +03:00
alexey-milovidov
b93d0f3922
Merge pull request #18330 from ClickHouse/fix-clickhouse-test
Fix clickhouse-test
2020-12-22 03:05:27 +03:00
Alexander Kuzmenkov
77b816caea cleanup 2020-12-22 02:47:14 +03:00
Azat Khuzhin
af4d332999 Fix log message for memory tracking drift 2020-12-22 02:17:02 +03:00
nikitamikhaylov
8501c7a831 better 2020-12-22 02:03:08 +03:00
Azat Khuzhin
6acefa7624 Suppress bugprone-use-after-move in Buffer rollback 2020-12-22 01:22:36 +03:00
alexey-milovidov
fbcea6d933
Update ColumnMap.xml 2020-12-22 01:16:51 +03:00
Azat Khuzhin
8883b6125e tests: remove unused configs/scripts
Those configs was used by clickhouse-test-server, that is used for
ctest, but later does not used on CI, and for debian manifets
with_server was excluded.

So remove those configs not to confuse other people.
2020-12-22 01:13:38 +03:00
alexey-milovidov
f309ffffe6
Merge pull request #18327 from ClickHouse/fix-docs
Fix issues with docs
2020-12-22 01:09:40 +03:00
Alexey Milovidov
5bdf287910 Check for conflict markers in docs 2020-12-22 00:55:54 +03:00
nikitamikhaylov
3972c5cd82 style 2020-12-22 00:49:37 +03:00
nikitamikhaylov
cd3a73f9d3 done 2020-12-22 00:47:10 +03:00
Alexey Milovidov
667c6501bf Merge branch 'arrays-as-nested-csv' of github.com:yandex/ClickHouse into arrays-as-nested-csv 2020-12-22 00:33:24 +03:00
Alexey Milovidov
e03196b3d3 Add a test 2020-12-22 00:33:01 +03:00
Alexey Milovidov
e4c1d17219 Addition 2020-12-22 00:32:57 +03:00
Alexander Kuzmenkov
575d5c69ef fix partition boundaries for multiple window functions 2020-12-22 00:23:45 +03:00
Alexey Milovidov
3ab2a167e8 Merge branch 'master' into arrays-as-nested-csv 2020-12-22 00:05:50 +03:00
Alexey Milovidov
e6ab6badf9 Fix clickhouse-test 2020-12-22 00:03:41 +03:00
Azat Khuzhin
ba57c418d0 Fix NULL dereference in Buffer rollback
<details>

Stacktrace:

```
(gdb) bt
0  DB::appendBlock (from=..., to=...) at ../src/Storages/StorageBuffer.cpp:411
1  DB::BufferBlockOutputStream::insertIntoBuffer (this=<optimized out>, block=..., buffer=...) at ../src/Storages/StorageBuffer.cpp:541
2  0x000000000f2e9d5f in DB::BufferBlockOutputStream::write (this=<optimized out>, block=...) at ../src/Storages/StorageBuffer.cpp:508
3  0x000000000ec426c4 in DB::PushingToViewsBlockOutputStream::write (this=0x7f74660faa18, block=...) at ../src/DataStreams/PushingToViewsBlockOutputStream.cpp:160
4  0x000000000ec49633 in DB::AddingDefaultBlockOutputStream::write (this=0x7f74660f1b18, block=...) at ../src/DataStreams/AddingDefaultBlockOutputStream.cpp:10
5  0x000000000ec483ac in DB::SquashingBlockOutputStream::finalize (this=0x7f74660f1d18) at ../src/DataStreams/SquashingBlockOutputStream.cpp:30
6  0x000000000ec48429 in DB::SquashingBlockOutputStream::writeSuffix (this=0x7f74660f1d18) at ../src/DataStreams/SquashingBlockOutputStream.cpp:50
7  0x000000000ec43f8f in DB::PushingToViewsBlockOutputStream::writeSuffix (this=0x7f74660f8258) at ../src/DataStreams/PushingToViewsBlockOutputStream.cpp:280
8  0x000000000ec43f8f in DB::PushingToViewsBlockOutputStream::writeSuffix (this=0x7f74b7ddea18) at ../src/DataStreams/PushingToViewsBlockOutputStream.cpp:280
9  0x000000000f2e6748 in DB::StorageBuffer::writeBlockToDestination (this=<optimized out>, block=..., table=...) at ../src/Storages/StorageBuffer.cpp:820
10 0x000000000f2ea00b in DB::BufferBlockOutputStream::write (this=0x7f7574e11748, block=...) at ../src/Storages/StorageBuffer.cpp:469
11 0x000000000ec426c4 in DB::PushingToViewsBlockOutputStream::write (this=0x7f7574ed3658, block=...) at ../src/DataStreams/PushingToViewsBlockOutputStream.cpp:160
12 0x000000000ec49633 in DB::AddingDefaultBlockOutputStream::write (this=0x7f7574e84518, block=...) at ../src/DataStreams/AddingDefaultBlockOutputStream.cpp:10
13 0x000000000ec482f4 in DB::SquashingBlockOutputStream::write (this=0x7f7574e84718, block=...) at ../src/DataStreams/SquashingBlockOutputStream.cpp:17
14 0x000000000ebe8bce in DB::CountingBlockOutputStream::write (this=0x7f7574ed3720, block=...) at ../src/DataStreams/CountingBlockOutputStream.cpp:17
15 0x000000000f68e834 in DB::TCPHandler::receiveData (this=<optimized out>, scalar=<optimized out>) at ../src/Server/TCPHandler.cpp:1168
16 0x000000000f68737c in DB::TCPHandler::receivePacket (this=0x7f7574f17000) at ../src/Server/TCPHandler.cpp:918
17 0x000000000f688d2f in DB::TCPHandler::readDataNext (this=0x7f7574f17000, poll_interval=@0x7f6f1dff1f78: 10000000, receive_timeout=@0x7f6f1dff1f68: 300) at ../src/Server/TCPHandler.cpp:460
18 0x000000000f6878be in DB::TCPHandler::readData (this=0x7f7574f17000, connection_settings=...) at ../src/Server/TCPHandler.cpp:490
19 DB::TCPHandler::processInsertQuery (this=0x7f7574f17000, connection_settings=...) at ../src/Server/TCPHandler.cpp:519
20 0x000000000f680ab9 in DB::TCPHandler::runImpl (this=0x7f7574f17000) at ../src/Server/TCPHandler.cpp:268
21 0x000000000f68f297 in DB::TCPHandler::run (this=0x7f7574f17000) at ../src/Server/TCPHandler.cpp:1414
22 0x0000000011fb81cf in Poco::Net::TCPServerConnection::start (this=0x0) at ../contrib/poco/Net/src/TCPServerConnection.cpp:43
23 0x0000000011fb9be1 in Poco::Net::TCPServerDispatcher::run (this=0x7f752ab5fd00) at ../contrib/poco/Net/src/TCPServerDispatcher.cpp:112
24 0x00000000120e71c9 in Poco::PooledThread::run (this=0x7f747d3a4580) at ../contrib/poco/Foundation/src/ThreadPool.cpp:199
25 0x00000000120e315a in Poco::ThreadImpl::runnableEntry (pThread=<optimized out>) at ../contrib/poco/Foundation/src/Thread_POSIX.cpp:345
26 0x00007f760620aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
27 0x00007f760613aeaf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

(gdb) p to.data.__end_-to.data.__begin_
$17 = 10
(gdb) p to.data.__begin_[9].column.px
$19 = (const DB::IColumn *) 0x7f7328392720
(gdb) p to.data.__begin_[8].column.px
$20 = (const DB::IColumn *) 0x0
(gdb) p to.data.__begin_[7].column.px
$21 = (const DB::IColumn *) 0x7f746f33d360
```

Line numbers matched with this version -
f0e7cb16a7/src/Storages/StorageBuffer.cpp (L411)

</details>
2020-12-21 23:56:56 +03:00
alexey-milovidov
7eea1cbe0f
Merge pull request #18313 from Enmk/Optimize_deduplicate_fix
Fixed flaky test
2020-12-21 23:46:55 +03:00
alesapin
b10f13f34a More thread fuzzer 2020-12-21 23:24:16 +03:00
alesapin
8bbb678758 Correctly forward env 2020-12-21 23:12:01 +03:00
Alexey Milovidov
aa9d012cc8 Fix issues with docs 2020-12-21 23:04:22 +03:00
alexey-milovidov
1929cab566
Merge pull request #18192 from stigsb/fix-anchore-analysis
Fix branch for anchore/scan-action (master -> main)
2020-12-21 22:52:03 +03:00
Alexey Milovidov
7c6a4f4ac9 Fix docs release 2020-12-21 21:26:31 +03:00
alexey-milovidov
d66506299f
Merge pull request #18238 from azat/jemalloc-MADV_DONTNEED-runtime-check
MADV_DONTNEED check in runtime for qemu (via patching jemalloc)
2020-12-21 21:07:49 +03:00
Ivan Lezhankin
feb42a16b6 Fix LTS discovery logic 2020-12-21 20:44:09 +03:00
alexey-milovidov
2222122f9f
Update ThreadFuzzer.cpp 2020-12-21 20:02:59 +03:00
Nikolai Kochetov
12f0f82d3d Update test. 2020-12-21 19:53:28 +03:00
alexey-milovidov
233d2d374f
Merge pull request #18235 from adevyatova/annadevyatova-DOCSUP-4106-first
DOCSUP-4906: Update description ALTER TABLE
2020-12-21 19:49:56 +03:00
alexey-milovidov
bf6850187c
Update column.md 2020-12-21 19:49:39 +03:00
alexey-milovidov
84eb4a497c
Update column.md 2020-12-21 19:48:28 +03:00
alexey-milovidov
c171cab111
Update column.md 2020-12-21 19:48:03 +03:00
alesapin
f22b7fec91
Merge pull request #18293 from ClickHouse/fix_flaky_test_01076
Fix flaky 01076_parallel_alter test
2020-12-21 19:39:31 +03:00
Vasily Nemkov
b11301f257
Un-commented cleanup code in test 2020-12-21 18:36:02 +02:00
Ivan Lezhankin
66b2ebca78 Another flaky 2020-12-21 19:28:12 +03:00
alesapin
8f2d4f2d1e Fix user 2020-12-21 18:46:36 +03:00
alexey-milovidov
351a40493d
Merge pull request #18286 from ClickHouse/remove-useless-code-2
Remove useless code
2020-12-21 18:19:23 +03:00
Nikolai Kochetov
78429eca70 Refactor code a little bit more. 2020-12-21 17:30:17 +03:00
Nikolai Kochetov
29e0b4ec40 Refactor cose a little bit more. 2020-12-21 17:14:05 +03:00
Ivan Lezhankin
9d70b9e520 Add more tests to skip-list 2020-12-21 17:04:52 +03:00
Vasily Nemkov
b93a2cfa25 Perf test for ColumnMap 2020-12-21 16:02:58 +02:00
Peng Jian
69b40ffae5 fix nullptr 2020-12-21 21:46:55 +08:00
alesapin
22646ef284 Add stress test debug to ci list 2020-12-21 16:14:15 +03:00
Nikolai Kochetov
110e76e71d Fix special build. 2020-12-21 15:42:57 +03:00
Vasily Nemkov
f8c9d6e863 Fixed flaky test 2020-12-21 14:27:46 +02:00