Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持 day east -p clickhouse 从而无需手动导出 factor.csv #8

Closed
zjp-CN opened this issue Oct 12, 2021 · 0 comments
Closed

支持 day east -p clickhouse 从而无需手动导出 factor.csv #8

zjp-CN opened this issue Oct 12, 2021 · 0 comments
Labels
enhancement New feature or request rustdx-cmd rustdx-cmd 相关

Comments

@zjp-CN
Copy link
Owner

zjp-CN commented Oct 12, 2021

需要将

let previous = if let Some(Some(path)) = cmd.previous.as_ref().map(|p| p.to_str()) {
if path == "clickhouse" { clickhouse_factor(&cmd.table) } else { pre_factor(dbg!(path)) }?
} else {
return Err(anyhow!("请检查 gbbq 路径"));
};

提取成函数,在 cmd/east.rs 中调用

@zjp-CN zjp-CN changed the title day east -p clickhouse 支持 day east -p clickhouse 从而无需手动导出 factor.csv Oct 12, 2021
@zjp-CN zjp-CN added enhancement New feature or request rustdx-cmd rustdx-cmd 相关 labels Oct 12, 2021
@zjp-CN zjp-CN closed this as completed in f6001c7 Oct 12, 2021
zjp-CN added a commit that referenced this issue Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rustdx-cmd rustdx-cmd 相关
Projects
None yet
Development

No branches or pull requests

1 participant