datajunction-server 0.0.1a100.dev1__tar.gz → 0.0.1a101.dev0__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.
- {datajunction_server-0.0.1a100.dev1 → datajunction_server-0.0.1a101.dev0}/PKG-INFO +1 -1
- {datajunction_server-0.0.1a100.dev1 → datajunction_server-0.0.1a101.dev0}/datajunction_server/api/graphql/schema.graphql +22 -9
- {datajunction_server-0.0.1a100.dev1 → datajunction_server-0.0.1a101.dev0}/.gitignore +0 -0
- {datajunction_server-0.0.1a100.dev1 → datajunction_server-0.0.1a101.dev0}/README.md +0 -0
- {datajunction_server-0.0.1a100.dev1 → datajunction_server-0.0.1a101.dev0}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: datajunction-server
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.1a101.dev0
|
|
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
|
|
@@ -73,12 +73,23 @@ type DJError {
|
|
|
73
73
|
"""Date with time (isoformat)"""
|
|
74
74
|
scalar DateTime
|
|
75
75
|
|
|
76
|
+
type DecomposedMetric {
|
|
77
|
+
components: [MetricComponent!]!
|
|
78
|
+
derivedQuery: String!
|
|
79
|
+
derivedExpression: String!
|
|
80
|
+
}
|
|
81
|
+
|
|
76
82
|
enum Dialect {
|
|
77
83
|
SPARK
|
|
78
84
|
TRINO
|
|
79
85
|
DRUID
|
|
80
86
|
}
|
|
81
87
|
|
|
88
|
+
type DialectInfo {
|
|
89
|
+
name: String!
|
|
90
|
+
pluginClass: String!
|
|
91
|
+
}
|
|
92
|
+
|
|
82
93
|
type DimensionAttribute {
|
|
83
94
|
name: String!
|
|
84
95
|
attribute: String
|
|
@@ -146,12 +157,6 @@ enum ErrorCode {
|
|
|
146
157
|
INVALID_METRIC
|
|
147
158
|
}
|
|
148
159
|
|
|
149
|
-
type ExtractedMeasures {
|
|
150
|
-
measures: [Measure!]!
|
|
151
|
-
derivedQuery: String!
|
|
152
|
-
derivedExpression: String!
|
|
153
|
-
}
|
|
154
|
-
|
|
155
160
|
type GeneratedSQL {
|
|
156
161
|
node: Node!
|
|
157
162
|
sql: String!
|
|
@@ -190,10 +195,10 @@ type MaterializationConfig {
|
|
|
190
195
|
strategy: String
|
|
191
196
|
}
|
|
192
197
|
|
|
193
|
-
type
|
|
198
|
+
type MetricComponent {
|
|
194
199
|
name: String!
|
|
195
200
|
expression: String!
|
|
196
|
-
aggregation: String
|
|
201
|
+
aggregation: String
|
|
197
202
|
rule: AggregationRule!
|
|
198
203
|
}
|
|
199
204
|
|
|
@@ -267,7 +272,7 @@ type NodeRevision {
|
|
|
267
272
|
catalog: Catalog
|
|
268
273
|
primaryKey: [String!]!
|
|
269
274
|
metricMetadata: MetricMetadata
|
|
270
|
-
extractedMeasures:
|
|
275
|
+
extractedMeasures: DecomposedMetric
|
|
271
276
|
cubeMetrics: [NodeRevision!]!
|
|
272
277
|
cubeDimensions: [DimensionAttribute!]!
|
|
273
278
|
}
|
|
@@ -331,9 +336,15 @@ enum PartitionType {
|
|
|
331
336
|
}
|
|
332
337
|
|
|
333
338
|
type Query {
|
|
339
|
+
"""List available catalogs"""
|
|
334
340
|
listCatalogs: [Catalog!]!
|
|
341
|
+
|
|
342
|
+
"""List all available engines"""
|
|
335
343
|
listEngines: [Engine!]!
|
|
336
344
|
|
|
345
|
+
"""List all supported SQL dialects"""
|
|
346
|
+
listDialects: [DialectInfo!]!
|
|
347
|
+
|
|
337
348
|
"""Find nodes based on the search parameters."""
|
|
338
349
|
findNodes(
|
|
339
350
|
"""A fragment of a node name to search for"""
|
|
@@ -383,6 +394,8 @@ type Query {
|
|
|
383
394
|
"""A list of nodes to find common dimensions for"""
|
|
384
395
|
nodes: [String!] = null
|
|
385
396
|
): [DimensionAttribute!]!
|
|
397
|
+
|
|
398
|
+
"""Get measures SQL for a list of metrics, dimensions, and filters."""
|
|
386
399
|
measuresSql(
|
|
387
400
|
cube: CubeDefinition!
|
|
388
401
|
engine: EngineSettings = null
|
|
File without changes
|
|
File without changes
|
|
File without changes
|