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

added support for weekly aggregates with period origin #26

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Gauravshah
Copy link
Member

@Gauravshah Gauravshah commented Nov 1, 2019

Weekly aggregate is now possible with a custom origin
this enables week to start at Monday

druid doc : https://druid.apache.org/docs/latest/querying/granularities.html

<div class="gf-form max-width-70">
<span class="gf-form-label">Period Origin</span>
<div class="gf-form-select-wrapper gf-form-select-wrapper--has-help-icon max-width-50">
<input type="text" class="gf-form-input" ng-model="ctrl.current.jsonData.periodOrigin" spellcheck='false' />
Copy link

@ShilpaSivanesan ShilpaSivanesan Nov 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be better to have a drop down with possible values ? or text field with placeholder

@@ -119,6 +119,13 @@ <h3 class="page-heading">Druid Settings</h3>
<info-popover mode="right-absolute">This enables the to query hourly data in different timezone.</info-popover>
</div>
</div>
<div class="gf-form max-width-70">
<span class="gf-form-label">Period Origin</span>
<div class="gf-form-select-wrapper gf-form-select-wrapper--has-help-icon max-width-50">
Copy link

@ShilpaSivanesan ShilpaSivanesan Nov 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gf-form-select-wrapper class can be replaced as gf-form-input width-20 gf-form-input--has-help-icon

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

Successfully merging this pull request may close these issues.

2 participants