We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e6e705 commit 7727b30Copy full SHA for 7727b30
docker/test/base/setup_export_logs.sh
@@ -188,9 +188,9 @@ function setup_logs_replication
188
189
echo -e "Creating remote destination table ${table}_${hash} with statement:" >&2
190
echo "::group::${table}"
191
- cat >&2 <<EOF
192
-$statement
193
-EOF
+ # there's the only way big "$statement" can be printed without causing EAGAIN error
+ # cat: write error: Resource temporarily unavailable
+ echo "$statement" | cat
194
echo "::endgroup::"
195
196
echo "$statement" | clickhouse-client --database_replicated_initial_query_timeout_sec=10 \
0 commit comments