Commit Graph

53538 Commits

Author SHA1 Message Date
alexey-milovidov
f0dc3ec152
Merge pull request #17665 from amosbird/clientedit
clickhouse-client editor
2020-12-22 09:53:54 +03:00
alexey-milovidov
839e873aa0
Merge pull request #18195 from abyss7/backport-lts
Add support for LTS branches in backport automation
2020-12-22 09:49:02 +03:00
alexey-milovidov
c57312385b
Merge pull request #18318 from abyss7/pytest
Add more tests to skip-list
2020-12-22 09:46:25 +03:00
alexey-milovidov
ea1b62cdc5
Merge pull request #18317 from Enmk/CoulmnMap_perf_test
Perf test for ColumnMap
2020-12-22 09:33:16 +03:00
alexey-milovidov
c1bd8d5df5
Merge pull request #18329 from azat/buffer-rollback-fix
Fix NULL dereference in Buffer rollback
2020-12-22 09:30:53 +03:00
alexey-milovidov
adab35003e
Merge pull request #18271 from ClickHouse/arrays-as-nested-csv
Support to parse Arrays in CSV as nested CSV in a String
2020-12-22 09:28:25 +03:00
alexey-milovidov
3bd72dcdd7
Merge pull request #18334 from azat/tests-cleanup
tests: remove unused configs/scripts
2020-12-22 09:22:24 +03:00
alexey-milovidov
8e325d63b4
Merge pull request #18332 from ClickHouse/check-conflict-markers
Check for conflict markers in docs
2020-12-22 09:21:58 +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
alexey-milovidov
b93d0f3922
Merge pull request #18330 from ClickHouse/fix-clickhouse-test
Fix clickhouse-test
2020-12-22 03:05:27 +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
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
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
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
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
alexey-milovidov
351a40493d
Merge pull request #18286 from ClickHouse/remove-useless-code-2
Remove useless code
2020-12-21 18:19:23 +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
alesapin
22646ef284 Add stress test debug to ci list 2020-12-21 16:14:15 +03:00
Vasily Nemkov
f8c9d6e863 Fixed flaky test 2020-12-21 14:27:46 +02:00
Stig Bakken
ecacfe90ed Do not fail this build if scanning reveals issues 2020-12-21 19:25:01 +08:00
Stig Bakken
af20c7d1a5 Drop "Upload artifact" step 2020-12-21 19:21:17 +08:00
alesapin
ce2028e3ce Fix clickhouse-test 2020-12-21 14:19:12 +03:00
Nikolai Kochetov
c2d2e74d6a
Merge pull request #18182 from zhangjmruc/master
Try to fix issue #17712 for wrong importing of rows with last bad column
2020-12-21 12:17:40 +03:00
alesapin
0c6838a043 Fix glaky 01076_parallel_alter test 2020-12-21 11:48:40 +03:00
Anna
982123a994 reduce 2020-12-21 11:30:02 +03:00
Anna
7f675aacbe fixed 2020-12-21 11:22:41 +03:00
Alexey Milovidov
571520964c Remove useless code 2020-12-21 10:48:15 +03:00
Alexey Milovidov
558e9d270f Whitespace 2020-12-21 10:41:05 +03:00
alexey-milovidov
578d2f4442
Merge pull request #17269 from ucasFL/fix
Avoid bigint_cast stack overflow
2020-12-21 10:38:16 +03:00
alexey-milovidov
175ec3aa19
Merge pull request #18279 from ClickHouse/glibc-compatibility-powfl
Add powf and powl to glibc-compatibility
2020-12-21 10:21:38 +03:00