#!/usr/bin/env bash # Create database $SCHEMA and the 8 TPC-H tables as ENGINE=DUCKDB, directly # through the mariadb client. DROP + CREATE makes this idempotent.
set -euo pipefail
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$DIR/config.sh"
echo"Creating database '$SCHEMA' and ENGINE=DUCKDB tables ..."
mdb "CREATE DATABASE IF NOT EXISTS $SCHEMA"
for t in "${TABLES[@]}"; do
mdb_db "DROP TABLE IF EXISTS $t" done
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.