You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requirement is that we want to query count of section_id that student belongs to. Currently maha does not support the rollup expressions on the dimension columns in the fact.
Example query is:
student_id, count(distinct section_id) as NumberOfSections
from student_perf
group by student_id
Plan is to create a new derived column called DerAaggregatedDimCol which will have rollup expression along with the derived expression. And respective engine query generator will take care of rendering it. Tricky part is to exclude it from the group by expressions only if base col is not used by any other requested cols or dependent derived cols.
As this is experimental feature, i am planning to start it from hive/presto query generator.
let me know if you have any suggestions and questions.
The text was updated successfully, but these errors were encountered:
Requirement is that we want to query count of section_id that student belongs to. Currently maha does not support the rollup expressions on the dimension columns in the fact.
Example query is:
Plan is to create a new derived column called DerAaggregatedDimCol which will have rollup expression along with the derived expression. And respective engine query generator will take care of rendering it. Tricky part is to exclude it from the group by expressions only if base col is not used by any other requested cols or dependent derived cols.
As this is experimental feature, i am planning to start it from hive/presto query generator.
let me know if you have any suggestions and questions.
The text was updated successfully, but these errors were encountered: