cmu-db / dbgym

An end-to-end research vehicle for studying self-driving DBMSs.
MIT License
9 stars 1 forks source link

Modify embedding workload input format. #13

Closed lmwnshn closed 4 months ago

lmwnshn commented 4 months ago

This PR modifies how the embedding takes in a workload as input.

Instead of specifying query_directory or query_order in the benchmark's YAML, we pass in workload-name as a CLI argument.

Assuming that the gym is generating the workload, (benchmark, workload-name) is enough to identify the workload's folder and its corresponding order.txt. The format of order.txt is currently: QueryId,AbsPathToQuerySQL[,Weight]

lmwnshn commented 4 months ago

@wangpatrick57 We should have a separate conversation about handling input args, but that's deferred to a future PR -- please remind me.