1//===----------------------------------------------------------------------===//
2//
3// DuckDB
4//
5// dbgen.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
17namespace tpch {
18//! Adds the TPC-H 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.
21void dbgen(double sf, duckdb::DuckDB &database, std::string schema = DEFAULT_SCHEMA, std::string suffix = "");
22
23//! Gets the specified TPC-H Query number as a string
24std::string get_query(int query);
25//! Returns the CSV answer of a TPC-H query
26std::string get_answer(double sf, int query);
27} // namespace tpch
28