| 1 | //===----------------------------------------------------------------------===// | 
|---|
| 2 | // | 
|---|
| 3 | //                         DuckDB | 
|---|
| 4 | // | 
|---|
| 5 | // tpce.hpp | 
|---|
| 6 | // | 
|---|
| 7 | // Author: Mark Raasveldt | 
|---|
| 8 | // | 
|---|
| 9 | //===----------------------------------------------------------------------===// | 
|---|
| 10 |  | 
|---|
| 11 | #pragma once | 
|---|
| 12 |  | 
|---|
| 13 | #include "duckdb/catalog/catalog.hpp" | 
|---|
| 14 | #include "duckdb/common/types/data_chunk.hpp" | 
|---|
| 15 | #include "duckdb.hpp" | 
|---|
| 16 |  | 
|---|
| 17 | namespace tpce { | 
|---|
| 18 | //! Adds the TPC-E tables filled with the given SF to the catalog. Suffix adds a | 
|---|
| 19 | //! suffix to the table names, if given. SF=0 will only add the schema | 
|---|
| 20 | //! information. | 
|---|
| 21 | void dbgen(duckdb::DuckDB &database, uint32_t sf = 500, std::string schema = DEFAULT_SCHEMA, std::string suffix = ""); | 
|---|
| 22 |  | 
|---|
| 23 | } // namespace tpce | 
|---|
| 24 |  | 
|---|