@malloy-publisher/server 0.18.5 → 0.18.6
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/app/api-doc.yaml +37 -12
- package/dist/instrumentation.mjs +1 -1
- package/dist/package_load_worker.mjs +778 -492
- package/dist/server.mjs +1124 -342
- package/package.json +1 -1
package/dist/app/api-doc.yaml
CHANGED
|
@@ -5062,15 +5062,22 @@ components:
|
|
|
5062
5062
|
table unread (answered live, read again), never `incompatible`.
|
|
5063
5063
|
Both are non-terminal and never a plan-time refusal: a rebuild
|
|
5064
5064
|
fixes them, and a source with either counts as stale, so the next
|
|
5065
|
-
build rebuilds it in full.
|
|
5065
|
+
build rebuilds it in full. `upstream_unread` (bound, but withdrawn
|
|
5066
|
+
after a recompile, reload or publish failed, and the read of a
|
|
5067
|
+
warehouse table it was built from failed, then or at any read
|
|
5068
|
+
since, so whether that table changed is not known: answered live
|
|
5069
|
+
until a read of it succeeds and finds it unchanged, at the
|
|
5070
|
+
package's next manifest bind or rebind, or a reload plans it
|
|
5071
|
+
again; it judges nothing about the table and never counts it
|
|
5072
|
+
stale). Each names the generation it judged in
|
|
5066
5073
|
`table`, so a consumer drops a verdict about a table it has since
|
|
5067
5074
|
replaced. An open set.
|
|
5068
5075
|
table:
|
|
5069
5076
|
type: object
|
|
5070
5077
|
required: [physicalTableName]
|
|
5071
5078
|
description: >-
|
|
5072
|
-
With `contract_missing` or `
|
|
5073
|
-
the verdict judged, its `physicalTableName` and the `builtAt` its
|
|
5079
|
+
With `contract_missing`, `incompatible` or `upstream_unread`: the
|
|
5080
|
+
table generation the verdict judged, its `physicalTableName` and the `builtAt` its
|
|
5074
5081
|
entry carried (absent when the entry carried none).
|
|
5075
5082
|
properties:
|
|
5076
5083
|
physicalTableName:
|
|
@@ -5203,7 +5210,12 @@ components:
|
|
|
5203
5210
|
whole copy, the codes `publisher_served_copy_bind_total` counts,
|
|
5204
5211
|
most actionable first (for example `cross_connection_join` before
|
|
5205
5212
|
`fields_not_carried`): `cross_connection_join`,
|
|
5206
|
-
`cross_connection_unbuilt`, `
|
|
5213
|
+
`cross_connection_unbuilt`, `sql_embed_cross_connection` (a
|
|
5214
|
+
`.sql()` source reads it through `%{}` on another connection than
|
|
5215
|
+
its table is read on: a storage destination, or a managed
|
|
5216
|
+
catalog read through one), `sql_embed_bare` (a `.sql()`
|
|
5217
|
+
source embeds it bare, `%{ x }`, which its stored table cannot be
|
|
5218
|
+
embedded as), `inline_join_kept`,
|
|
5207
5219
|
`read_terms_not_kept`, `fields_not_carried`, `column_types`,
|
|
5208
5220
|
`classification_not_kept`, `pair_join_not_found`,
|
|
5209
5221
|
`pair_not_compiled`, `definition_not_parsed`, `compile_failed`,
|
|
@@ -5905,7 +5917,15 @@ components:
|
|
|
5905
5917
|
description: >-
|
|
5906
5918
|
A stable identifier for the finding's family, for a client that
|
|
5907
5919
|
acts on it rather than only showing it; absent for a family that
|
|
5908
|
-
has none yet. `
|
|
5920
|
+
has none yet. `render-tag`: a render annotation the
|
|
5921
|
+
renderer cannot apply as written, malformed for its field
|
|
5922
|
+
(`error`) or inert where it sits (`warn`); one per finding,
|
|
5923
|
+
`model` its file and `subject` the query or view it sits on.
|
|
5924
|
+
`render-tag-check-failed`: a model whose render-tag check did
|
|
5925
|
+
not finish (it could not be read, `error`, or the validator
|
|
5926
|
+
failed, `warn`), so its render-tag findings are unknown
|
|
5927
|
+
rather than clean; reported by a package-scope compile,
|
|
5928
|
+
one per model. `deprecated-malloynb-notebook`: a `.malloynb`
|
|
5909
5929
|
notebook, the deprecated cell format (one per file, `model`
|
|
5910
5930
|
naming it). `malloynb-cell-refused`: a `.malloynb` code cell
|
|
5911
5931
|
whose `run:` statement the query route refuses for every
|
|
@@ -6067,8 +6087,9 @@ components:
|
|
|
6067
6087
|
extension; `warn`).
|
|
6068
6088
|
`rollup-join-one-key-repeated`: a rollup's last build found
|
|
6069
6089
|
a `join_one` key repeated in the data, so queries that read
|
|
6070
|
-
that join beside other aggregates
|
|
6071
|
-
|
|
6090
|
+
that join beside other aggregates, or, for a `join_one` the
|
|
6091
|
+
rollup's grain reads, queries that read nothing through it,
|
|
6092
|
+
are answered live (`subject` the rollup's base; `warn`). Its former name,
|
|
6072
6093
|
`preaggregate-join-one-key-repeated`, is retained, no longer
|
|
6073
6094
|
produced.
|
|
6074
6095
|
`served-copy-not-served`: the served copy (the author's own
|
|
@@ -6080,8 +6101,10 @@ components:
|
|
|
6080
6101
|
`pair_join_not_found`, `pair_not_compiled`,
|
|
6081
6102
|
`fields_not_carried`, `read_terms_not_kept`,
|
|
6082
6103
|
`cross_connection_join`, `inline_join_kept`,
|
|
6083
|
-
`reroot_not_compiled`, `classification_not_kept
|
|
6084
|
-
|
|
6104
|
+
`reroot_not_compiled`, `classification_not_kept`,
|
|
6105
|
+
`sql_embed_cross_connection`, `sql_embed_bare`; an
|
|
6106
|
+
open set) (`subject` the
|
|
6107
|
+
source; `warn`).
|
|
6085
6108
|
`model-recompile-failed`: a model file that compiled before
|
|
6086
6109
|
did not compile when the package bound new tables, although
|
|
6087
6110
|
neither its text nor that of any file it imports changed
|
|
@@ -6139,8 +6162,9 @@ components:
|
|
|
6139
6162
|
`rollup-join-one-key-repeated`: a bound rollup whose last
|
|
6140
6163
|
build found the key of a `join_one` it reads repeated, so a
|
|
6141
6164
|
query reading that join beside other aggregates is answered
|
|
6142
|
-
live
|
|
6143
|
-
|
|
6165
|
+
live, or, for a `join_one` its grain reads, a query reading
|
|
6166
|
+
nothing through it; it clears once a build finds the key
|
|
6167
|
+
unique (one per rollup and key; `warn`). `preaggregate-join-one-key-repeated` is
|
|
6144
6168
|
retained, no longer produced: it is
|
|
6145
6169
|
`rollup-join-one-key-repeated` now.
|
|
6146
6170
|
`join-bypass`: an author join from a published source to one
|
|
@@ -10462,7 +10486,8 @@ components:
|
|
|
10462
10486
|
reload over every .malloy and .malloynb file, without swapping the
|
|
10463
10487
|
result into the served package; with a source, importers compile
|
|
10464
10488
|
against the replacement. It also reports the render-tag findings
|
|
10465
|
-
(code "render-tag"
|
|
10489
|
+
(code "render-tag", or "render-tag-check-failed" for a model whose
|
|
10490
|
+
check did not finish), the dashboard, given and drill findings
|
|
10466
10491
|
(code "dashboard-lint") and each .malloynb code cell the query
|
|
10467
10492
|
route would refuse (code "malloynb-cell-refused", at most 10 per
|
|
10468
10493
|
notebook and 50 per package, with the rest named in
|
package/dist/instrumentation.mjs
CHANGED
|
@@ -167085,7 +167085,7 @@ var init_telemetry = __esm(() => {
|
|
|
167085
167085
|
});
|
|
167086
167086
|
|
|
167087
167087
|
// package.json
|
|
167088
|
-
var version = "0.18.
|
|
167088
|
+
var version = "0.18.6";
|
|
167089
167089
|
var init_package = () => {};
|
|
167090
167090
|
|
|
167091
167091
|
// src/version.ts
|