1#pragma once
2
3#include "duckdb/main/appender.hpp"
4#include "duckdb/main/connection.hpp"
5
6#include <memory>
7
8namespace tpcds {
9
10struct tpcds_table_def {
11 const char *name;
12 int fl_small;
13 int fl_child;
14};
15
16#define CALL_CENTER 0
17#define DBGEN_VERSION 24
18
19struct tpcds_append_information {
20 tpcds_append_information(duckdb::DuckDB &db, std::string schema_name, std::string table_name) : connection(db), appender(connection, schema_name, table_name)
21 {
22 }
23
24 duckdb::Connection connection;
25 duckdb::Appender appender;
26
27 tpcds_table_def table_def;
28};
29
30} // namespace tpcds
31