Commit Graph

61058 Commits

Author SHA1 Message Date
Anton Popov
860ed20368 ColumnSparse: more fixes 2021-04-15 05:16:09 +03:00
Anton Popov
236ab68724 ColumnSparse: several fixes 2021-04-14 16:20:05 +03:00
Anton Popov
fac54e9ccc ColumnSparse: unit tests and several fixes 2021-04-13 15:08:24 +03:00
Anton Popov
298251e55d fix merges with sparse columns and disable sparse for some data types 2021-04-12 02:33:53 +03:00
Anton Popov
1df3e26d15 temporarily make all columns sparse 2021-04-08 05:09:41 +03:00
Anton Popov
4b8e90338d ColumnSparse: fixes 2021-04-08 05:08:37 +03:00
Anton Popov
d7ca6ecc50 ColumnSparse: sorting and dummy aggregation 2021-04-06 03:02:48 +03:00
Anton Popov
d46958a8d2 Merge remote-tracking branch 'upstream/master' into HEAD 2021-04-06 00:54:49 +03:00
Anton Popov
c5354885a6
Merge pull request #22654 from azat/log-nested-fix
[RFC] Fix LOGICAL_ERROR for Log with nested types w/o columns in the SELECT clause
2021-04-06 00:34:58 +03:00
Kseniia Sumarokova
32cf4e378e
Merge pull request #22623 from olgarev/revolg-DOCSUP-8221-check_query_single_value_result
DOCSUP-8221: check_query_single_value_result setting
2021-04-06 00:22:37 +03:00
alexey-milovidov
46bd8929a0
Merge pull request #22667 from ucasFL/build
fix build error 'always_inline' function might not be inlinable
2021-04-05 23:24:14 +03:00
Maksim Kita
de71553c9d
Merge pull request #22593 from zlobober/introduce_distributed_write
Introduce IStorage::distributedWrite method for distributed INSERT SELECTS
2021-04-05 22:59:57 +03:00
Alexey Milovidov
0501c025db Remove OpenCL 2021-04-05 18:09:14 +03:00
feng lv
ee6d1a6feb fix build 2021-04-05 14:37:04 +00:00
alexey-milovidov
6890d98114
Merge pull request #22633 from ClickHouse/clickhouse-test-better-zk-retries
Better retries on ZK errors in sh tests
2021-04-05 17:36:27 +03:00
alexey-milovidov
2f7ba1c7bb
Merge pull request #22665 from den-crane/patch-13
fix incorrect settitng name allow_experimental_window_functions
2021-04-05 17:17:50 +03:00
Denny Crane
74eb0828b8
fix incorrect settitng name 2021-04-05 10:34:34 -03:00
alexey-milovidov
92f57fd669
Merge pull request #22634 from ClickHouse/client-improve-usability
Improve usability of clickhouse-client
2021-04-05 09:00:29 +03:00
Azat Khuzhin
42d858b7e5 Fix LOGICAL_ERROR for Log with nested types w/o columns in the SELECT clause
Found with fuzzer [1]:

<details>

    2021.04.04 10:25:46.762596 [ 135 ] {4b6b5de3-d242-4267-910a-76b235467356} <Fatal> : Logical error: 'Logical error: no information about file column%2Ename.size0 in StorageLog'.
    ...
    2021.04.04 10:25:46.763563 [ 44 ] {} <Trace> BaseDaemon: Received signal 6
    2021.04.04 10:25:46.765884 [ 165 ] {} <Fatal> BaseDaemon: 5. abort @ 0x25859 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
    2021.04.04 10:25:46.901540 [ 165 ] {} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:51: DB::handle_error_code() @ 0x11cc4f16 in /workspace/clickhouse
    2021.04.04 10:25:47.030755 [ 165 ] {} <Fatal> BaseDaemon: 7. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:58: DB::Exception::Exception() @ 0x11cc5025 in /workspace/clickhouse
    2021.04.04 10:25:47.617201 [ 165 ] {} <Fatal> BaseDaemon: 8. ./obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:183: DB::LogSource::readData()

</details>

  [1]: https://clickhouse-test-reports.s3.yandex.net/22583/69296876005c0fa171c755f8b224e4d58192c402/fuzzer_debug/report.html#fail1

The problem here is that there is no column%2Ename.size0 there is
column.size0 instead, and it seems that reading sizeX file is not enough
in other places, so just filter them out in
ExpressionActions::getSmallestColumn() (fallback method for storages w/o
getColumnSizes() implemented)
2021-04-05 08:48:04 +03:00
alexey-milovidov
74a3668ce4
Merge pull request #22645 from benbiti/docs-update-uniqhll
update docs uniqhll12 212 -> 2^12
2021-04-05 07:41:04 +03:00
alexey-milovidov
a16a09eb2f
Merge pull request #22596 from ClickHouse/fix-some-tests-aarch64
Fix some tests on AArch64
2021-04-05 07:40:33 +03:00
benbiti
7ca70a5839 update docs uniqhll12 212 -> 2^12 2021-04-05 11:03:47 +08:00
Alexey Milovidov
7a54558a29 Improve usability of clickhouse-client 2021-04-05 05:49:13 +03:00
alexey-milovidov
6cefb8e620
Merge pull request #22583 from azat/log-rwlock-ub-fix
Avoid UB in *Log engines for rwlock unlock due to unlock from another thread
2021-04-05 05:20:16 +03:00
Alexey Milovidov
1bd4febfd5 Better retries on ZK errors in sh tests 2021-04-05 05:17:17 +03:00
alexey-milovidov
0eba575fcf
Merge pull request #22632 from ClickHouse/benchmark-qemu-aarch64
Add AArch64 version in QEMU on Intel to hardware benchmark.
2021-04-05 04:57:40 +03:00
Alexey Milovidov
216221c825 Add AArch64 version on QEMU 2021-04-05 04:51:16 +03:00
alexey-milovidov
f78c846bdf
Merge pull request #22591 from nvartolomei/nv/out-init-check
Try flush write buffer only if it is initialized
2021-04-05 04:32:54 +03:00
alexey-milovidov
a9eb7a7c7e
Merge pull request #22595 from ClickHouse/change-accurate-comparison
Change accurate comparison of integer and float to be more consistent across different CPU
2021-04-05 04:22:50 +03:00
Alexey Milovidov
d645c4d4e2 Whitespace 2021-04-05 03:52:44 +03:00
Alexey Milovidov
08f129c0d3 Mark test as long 2021-04-05 03:52:06 +03:00
alexey-milovidov
3df84d5b48
Merge pull request #22628 from ClickHouse/fix-flaky-test-16
Fix flaky test 00816_long_concurrent_alter_column
2021-04-05 03:49:18 +03:00
Maxim Akhmedov
725fa17961 Introduce IStorage::distributedWrite method for distributed INSERT SELECT. 2021-04-05 02:14:27 +03:00
Alexey Milovidov
e50d82ab45 Merge branch 'master' into change-accurate-comparison 2021-04-05 01:38:55 +03:00
Alexey Milovidov
6e93d936d3 Highlight potential bugs in code 2021-04-05 01:38:47 +03:00
alexey-milovidov
6c5aab28e8
Merge pull request #22629 from kitaisreal/flat-dictionary-fix-perf-test
FlatDictionary fix perf test
2021-04-05 00:53:51 +03:00
Maksim Kita
63f2008725 FlatDictionary fix perf test 2021-04-05 00:47:29 +03:00
Alexey Milovidov
b07d53640c Fix flaky test 00816_long_concurrent_alter_column 2021-04-05 00:34:51 +03:00
alexey-milovidov
b1e7624b3f
Merge pull request #22589 from ClickHouse/fix-comments
Fix comments
2021-04-05 00:22:27 +03:00
alexey-milovidov
c0a13bb5d2
Merge pull request #22586 from ClickHouse/minor-improvement-deserialize-index
Minor improvement in index deserialization
2021-04-05 00:20:29 +03:00
alexey-milovidov
16302609e0
Merge pull request #22611 from chasingegg/fix-trace-log-doc
Fix trace log doc
2021-04-05 00:19:07 +03:00
alexey-milovidov
af9d5440bd
Update trace_log.md 2021-04-05 00:18:48 +03:00
olgarev
a6b6734231
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-04-04 22:39:18 +03:00
Olga Revyakina
b980120042 First commit 2021-04-04 21:27:00 +03:00
Maksim Kita
bcd1bf88c4
Merge pull request #22597 from adevyatova/annadevyatova-DOCSUP-5424-attach
DOCSUP-5424: Update the SQL-statement ATTACH
2021-04-04 20:21:38 +03:00
chasingegg
c1556e4d8e tiny fix 2021-04-05 00:17:42 +08:00
chasingegg
1aa2b3a4cd fix trace type 2021-04-05 00:16:35 +08:00
alesapin
caaa19edb8
Merge pull request #22373 from ClickHouse/jepsen_for_ci
Add image to run jepsen tests
2021-04-04 18:35:21 +03:00
Anton Popov
0d03b8c0c4
Merge pull request #21889 from CurtizJ/fix-aggregation-in-order-1
Fix bugs in aggregation by primary key
2021-04-04 18:17:04 +03:00
Maksim Kita
6d472d81f3
Merge pull request #22603 from tetafro/master
Fix grammar in RU docs
2021-04-04 17:35:40 +03:00