uwescience/tpch-myrial

Name: tpch-myrial

Owner: UW eScience Institute

Description: An implementation of TPC-H in the MyriaL language

Created: 2015-07-01 18:06:37.0

Updated: 2017-04-02 04:20:02.0

Pushed: 2016-06-07 20:35:53.0

Homepage: http://myria.cs.washington.edu/docs/myrial.html

Size: 37

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

tpch-myrial

This is an implementation of TPC-H in the MyriaL language. You can use it to generate TPC-H query plans for any back end of the Raco relational algebra compiler.

Setup

tpch-myrial requires TPC-H qgen to generate SQL queries and Raco to generate the query plans.

Generate the queries

The queries are expressed as TPC-H qgen template files. The following command will run qgen on all the templates using the test parameters from the TPC-H specification.

on gen_validation.py
See the plan of a query
O_HOME/scripts/myrial [flag] q1.myl

Run $RACO_HOME/scripts/myrial -h for documentation about the different kinds of output.

Compile the queries to Grappa (Radish) programs
on do_all_queries_py.sh COMPILER_FLAGS
Caveats

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.