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

Add Fluid codegen #2077

Merged
merged 4 commits into from
Apr 1, 2020
Merged

Conversation

Yancey1989
Copy link
Collaborator

@Yancey1989 Yancey1989 commented Mar 31, 2020

related issue #1980

This PR implements fluid/codegen.go to generate a Fluid program.

The generated YAML file is not valid, some TODO tasks should be fixed:
sql-machine-learning/fluid#24
sql-machine-learning/fluid#23

}

// MockSQLProgramIR mock a SQLFLow program which contains multiple statements
func MockSQLProgramIR() []ir.SQLFlowStmt {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put this in the _test.go file should be cool.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the function in _test.go can not be used as a public function, I prefer in codegen.go.

pkg/workflow/fluid/codegen.go Outdated Show resolved Hide resolved
@Yancey1989 Yancey1989 merged commit 0ec1cbb into sql-machine-learning:develop Apr 1, 2020
@Yancey1989 Yancey1989 deleted the fluid_codegen branch April 1, 2020 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants