Merge pull request #68494 from baibaichen/patch_for_68131

Repeat field is also compound types, ignore it.
This commit is contained in:
Michael Kolupaev 2024-08-21 18:59:20 +00:00 committed by GitHub
commit 2e21683bed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 0 deletions

View File

@ -286,6 +286,9 @@ static std::vector<Range> getHyperrectangleForRowGroup(const parquet::FileMetaDa
if (!s)
continue;
if (s->descr()->schema_node()->is_repeated())
continue;
auto path = c->path_in_schema()->ToDotVector();
if (path.size() != 1)
continue; // compound types not supported

View File

@ -0,0 +1 @@
[1,2]

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Tags: no-fasttest
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
$CLICKHOUSE_LOCAL -q "select f from file('$CURDIR/data_parquet/68131.parquet', Parquet, 'f Array(Int32)')"

Binary file not shown.