druid icon indicating copy to clipboard operation
druid copied to clipboard

[Proposal] time granularity based materialized view

Open pzhdfy opened this issue 7 years ago • 7 comments

Motivation In prev issue https://github.com/apache/incubator-druid/issues/5304, @zhangxinyu1 design the 'Materialized View' with pruned dimensions , and the queryGranularity of 'Materialized View' keep same with base datasource, This works in most case.

But if we do not often query the origin queryGranularity of base datasource. For example, the base datasource queryGranularity is MINUTE, but we often query in HOUR, so we need compute a Materialized View in HOUR.

image

Design The implementation of 'time granularity based materialized view' is divided into two parts. One is the how to build, and the other is how to Query.

We will add more details later.

pzhdfy avatar Dec 06 '18 13:12 pzhdfy

It's a great feature. I'm looking forward to it.

zhangxinyu1 avatar Dec 07 '18 02:12 zhangxinyu1

We'd love something like this in order to keep a longer range of data at coarser granularity in a second copy of our data sources. Does anyone have any workarounds for implementing something like that today? I guess we can use batch ingestion with the ingestSegment firehose to do this, but we still have to create something that periodically starts batch ingestion.

glasser avatar Jan 11 '19 05:01 glasser

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

stale[bot] avatar Oct 18 '19 05:10 stale[bot]

This sounds cool. @pzhdfy are you still planning to do this?

jihoonson avatar Oct 18 '19 06:10 jihoonson

This issue is no longer marked as stale.

stale[bot] avatar Oct 18 '19 06:10 stale[bot]

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

stale[bot] avatar Jul 25 '20 04:07 stale[bot]

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

stale[bot] avatar Aug 23 '20 01:08 stale[bot]