From ef68b61a8d5cad890a010ec3b02459dd396c6000 Mon Sep 17 00:00:00 2001 From: Takeshi Yamamuro Date: Thu, 29 Apr 2021 09:21:02 +0900 Subject: [PATCH] test --- dev/create-release/do-release | 0 dev/tpcds-datagen/do-datagen-docker.sh | 104 +++++++++++++++++++++++ dev/tpcds-datagen/do-datagen.sh | 56 ++++++++++++ dev/tpcds-datagen/spark-tpcds/Dockerfile | 63 ++++++++++++++ 4 files changed, 223 insertions(+) create mode 100644 dev/create-release/do-release create mode 100755 dev/tpcds-datagen/do-datagen-docker.sh create mode 100755 dev/tpcds-datagen/do-datagen.sh create mode 100644 dev/tpcds-datagen/spark-tpcds/Dockerfile diff --git a/dev/create-release/do-release b/dev/create-release/do-release new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/dev/tpcds-datagen/do-datagen-docker.sh b/dev/tpcds-datagen/do-datagen-docker.sh new file mode 100755 index 0000000000000..4da2d6b63b45a --- /dev/null +++ b/dev/tpcds-datagen/do-datagen-docker.sh @@ -0,0 +1,104 @@ +#!/usr/bin/env bash + +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# +# Generate TPC-DS data for TPCDSQUeryTestSuite. +# Run with "-h" for options. +# + +set -e +SELF=$(cd $(dirname $0) && pwd) + +# Re-uses helper funcs for the release scripts +. "$SELF/../create-release/release-util.sh" + +function usage { + local NAME=$(basename $0) + cat < $ENVFILE <