Open dada-engineer opened 2 months ago
Hi @dada-engineer 👋
Thanks for filing this! Taking a second look at this, I see that it works (no error) with many_to_one
for the join relationship, but would not work for one_to_many
. However, I feel like one_to_many
is the correct one here,
Describe the bug Hi there, I have two cubes Orders and Items and I want to add a measure on Orders to calculate totalOrderPrice. But I get missing FROM-clause entry for table "orders_measure_join__orders" Can anyone help me out here?
To Reproduce Steps to reproduce the behavior: @igorlukanin on the slack channel also provided a minimal example and generated sql
Expected behavior The join of the measures should be referencing the correct alias
Version: 0.35.56+ (didn't test lower versions)
Additional context Here is the slack convo