Update README.

This commit is contained in:
Yin Huai 2015-08-24 11:39:59 -07:00
parent 77fbe22b7b
commit 88aadb45a4

View File

@ -16,7 +16,7 @@ import com.databricks.spark.sql.perf.tpcds.Tables
// dsdgenDir is the location of dsdgen tool installed in your machines.
val tables = Tables(sqlContext, dsdgenDir, scaleFactor)
// Generate data.
tables.genData(location, format, overwrite)
tables.genData(location, format, overwrite, partitionTables)
// Create metastore tables in a specified database for your data.
// Once tables are created, the current database will be switched to the specified database.
tables.createExternalTables(location, format, databaseName, overwrite)