package util
type Tpch1gQuery struct {
Path string `tag:"path"`
QueryId uint `tag:"queryId"`
}
type Tpch1gData struct {
Path string `tag:"path"`
Format string `tag:"format"`
}
type Tpch1gResult struct {
Path string `tag:"path"`
NeedHeadLine bool `tag:"needHeadline"`
}
type Tpch1gDDL struct {
Path string `tag:"path"`
DDL string `tag:"ddl"`
}
type Tpch1g struct {
DDL Tpch1gDDL `tag:"ddl"`
Query Tpch1gQuery `tag:"query" tag:"query"`
Data Tpch1gData `tag:"data" tag:"data"`
Result Tpch1gResult `tag:"result" tag:"result"`
}
type DebugOptions struct {
ShowRaw bool `tag:"showRaw"`
EnableMaxScanRows bool `tag:"enableMaxScanRows"`
MaxScanRows int `tag:"maxScanRows"`
MaxOutputRowCount int `tag:"maxOutputRowCount"`
PrintResult bool `tag:"printResult"`
PrintPlan bool `tag:"printPlan"`
Count int `tag:"count"`
}
type Config struct {
Tpch1g Tpch1g `tag:"tpch1g"`
Debug DebugOptions `tag:"debug"`
}