#!/bin/bash
DIR=$(dirname "$0")
SHARE_DIR="$DIR"/../share/tpc-ds
# The arguments below will be overriden if they are specified as arguments to this script.
exec "$DIR"/../libexec/dsqgen \
    -distributions "$SHARE_DIR"/tpcds.idx \
    -directory "$SHARE_DIR"/query_templates \
    -input "$SHARE_DIR"/query_templates/templates.lst \
    -dialect ansi \
    "$@"
