feat: DB管线补全 + 新增orchestrator_db/program_schema/to_sql + 清理临时脚本
This commit is contained in:
@@ -34,6 +34,12 @@ class Config:
|
||||
gcov_threshold: float = 0.5
|
||||
max_quality_retries: int = 4
|
||||
|
||||
# gixsql for DB programs
|
||||
gixsql_path: str = "gixsql/bin/gixpp.exe"
|
||||
gixsql_lib_path: str = "gixsql/lib"
|
||||
gixsql_db_path: str = ".db/gixsql"
|
||||
gixsql_compile_flags: str = "-fixed -ext cpy --coverage"
|
||||
|
||||
@classmethod
|
||||
def from_toml(cls, path="aurak.toml"):
|
||||
import tomllib
|
||||
@@ -56,6 +62,11 @@ class Config:
|
||||
c.tolerance = cp.get("default_tolerance", c.tolerance)
|
||||
r = d.get("runner", {})
|
||||
c.runner_mode = r.get("mode", "native")
|
||||
g = d.get("gixsql", {})
|
||||
c.gixsql_path = g.get("path", c.gixsql_path)
|
||||
c.gixsql_lib_path = g.get("lib_path", c.gixsql_lib_path)
|
||||
c.gixsql_db_path = g.get("db_path", c.gixsql_db_path)
|
||||
c.gixsql_compile_flags = g.get("compile_flags", c.gixsql_compile_flags)
|
||||
s = d.get("spark", {})
|
||||
c.spark_master = s.get("master", "local[*]")
|
||||
c.num_records = s.get("num_records", c.num_records)
|
||||
|
||||
Reference in New Issue
Block a user