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

Improve build ordering dependencies #158

Closed
ronanstokes-db opened this issue Mar 2, 2023 · 0 comments · Fixed by #159
Closed

Improve build ordering dependencies #158

ronanstokes-db opened this issue Mar 2, 2023 · 0 comments · Fixed by #159
Assignees
Labels
Milestone

Comments

@ronanstokes-db
Copy link
Contributor

Expected Behavior

When a column contains a SQL expression, if the SQL contains references to other columns that appear prior to the current column - adjust the build sequencing so that those columns are created first.

Current Behavior

You have to specify via baseColumn attribute in all cases

Improved behavior

If simple identifier parser detects valid SQL identifiers in the SQL expression and a) they are not inside a string, and b) they match an existing column name, use separate phases for generation of the column which references the other columns.

This will reduce the number of cases where it is necessary to explicitly reference the baseColumns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant