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

Query multiple calculated fields that uses the same column expression will fails. #712

Open
goldmedal opened this issue Jul 24, 2024 · 0 comments

Comments

@goldmedal
Copy link
Contributor

Description

I disable the test cases because the duplicate column expression issue. Both of them use orders.customer_state in their expression. It will lead to query fails.

.column(
ColumnBuilder::new_calculated("customer_state_cf", "varchar")
.expression("orders.customer_state")
.build(),
)
// TODO: duplicate `orders.customer_state`
// .column(
// ColumnBuilder::new_calculated("customer_state_cf_concat", "varchar")
// .expression("orders.customer_state || '-test'")
// .build(),
// )

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

No branches or pull requests

1 participant