mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Merge pull request #66130 from slvrtrn/update-avro-submodule-with-array-block-size-fix
Update AVRO submodule with the array block size fix
This commit is contained in:
commit
52b3d1a244
2
contrib/avro
vendored
2
contrib/avro
vendored
@ -1 +1 @@
|
||||
Subproject commit d43acc84d3d455b016f847d6666fbc3cd27f16a9
|
||||
Subproject commit 545e7002683cbc2198164d93088ac8e4955b4628
|
@ -0,0 +1,11 @@
|
||||
str_array Array(String)
|
||||
1318
|
||||
5779
|
||||
1715
|
||||
6422
|
||||
5875
|
||||
1887
|
||||
3763
|
||||
4245
|
||||
4270
|
||||
758
|
14
tests/queries/0_stateless/03201_avro_negative_block_size_arrays.sh
Executable file
14
tests/queries/0_stateless/03201_avro_negative_block_size_arrays.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Tags: no-parallel, no-fasttest
|
||||
|
||||
set -e
|
||||
|
||||
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CUR_DIR"/../shell_config.sh
|
||||
|
||||
DATA_DIR=$CUR_DIR/data_avro
|
||||
|
||||
# See https://github.com/ClickHouse/ClickHouse/issues/60438
|
||||
$CLICKHOUSE_LOCAL -q "DESC file('$DATA_DIR/negative_block_size_arrays.avro')"
|
||||
$CLICKHOUSE_LOCAL -q "SELECT arraySum(arrayMap(x -> length(x), str_array)) AS res FROM file('$DATA_DIR/negative_block_size_arrays.avro')"
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user