datajunction-server 0.0.249__tar.gz → 0.0.251__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: datajunction-server
3
- Version: 0.0.249
3
+ Version: 0.0.251
4
4
  Summary: DataJunction server library for running to a DataJunction server
5
5
  Project-URL: Homepage, https://datajunction.io
6
6
  Project-URL: Repository, https://github.com/DataJunction/dj
@@ -7,6 +7,8 @@ enum Aggregability {
7
7
  type AggregationRule {
8
8
  type: Aggregability!
9
9
  level: [String!]
10
+ reaggregate: DimensionReaggregateRule
11
+ fixedGrain: [String!]
10
12
  }
11
13
 
12
14
  type Attribute {
@@ -149,6 +151,11 @@ type DimensionLink {
149
151
  defaultValue: String
150
152
  }
151
153
 
154
+ type DimensionReaggregateRule {
155
+ dimension: String!
156
+ fn: ReaggregationFunction!
157
+ }
158
+
152
159
  type Engine {
153
160
  name: String!
154
161
  version: String!
@@ -397,6 +404,8 @@ type NodeRevision {
397
404
  dimensionLinks: [DimensionLink!]!
398
405
  availability: AvailabilityState
399
406
  materializations: [MaterializationConfig!]
407
+ fixedGrain: [String!]
408
+ reaggregate: ReaggregateSpec
400
409
  primaryKey: [String!]!
401
410
  metricMetadata: MetricMetadata
402
411
  isDerivedMetric: Boolean!
@@ -716,6 +725,21 @@ type Query {
716
725
  listNamespaces: [Namespace!]!
717
726
  }
718
727
 
728
+ type ReaggregateSpec {
729
+ rules: [DimensionReaggregateRule!]!
730
+ }
731
+
732
+ enum ReaggregationFunction {
733
+ AUTO
734
+ NONE
735
+ SUM
736
+ AVG
737
+ LAST_VALUE
738
+ FIRST_VALUE
739
+ MIN
740
+ MAX
741
+ }
742
+
719
743
  type SemanticEntity {
720
744
  name: String!
721
745