Skip to content

[BEAM-9891] TPC-DS module initialization, tables and queries stored - #12436

Merged
amaliujia merged 10 commits into
apache:masterfrom
Imfuyuwei:tpcds-dev
Aug 3, 2020
Merged

amaliujia merged 10 commits into
apache:masterfrom
Imfuyuwei:tpcds-dev

Conversation

@Imfuyuwei

Copy link
Copy Markdown
Contributor

R: @amaliujia
CC: @kennknowles

Initialized tpcds module in sdks/java/testing.

Table schemas and netezza queries are retrieved or generated from official tpc-ds tool and are stored in this module's resource directory. 1G and 10G data are stored in "apache-beam-testing" GCP project, at "beamsql_tpcds_1/data" bucket.

Currently, this module uses dataflow runner to run queries and write the result into "apache-beam-testing" project, result files can be found at "beamsql_tpcds_1/tpcds_result/{%dataSize}/{%jobName}". JobName is automatically set by combining query name and time stamp.

To test execution, set up "apache-beam-testing" project authentication and authorization, then run the following command from the command line:

./gradlew :sdks:java:testing:tpcds:run -Ptpcds.args="--dataSize=1G \
--queries=3,26,55 \
--tpcParallel=2 \
--project=apache-beam-testing \
--stagingLocation=gs://beamsql_tpcds_1/staging \
--tempLocation=gs://beamsql_tpcds_2/temp \
--runner=DataflowRunner \
--region=us-west1 \
--maxNumWorkers=10"

This means running query2, query26, query55 on 1G tpcds data set, at most 2 jobs can run in parallel.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Dataflow Flink Samza Spark Twister2
Go Build Status --- Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status --- Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status
Build Status
Build Status
Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants