kafka-ingest-concept/connect-to-presto.sh

9 lines
198 B
Bash
Raw Normal View History

#!/bin/zsh
set -eu
echo "counts how many events we've seen in total"
./docker-exec.sh exec presto presto-cli --server localhost:8080 --execute 'select count(*) from iceberg.demo_db.demo_table;'