Fix umami drifter count queries
Have to fill in all possible groups and sim types before doing the transpose to get the right table.
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ $# -ne 1 ]
|
||||
then
|
||||
echo "Usage: $0 <file>.sql"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
file=$1
|
||||
|
||||
if [ ! -e $file ]
|
||||
then
|
||||
echo "file $file does not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cat $file | kubectl exec -i svc/prod-umami-db-rw -c postgres -- psql app
|
||||
|
||||
Reference in New Issue
Block a user