mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Merge pull request #31036 from Avogar/hdfs-fixes
Fix assert in hdfs, add test
This commit is contained in:
commit
868dc9c6c5
2
contrib/libhdfs3
vendored
2
contrib/libhdfs3
vendored
@ -1 +1 @@
|
||||
Subproject commit 082e55f17d1c58bf124290fb044fea40e985ec11
|
||||
Subproject commit a8c37ee001af1ae88e5dfa637ae5b31b087c96d3
|
1
tests/queries/0_stateless/02113_hdfs_assert.reference
Normal file
1
tests/queries/0_stateless/02113_hdfs_assert.reference
Normal file
@ -0,0 +1 @@
|
||||
OK
|
10
tests/queries/0_stateless/02113_hdfs_assert.sh
Executable file
10
tests/queries/0_stateless/02113_hdfs_assert.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Tags: no-fasttest
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
|
||||
TCP_PORT=$($CLICKHOUSE_CLIENT -q "SELECT tcpPort()")
|
||||
$CLICKHOUSE_CLIENT -q "SELECT * FROM hdfs('hdfs://localhost:$TCP_PORT/data.csv', 'CSV', 'x UInt32')" 2>&1 | grep -F -q "NETWORK_ERROR" && echo 'OK' || echo 'FAIL';
|
Loading…
Reference in New Issue
Block a user