ClickHouse/src
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
..
Access Integrate mmap cache to the infrastructure 2021-03-28 04:10:30 +03:00
AggregateFunctions Fix comments 2021-04-04 12:33:06 +03:00
Client Remove socket from epoll before cancelling packet receiver to prevent race 2021-04-01 17:35:00 +03:00
Columns Update IColumnDummy.h 2021-04-04 05:04:11 +03:00
Common Fix comments 2021-04-04 12:33:06 +03:00
Compression Merge pull request #21562 from CurtizJ/serialization-refactoring-4 2021-03-29 16:36:44 +03:00
Coordination Some improvements 2021-04-01 15:19:39 +03:00
Core Merge branch 'master' into change-accurate-comparison 2021-04-05 01:38:55 +03:00
Databases Merge branch 'master' into hierarchy-dictionaries-updated 2021-03-31 15:55:07 +03:00
DataStreams Move method 2021-04-01 06:28:25 +03:00
DataTypes Update SerializationNullable.cpp 2021-04-03 12:50:57 +03:00
Dictionaries Merge pull request #22589 from ClickHouse/fix-comments 2021-04-05 00:22:27 +03:00
Disks Fix comments 2021-04-04 12:33:06 +03:00
Formats Merge pull request #22528 from kitaisreal/format-settings-null-as-default-default-value-fix 2021-04-03 12:49:08 +03:00
Functions Fix comments 2021-04-04 12:33:06 +03:00
Interpreters Fix LOGICAL_ERROR for Log with nested types w/o columns in the SELECT clause 2021-04-05 08:48:04 +03:00
IO Merge remote-tracking branch 'upstream/master' into issue-21907 2021-04-01 16:29:26 +03:00
Parsers Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local 2021-04-01 21:38:51 +03:00
Processors Merge pull request #21889 from CurtizJ/fix-aggregation-in-order-1 2021-04-04 18:17:04 +03:00
Server Try flush write buffer only if it is initialized 2021-04-04 12:59:51 +03:00
Storages Merge pull request #22583 from azat/log-rwlock-ub-fix 2021-04-05 05:20:16 +03:00
TableFunctions Merge pull request #21913 from ClickHouse/fix_context_ref 2021-03-26 10:39:13 +03:00
CMakeLists.txt Allow unbundled xz (lzma) using USE_INTERNAL_XZ_LIBRARY=OFF 2021-04-04 01:05:07 +03:00
NOTICE
ya.make