| 1 | #pragma once |
| 2 | |
| 3 | #include "duckdb/catalog/catalog.hpp" |
| 4 | #include "duckdb.hpp" |
| 5 | |
| 6 | namespace tpcds { |
| 7 | //! Adds the TPC-DS tables filled with the given SF to the catalog. Suffix adds |
| 8 | //! a suffix to the table names, if given. SF=0 will only add the schema |
| 9 | //! information. |
| 10 | void dbgen(double sf, duckdb::DuckDB &database, std::string schema = DEFAULT_SCHEMA, std::string suffix = "" ); |
| 11 | |
| 12 | //! Gets the specified TPC-DS Query number as a string |
| 13 | std::string get_query(int query); |
| 14 | //! Returns the CSV answer of a TPC-DS query |
| 15 | std::string get_answer(double sf, int query); |
| 16 | } // namespace tpcds |
| 17 | |