@hypequery/protocol-conformance 0.11.1 → 0.12.0
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.
- package/dist/adapters/generators.d.ts +0 -1
- package/dist/adapters/generators.d.ts.map +1 -1
- package/dist/adapters/generators.js +0 -112
- package/dist/adapters/reference.d.ts +1 -1
- package/dist/adapters/reference.d.ts.map +1 -1
- package/dist/adapters/reference.js +6 -6
- package/fixtures/deployments-v2/README.md +15 -0
- package/fixtures/deployments-v2/identity.json +7 -0
- package/fixtures/deployments-v2/rejections.json +874 -0
- package/fixtures/deployments-v2/success.json +67 -0
- package/fixtures/fuzz-seeds-v1/structured-values.json +3 -3
- package/fixtures/manifest.json +4 -4
- package/fixtures/query-implementations-v1/rejections.json +445 -6
- package/fixtures/query-implementations-v1/success.json +88 -12
- package/fixtures/query-schemas-v1/README.md +2 -0
- package/fixtures/query-schemas-v1/rejections.json +224 -13
- package/fixtures/sql-portability-v1/README.md +2 -0
- package/fixtures/sql-portability-v1/non-portable.json +121 -0
- package/fixtures/tagged-values-v1/rejections.json +18 -0
- package/package.json +2 -2
- package/fixtures/deployments-v1/README.md +0 -11
- package/fixtures/deployments-v1/identity.json +0 -12
- package/fixtures/deployments-v1/rejections.json +0 -18
- package/fixtures/deployments-v1/success.json +0 -139
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "dataset-and-runtime-query",
|
|
4
|
-
"value": {
|
|
5
|
-
"kind": "hypequery-deployment",
|
|
6
|
-
"version": 1,
|
|
7
|
-
"datasets": [
|
|
8
|
-
{
|
|
9
|
-
"name": "orders",
|
|
10
|
-
"source": "analytics.orders",
|
|
11
|
-
"tenant": { "kind": "required", "field": "tenant_id" },
|
|
12
|
-
"timeField": "created_at",
|
|
13
|
-
"dimensions": [
|
|
14
|
-
{
|
|
15
|
-
"name": "status",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"source": { "kind": "column", "column": "status" },
|
|
18
|
-
"filterable": true,
|
|
19
|
-
"groupable": true
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"measures": [
|
|
23
|
-
{
|
|
24
|
-
"name": "revenue",
|
|
25
|
-
"aggregation": "sum",
|
|
26
|
-
"field": "amount",
|
|
27
|
-
"filters": []
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"filters": [
|
|
31
|
-
{
|
|
32
|
-
"name": "status",
|
|
33
|
-
"field": "status",
|
|
34
|
-
"operators": ["eq", "neq"]
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"metrics": [],
|
|
38
|
-
"relationships": [],
|
|
39
|
-
"limits": { "maxResultSize": 1000 },
|
|
40
|
-
"endpoint": {
|
|
41
|
-
"access": { "kind": "authenticated", "roles": [], "scopes": ["read:orders"] },
|
|
42
|
-
"tenant": { "kind": "required", "mode": "auto-inject", "column": "tenant_id" },
|
|
43
|
-
"maxLimit": 1000,
|
|
44
|
-
"path": "/api/analytics/datasets/orders/query"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"queries": [
|
|
49
|
-
{
|
|
50
|
-
"name": "health",
|
|
51
|
-
"input": { "kind": "any" },
|
|
52
|
-
"output": {
|
|
53
|
-
"kind": "object",
|
|
54
|
-
"properties": { "ok": { "kind": "boolean" } },
|
|
55
|
-
"required": ["ok"],
|
|
56
|
-
"unknownProperties": "strip"
|
|
57
|
-
},
|
|
58
|
-
"implementation": {
|
|
59
|
-
"kind": "runtime-reference",
|
|
60
|
-
"runtime": "node",
|
|
61
|
-
"artifactSha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
|
|
62
|
-
"entrypoint": "queries.health"
|
|
63
|
-
},
|
|
64
|
-
"endpoint": {
|
|
65
|
-
"access": { "kind": "public" },
|
|
66
|
-
"tenant": { "kind": "not-required" },
|
|
67
|
-
"method": "GET",
|
|
68
|
-
"path": "/api/analytics/queries/health"
|
|
69
|
-
},
|
|
70
|
-
"tags": ["system"]
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"artifacts": [
|
|
74
|
-
{
|
|
75
|
-
"runtime": "node",
|
|
76
|
-
"artifactSha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
|
|
77
|
-
}
|
|
78
|
-
]
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"id": "dataset-with-semantic-metadata",
|
|
83
|
-
"value": {
|
|
84
|
-
"kind": "hypequery-deployment",
|
|
85
|
-
"version": 1,
|
|
86
|
-
"datasets": [
|
|
87
|
-
{
|
|
88
|
-
"name": "orders",
|
|
89
|
-
"description": "Completed customer orders.",
|
|
90
|
-
"source": "analytics.orders",
|
|
91
|
-
"owner": "revenue-team",
|
|
92
|
-
"freshness": { "maxAgeSeconds": 3600 },
|
|
93
|
-
"defaults": { "dimensions": ["status"], "timeGrain": "day" },
|
|
94
|
-
"synonyms": ["purchases", "sales"],
|
|
95
|
-
"timezone": "UTC",
|
|
96
|
-
"sensitivity": "internal",
|
|
97
|
-
"tenant": { "kind": "required", "field": "tenant_id" },
|
|
98
|
-
"timeField": "created_at",
|
|
99
|
-
"dimensions": [
|
|
100
|
-
{
|
|
101
|
-
"name": "status",
|
|
102
|
-
"type": "string",
|
|
103
|
-
"source": { "kind": "column", "column": "status" },
|
|
104
|
-
"filterable": true,
|
|
105
|
-
"groupable": true,
|
|
106
|
-
"examples": ["paid", "refunded"],
|
|
107
|
-
"synonyms": ["state"],
|
|
108
|
-
"sensitivity": "public"
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"measures": [
|
|
112
|
-
{
|
|
113
|
-
"name": "revenue",
|
|
114
|
-
"aggregation": "sum",
|
|
115
|
-
"field": "amount",
|
|
116
|
-
"filters": [],
|
|
117
|
-
"format": "0,0.00",
|
|
118
|
-
"unit": "currency",
|
|
119
|
-
"currency": "USD",
|
|
120
|
-
"sensitivity": "confidential"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"filters": [
|
|
124
|
-
{
|
|
125
|
-
"name": "status",
|
|
126
|
-
"field": "status",
|
|
127
|
-
"operators": ["eq", "neq"],
|
|
128
|
-
"examples": ["paid"]
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"metrics": [],
|
|
132
|
-
"relationships": []
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"queries": [],
|
|
136
|
-
"artifacts": []
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
]
|