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

Releasing 3.1 #145

Merged
merged 37 commits into from
Apr 25, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
538b2fe
InvertedMetric Implementation
Jan 19, 2020
72f438c
Added deprecation of select query, since it has been removed in Druid…
Feb 28, 2020
8007fc7
Preparing for next release 3.1-SNAPSHOT
abhi-zapr Feb 29, 2020
c60b2b8
Adding Javadoc badge
abhi-zapr Feb 29, 2020
b6254a3
Added support for automatic resource management for Client - it imple…
Jonarzz Mar 1, 2020
82ccc02
Added support for movingAverage query: https://druid.apache.org/docs/…
Feb 28, 2020
fa95811
Added expression support to some aggregators
Mar 2, 2020
55f5835
Bump jackson-databind from 2.9.10.1 to 2.9.10.3
dependabot[bot] Mar 4, 2020
15b8bbb
Added limit field to the TimeSeries Query (present in Druid since ver…
Mar 10, 2020
d78fe85
Applied code formatter recommended by Druidry repository owners. Adde…
Mar 10, 2020
ee8c275
Added stringFirst and stringLast aggregators.
Mar 12, 2020
0541b6c
Added tests for trying to build moving average query without required…
Mar 16, 2020
973221e
Removed abstract StringAggregator class. Added tests for trying to bu…
Mar 16, 2020
1f35e4b
Update src/main/java/in/zapr/druid/druidry/aggregator/DoubleMaxAggreg…
tunix Mar 17, 2020
64186af
Update src/main/java/in/zapr/druid/druidry/aggregator/DoubleMaxAggreg…
tunix Mar 17, 2020
7ad4fee
Update src/main/java/in/zapr/druid/druidry/aggregator/DoubleMaxAggreg…
tunix Mar 17, 2020
3babe3f
Updated aggregators with builder pattern, corrected tests
Mar 17, 2020
fde1647
Added back tests for old constructor, reverted some changes in tests
Mar 21, 2020
c218030
Merge pull request #119 from zhaomoran/develop
abhi-zapr Mar 22, 2020
2e31f1d
Merge pull request #131 from Jonarzz/develop
abhi-zapr Mar 22, 2020
ea7e50e
Merge branch 'develop' into druid_017
abhi-zapr Mar 22, 2020
0e382f2
Merge pull request #132 from Jonarzz/druid_017
abhi-zapr Mar 22, 2020
ea173ca
Merge pull request #134 from Jonarzz/auto_closeable_client
abhi-zapr Mar 22, 2020
32ecbbe
Merge pull request #135 from tunix/expression
abhi-zapr Mar 22, 2020
fc029fd
Merge pull request #136 from zapr-oss/dependabot/maven/com.fasterxml.…
abhi-zapr Mar 22, 2020
e9b9ae7
Merge pull request #137 from Jonarzz/timeseries_limit
abhi-zapr Mar 22, 2020
6ad96d4
Merge pull request #138 from Jonarzz/string_first_last_aggregators
abhi-zapr Mar 22, 2020
94fd41f
numeric & dimension topNmetric spec implementation and refactoring
abhi195 Mar 29, 2020
98f3a88
hyperUnique missing props(isInputHyperUnique & round) impl
abhi195 Mar 29, 2020
3ef7805
remmoved isInputHyperUnique as its ingestion only config
abhi195 Apr 19, 2020
30a5256
Merge pull request #140 from abhi195/feature_hyperUniqueMissingPropsImpl
abhi-zapr Apr 19, 2020
9805f4d
changing NumericMetric's metric datatype to string as per incubator-d…
abhi195 Apr 19, 2020
bd457eb
naming refactor
abhi-zapr Apr 19, 2020
fd62313
Merge pull request #141 from abhi195/feature_topNmetricSpecExtension
abhi-zapr Apr 19, 2020
8222fef
Bump jackson-databind from 2.9.10.3 to 2.9.10.4
dependabot[bot] Apr 23, 2020
b49d497
Merge pull request #144 from zapr-oss/dependabot/maven/com.fasterxml.…
abhi-zapr Apr 25, 2020
21e1fd6
version bump to 3.1 for release
abhi-zapr Apr 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@
public class DruidTimeSeriesQuery extends DruidAggregationQuery {
// TODO: String or Boolean??
private Boolean descending;
private Integer limit;

@Builder
private DruidTimeSeriesQuery(@NonNull DataSource dataSource, Boolean descending,
@NonNull List<Interval> intervals, @NonNull Granularity granularity,
List<DruidVirtualColumn> virtualColumns,
DruidFilter filter, List<DruidAggregator> aggregators,
List<DruidPostAggregator> postAggregators, Context context) {
List<DruidPostAggregator> postAggregators, Integer limit, Context context) {

this.queryType = QueryType.TIMESERIES;
this.dataSource = dataSource;
Expand All @@ -57,6 +58,7 @@ private DruidTimeSeriesQuery(@NonNull DataSource dataSource, Boolean descending,
this.filter = filter;
this.aggregations = aggregators;
this.postAggregations = postAggregators;
this.limit = limit;
this.context = context;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ public void testAllFields() throws JSONException, JsonProcessingException {
.filter(filter)
.aggregators(Collections.singletonList(aggregator))
.postAggregators(Collections.singletonList(postAggregator))
.limit(5)
.context(context)
.build();

Expand Down Expand Up @@ -239,6 +240,7 @@ public void testAllFields() throws JSONException, JsonProcessingException {
expectedQuery.put("intervals", new JSONArray(Collections
.singletonList("2013-07-14T00:00:00.000Z/2013-11-16T00:00:00.000Z")));
expectedQuery.put("granularity", "day");
expectedQuery.put("limit", 5);
expectedQuery.put("aggregations", new JSONArray(Collections.singletonList(expectedAggregator)));
expectedQuery.put("postAggregations", new JSONArray(Collections.singletonList(expectedPostAggregator)));
expectedQuery.put("filter", expectedFilter);
Expand Down