should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
//===----------------------------------------------------------------------===//
//
// DuckDB
//
// dsdgen.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb.hpp"
#include "duckdb/catalog/catalog.hpp"
#include "duckdb/common/types/data_chunk.hpp"
namespace duckdb {
class ClientContext;
}
namespace tpcds {
struct DSDGenWrapper {
//! Create the TPC-DS tables in the given schema with the given suffix
static void CreateTPCDSSchema(duckdb::ClientContext &context, std::string catalog, std::string schema, std::string suffix, bool keys,
bool overwrite);
//! Generate the TPC-DS data of the given scale factor
static void DSDGen(double scale, duckdb::ClientContext &context, std::string catalog, std::string schema, std::string suffix);
static uint32_t QueriesCount();
//! Gets the specified TPC-DS Query number as a string
static std::string GetQuery(int query);
//! Returns the CSV answer of a TPC-DS query
static std::string GetAnswer(double sf, int query);
};
} // namespace tpcds