@malloy-publisher/sdk 0.15.0 → 0.16.1
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/{RenderedResult-B2VzqpJV.cjs.js → RenderedResult-DTM9o4Ql.cjs.js} +1 -1
- package/dist/{RenderedResult-Ct3z543g.es.js → RenderedResult-vyM2wQbC.es.js} +2 -2
- package/dist/ServerProvider-DpOy4_Kf.cjs.js +1 -0
- package/dist/{ServerProvider-Be9eusDF.es.js → ServerProvider-lAZ5ZdQS.es.js} +171 -100
- package/dist/builder/index.cjs.js +1 -1
- package/dist/builder/index.es.js +3 -3
- package/dist/client/api.d.ts +95 -21
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +5 -5
- package/dist/{useCompiledDocument-CQG6VO-x.cjs.js → useCompiledDocument-2huaKTJN.cjs.js} +2 -2
- package/dist/{useCompiledDocument-CuSAYHX_.es.js → useCompiledDocument-CSXZufFO.es.js} +2 -2
- package/package.json +1 -1
- package/src/components/RenderedResult/RenderedResult.lifecycle.spec.tsx +15 -1
- package/dist/ServerProvider-DDr5VOVF.cjs.js +0 -1
package/dist/client/api.d.ts
CHANGED
|
@@ -739,7 +739,7 @@ export interface CreateMaterializationRequest {
|
|
|
739
739
|
*/
|
|
740
740
|
'buildInstructions'?: BuildInstructions | null;
|
|
741
741
|
/**
|
|
742
|
-
* Build a new table even when a source\'s sourceEntityId is unchanged — that is, defeat skip-if-unchanged, which would otherwise carry
|
|
742
|
+
* Build a new table even when a source\'s sourceEntityId is unchanged — that is, defeat skip-if-unchanged, which would otherwise carry an unchanged table forward and run no SQL for that source. Not every unchanged table is carried: one whose source refreshes incrementally, one past its declared freshness window, and one whose stored relation reads the current time (the plan entry\'s `asOfBuild`) are rebuilt on every run without this flag. It means ONLY that. It never re-seeds a source declaring `refresh=\"incremental\"`: such a source is exempt from skip-if-unchanged anyway (its content address does not move when its data does), so there is nothing here for the flag to change, and reading it as \"rebuild from scratch\" would make a forced run — which is every scheduled fire — a full rebuild that no delta could ever follow. Ask for a rebuild with `reseed`. Has no effect at all on an orchestrated build: the host decides what gets built by instructing it, so no carry-forward runs.
|
|
743
743
|
*/
|
|
744
744
|
'forceRefresh'?: boolean;
|
|
745
745
|
/**
|
|
@@ -1513,7 +1513,7 @@ export interface ManifestEntry {
|
|
|
1513
1513
|
*/
|
|
1514
1514
|
'queryCostBytes'?: number | null;
|
|
1515
1515
|
/**
|
|
1516
|
-
* For a source that reads another persisted source, how this table\'s rows were computed from it. `reused`: every persisted upstream was read from its already-materialized table, so the rows are a function of those snapshots and consistent with them. `recomputed`: at least one persisted upstream was recomputed from its definition and inlined into this build, because its table could not be read -- on either tier, an upstream this build neither materialized nor was handed by reference; for a database build, an upstream that landed in a `storage=` destination; for a `storage=` build, a source that reaches the warehouse through a non-persisted source, or whose shape does not compile in the destination. `upstreamRecomputeReason` says which. Such a table reflects the warehouse at THIS build\'s time rather than the upstream\'s snapshot, so the two can disagree when their refresh cadences differ. Not a location: it does not name the table the rows came from. Absent for a source that reads no persisted upstream, which has one way to build and no choice to report.
|
|
1516
|
+
* For a source that reads another persisted source, how this table\'s rows were computed from it. `reused`: every persisted upstream was read from its already-materialized table, so the rows are a function of those snapshots and consistent with them. `recomputed`: at least one persisted upstream was recomputed from its definition and inlined into this build, because its table could not be read -- on either tier, an upstream this build neither materialized nor was handed by reference; for a database build, an upstream that landed in a `storage=` destination; for a `storage=` build, a source that reaches the warehouse through a non-persisted source, or whose shape does not compile in the destination. `upstreamRecomputeReason` says which. Such a table reflects the warehouse at THIS build\'s time rather than the upstream\'s snapshot, so the two can disagree when their refresh cadences differ. Not a location: it does not name the table the rows came from. Absent for a source that reads no persisted upstream, which has one way to build and no choice to report. A database rollup reports what its build actually read: `reused` only when it built from its base\'s materialized table, and absent when it built from the warehouse, even over a persisted base. Before 0.15.0 every rollup over a persisted base reported `reused`. A `storage=` rollup reports `reused` only when it stacked on a stored table.
|
|
1517
1517
|
*/
|
|
1518
1518
|
'upstreamReuse'?: ManifestEntryUpstreamReuseEnum;
|
|
1519
1519
|
/**
|
|
@@ -1540,6 +1540,7 @@ export interface ManifestEntry {
|
|
|
1540
1540
|
* What this run\'s refresh DID to the table, for a source declaring `refresh=\"incremental\"`: advanced it in place by a bounded range (`delta`), rebuilt it (`full`), or applied nothing because the watermark had not moved (`none`, which leaves the boundary in `ledger` in force). Reported because it cannot be inferred: every fallback the publisher applies — no recorded boundary, a table the delta path cannot build on, `reseed` — answers success and rebuilds, so a source quietly rebuilding on every run is otherwise indistinguishable from one advancing. Present exactly when the source is refreshed incrementally, so absent means only that it is not: a source declaring `refresh=\"full\"`, or one whose declaration the delta path cannot act on at all (an unsupported source dialect), which the publish gate rejects anyway.
|
|
1541
1541
|
*/
|
|
1542
1542
|
'refresh'?: ManifestEntryRefreshEnum;
|
|
1543
|
+
'lateRows'?: ManifestEntryLateRows;
|
|
1543
1544
|
}
|
|
1544
1545
|
export declare const ManifestEntryOriginEnum: {
|
|
1545
1546
|
readonly Persist: "persist";
|
|
@@ -1567,6 +1568,23 @@ export declare const ManifestEntryRefreshEnum: {
|
|
|
1567
1568
|
readonly None: "none";
|
|
1568
1569
|
};
|
|
1569
1570
|
export type ManifestEntryRefreshEnum = typeof ManifestEntryRefreshEnum[keyof typeof ManifestEntryRefreshEnum];
|
|
1571
|
+
/**
|
|
1572
|
+
* For a source this run advanced by a delta (`refresh` is `delta`): rows the source holds below where the delta started reading that the stored table lacks. A delta reads from the newest watermark the table holds (less the source\'s `lookback=`), so a row stamped below that, landing after the rows above it were stored, is never read, and the table undercounts it until it is rebuilt. The check reads one window directly below the delta\'s start, as wide as the delta\'s own range, so it finds a row stamped within that window and not one older. With `merge_key=` a source row counts when no stored row has its keys and its watermark (a skipped restatement counts too); without one, it is the source\'s rows in the window less the table\'s. The window is capped, for a date or timestamp watermark, at seven days or the source\'s `lookback=`, whichever is longer. Carried until the source is rebuilt in full: a later delta or skip reports what earlier ones found (read from the manifest bound when it runs), with its own findings added to `count` and `to` moved up, and a slice is checked once, so a row is counted once, so `count` is a lower bound: a row that lands in a slice already checked is not counted. It stays until a full rebuild, even after a widened `lookback=` has written the rows. `from` is where the first such window started. Absent when nothing was found since the last full rebuild. The check is best-effort, and not run for a pair table, a string watermark or a `storage=` source on BigQuery: it gives up after 60 seconds, stopping its statement, and one that fails is logged and leaves what was carried. While the run\'s manifest is bound, the package also warns with code `persist-incremental-late-rows`.
|
|
1573
|
+
*/
|
|
1574
|
+
export interface ManifestEntryLateRows {
|
|
1575
|
+
/**
|
|
1576
|
+
* Source rows in the window the stored table lacks.
|
|
1577
|
+
*/
|
|
1578
|
+
'count': number;
|
|
1579
|
+
/**
|
|
1580
|
+
* Where the window starts (inclusive), as the watermark\'s value: ISO-8601 for a date or timestamp, decimal text for a number.
|
|
1581
|
+
*/
|
|
1582
|
+
'from': string;
|
|
1583
|
+
/**
|
|
1584
|
+
* Where it ends (exclusive): the delta\'s lower bound, spelled as `from` is.
|
|
1585
|
+
*/
|
|
1586
|
+
'to': string;
|
|
1587
|
+
}
|
|
1570
1588
|
/**
|
|
1571
1589
|
* A reference to an already-materialized persist upstream that the built sources may read but which is not rebuilt in this run.
|
|
1572
1590
|
*/
|
|
@@ -1747,7 +1765,7 @@ export interface ModelError {
|
|
|
1747
1765
|
*/
|
|
1748
1766
|
'refusalReason'?: string;
|
|
1749
1767
|
/**
|
|
1750
|
-
* Machine-readable discriminator, for callers that must branch on which error they got rather than on prose. Absent unless a caller is expected to act on it, so treat absence as \"no special handling\". TABLE_NOT_FOUND distinguishes a table that is not in the database from the other conditions that also answer 404 on these routes -- an environment or connection this server does not host. The former says nothing about whether the caller reached the right server; the latter is a routing problem worth retrying elsewhere. CONNECTION_FAILED, on a 502, means the database could not be reached (the connection was refused, reset or timed out, or the server closed it), so the query never ran. The query and the model are fine; retrying elsewhere will not help, and neither will rewriting the query. CONNECTION_AUTH_FAILED, on a 424, means the database rejected the connection\'s credentials (a wrong password, an invalid key, an expired token), so the query never ran. Whoever configures the connection has to fix it; retrying fails the same way. CONNECTION_NOT_FOUND, on a 424, means the model names a connection the environment does not have, usually one deleted after the package was loaded. STORAGE_ACCESS_DENIED, on a 403, means an object store refused the database\'s read under a data path the environment configures (a DuckLake catalog\'s, a storage destination\'s): the query and the model are fine, and whoever configures the database\'s storage credentials has to fix it. PATH_ACCESS_DENIED, on a 403, means the object store at a path the query or the model reads itself (a file or table URL) refused access: change the path, or get the caller a grant to it. Retrying either fails the same way. The body names the source or connection the caller read and no storage path. ACCESS_DENIED, on a 403, means a gate (`#(authorize)` or `#(access_filter)`) refused the caller. Every gate 403 carries it, including a gate that could not be decided, which fails closed and answers the same: only the server\'s metrics and log tell those apart. A 403 with any other reason is not a gate\'s. MATERIALIZATION_REFUSED
|
|
1768
|
+
* Machine-readable discriminator, for callers that must branch on which error they got rather than on prose. Absent unless a caller is expected to act on it, so treat absence as \"no special handling\". TABLE_NOT_FOUND distinguishes a table that is not in the database from the other conditions that also answer 404 on these routes -- an environment or connection this server does not host. The former says nothing about whether the caller reached the right server; the latter is a routing problem worth retrying elsewhere. CONNECTION_FAILED, on a 502, means the database could not be reached (the connection was refused, reset or timed out, or the server closed it), so the query never ran. The query and the model are fine; retrying elsewhere will not help, and neither will rewriting the query. CONNECTION_AUTH_FAILED, on a 424, means the database rejected the connection\'s credentials (a wrong password, an invalid key, an expired token), so the query never ran. Whoever configures the connection has to fix it; retrying fails the same way. CONNECTION_NOT_FOUND, on a 424, means the model names a connection the environment does not have, usually one deleted after the package was loaded. STORAGE_ACCESS_DENIED, on a 403, means an object store refused the database\'s read under a data path the environment configures (a DuckLake catalog\'s, a storage destination\'s): the query and the model are fine, and whoever configures the database\'s storage credentials has to fix it. PATH_ACCESS_DENIED, on a 403, means the object store at a path the query or the model reads itself (a file or table URL) refused access: change the path, or get the caller a grant to it. Retrying either fails the same way. The body names the source or connection the caller read and no storage path. ACCESS_DENIED, on a 403, means a gate (`#(authorize)` or `#(access_filter)`) refused the caller. Every gate 403 carries it, including a gate that could not be decided, which fails closed and answers the same: only the server\'s metrics and log tell those apart. A 403 with any other reason is not a gate\'s. MATERIALIZATION_REFUSED means a valid materialization declaration this server will not build, and the body\'s `refusalReason` is the refusal\'s `RefusedSource.reason`. Reserved: no route answers with it today. The eligibility gate runs inside a materialization run, after `POST …/materializations` has answered 201, so a refusal is recorded on the run instead: as a `SourceFailure` with `refused` and `refusalReason` on a run with `buildInstructions`, otherwise in the run\'s `metadata.refusedSources`, or its `error` when nothing else was left to build. TABLE_OWNED_ELSEWHERE and TABLE_OWNERSHIP_UNVERIFIED, on a 400, mean a build was refused before it wrote because its `name=` is held by a table this package does not own, or because who holds it could not be read. On a 409 from dropping a materialized table (`drop-materialized-table`), they mean the drop was refused for the same reasons: the table is another\'s, or nothing proves it is this package\'s. TABLE_IN_USE, on a 409 from dropping a materialized table, means the table may still be read: a committed run of the package, of any version, names a table with that name (other than the run the caller named, unless that run is the one a version or the package serves); a loaded copy of any package in the environment, or any loaded version of one, is bound to a table with that name; or the warehouse refused the drop because other objects depend on the table. Delete or replace that run, rebind that copy, or drop those objects first. BUILD_INSTRUCTIONS_INVALID, on a 400 from creating a materialization, means its body or build instructions are not a run this package can take (a field of the wrong shape, an unknown source, a table named twice, a ledger entry that does not fit); the message names which. Retrying unchanged fails the same way. MATERIALIZATION_CONFLICT, on a 409, means a materialization run conflicts with another run or with the package\'s binding. Two of its cases clear on their own, so retry later: a run already active for the package, and a table another run is writing. Two do not clear until something changes, so a retry fails the same way: an auto-run of a package or version a host manifest serves (pass `buildInstructions`, or clear the binding), and a run of a version that is not latest touching the tables a `scope: package` package\'s versions share (name tables of its own in `buildInstructions`). The message says which. Deliberately an open string rather than an enum. Generators render an enum closed, so adding a second value here would break every client generated before it -- on the one field whose purpose is to grow. Callers must treat an unrecognized value as absent. The package-version values let a caller tell \"forgot to bump the version\" from \"the model is broken\", which share a status code: * MANIFEST_VERSION_MISSING (400): with package versioning on, a publish whose publisher.json has no `version`. * MANIFEST_VERSION_INVALID (400): such a publish whose `version` is not a semantic version. * VERSION_CONFLICT (409): that version is already published with different content. * PACKAGE_IS_VERSIONED (409): the package has published versions, so it cannot be changed in place (a write, or a publish with package versioning off). * PACKAGE_INSTALLED_FROM_LOCATION (409): the package is fetched again from a `location` on reload, which would discard a report write or a package update\'s change to its settings. * FILE_EXISTS (409): a report write with no `expectedHash` (a create) found a file already at the path; another path may be free. A stale `expectedHash` answers 409 with no `reason`. * VERSION_IS_LATEST (409): the package\'s `latest` version cannot be archived, or deleted while other versions remain. * VERSION_IS_LAST_ACTIVE (409): the package\'s last version in service cannot be archived, or deleted while archived versions remain. * VERSION_BUILDING (409): a materialization of the version is running, so it cannot be archived or deleted yet. * VERSION_ID_INVALID (400): a requested `versionId` is not a semantic version. * VERSION_NOT_LATEST (400): an auto-run of a version other than `latest`, in a package whose versions share their tables. A package with no `latest` yet refuses none. * VERSION_NOT_FOUND (404): the package has no such version. * VERSION_ARCHIVED (410): the version is archived. Known values: TABLE_NOT_FOUND, CONNECTION_FAILED, CONNECTION_AUTH_FAILED, CONNECTION_NOT_FOUND, STORAGE_ACCESS_DENIED, PATH_ACCESS_DENIED, ACCESS_DENIED, MATERIALIZATION_REFUSED, TABLE_OWNED_ELSEWHERE, TABLE_OWNERSHIP_UNVERIFIED, TABLE_IN_USE, BUILD_INSTRUCTIONS_INVALID, MATERIALIZATION_CONFLICT, MANIFEST_VERSION_MISSING, MANIFEST_VERSION_INVALID, VERSION_CONFLICT, PACKAGE_IS_VERSIONED, PACKAGE_INSTALLED_FROM_LOCATION, FILE_EXISTS, VERSION_IS_LATEST, VERSION_IS_LAST_ACTIVE, VERSION_BUILDING, VERSION_ID_INVALID, VERSION_NOT_LATEST, VERSION_NOT_FOUND, VERSION_ARCHIVED.
|
|
1751
1769
|
*/
|
|
1752
1770
|
'reason'?: string;
|
|
1753
1771
|
/**
|
|
@@ -2695,7 +2713,7 @@ export interface PackageWarningsInner {
|
|
|
2695
2713
|
*/
|
|
2696
2714
|
'message'?: string;
|
|
2697
2715
|
/**
|
|
2698
|
-
* A stable identifier for the finding\'s family, for a client that acts on it rather than only showing it; absent for a family that has none yet. `deprecated-malloynb-notebook`: a `.malloynb` notebook, the deprecated cell format (one per file, `model` naming it). `deprecated-filter-annotation`: a source declaring deprecated `#(filter)` annotations (one per declaring source, `model` naming its file and `subject` the source). `deprecated-preaggregate-annotation`: a measure declaring `#@ preaggregate` or the deprecated alias `#(preaggregate)`, whose v2 spelling is `#(rollup)`; the message names the spelling it found (one per measure, `model` its file, `subject` the source and the message the measure; `warn`; only while `PUBLISHER_MATERIALIZE` is on). `deprecated-rollup-namespace`: a rollup line placed with `namespace=`, the deprecated spelling of its `name=` container; still read, in that container under the readable name (one per measure and container, `subject` `<base>.<measure>`; `warn`). `report-name-ambiguous`: two or more grid reports share a basename, so the deprecated `GET …/dashboards/{name}` route answers 409 for it (one per name, `subject` naming it and the message every path; `warn`). `classification-coverage`: a published source with a dimension or measure that carries no `#(classification)` while some field in the package does (one per source, `model` naming its file and `subject` the source; `warn`; see docs/classification.md). `classification-malformed`: a `#(classification)` annotation that names no single class (one per field, `subject` the source; `warn`). `classification-downgrade`: a field that declares a lower class than the fields its expression reads, which Publisher cannot tell from a real de-identification, so a review has to (one per field, `subject` the source; `warn`; a plain copy under `#(carries)` refuses the load instead). Materialization codes follow one rule: the suffix tells the outcome. An INVALID annotation (or invalid code it covers) fails the publish and the load, on every path, so its code appears only in the load failure\'s message (the publish 4xx and `loadErrors`), never as a warning here: `persist-invalid`, `materialize-invalid`, `rollup-invalid`, `persist-view-invalid` and `persist-query-invalid` (a bad value or contradictory combination: a `storage=` that names nothing, an `@env.` reference, an unusable, unsafe, unquoted or reserved `name=`, an `inline=` that names no join, an incremental key or `refresh=\"incremental\"` on a view or query); `persist-unknown-key`, `materialize-unknown-key` and `rollup-unknown-key` (every route\'s key set is closed, a `freshness.` group\'s included); `persist-retired-key` and `materialize-retired-key` (`sharing=`, `schedule=`, `partition=`, and on `#@ persist` `realization=`); `persist-unparseable`, `materialize-unparseable`, `rollup-unparseable`, `persist-view-unparseable` and `persist-query-unparseable`; `persist-not-materializable` (a `#@ persist` on a shape Malloy does not plan); `rollup-not-a-measure`, `rollup-unknown-grain` and `rollup-not-mergeable` (a rollup line on a field that is not a measure, a grain naming no dimension, a measure no rollup can merge); `materialization-table-collision` (two sources whose `name=` puts them on one table; under `PERSIST_COLLISION_ENFORCE=false` a refusal instead); and `materialization-near-miss` (a misspelled materialization route or directive, such as `#(materialise)` or `#@ persits`). `preaggregate-malformed` is retained and no longer produced: it is `rollup-invalid` or `rollup-unparseable` now. Retained, no longer produced: `preaggregate-invalid`, `preaggregate-unknown-key`, `preaggregate-unparseable`, `preaggregate-not-a-measure`, `preaggregate-unknown-grain` and `preaggregate-not-mergeable`, now `rollup-invalid`, `rollup-unknown-key`, `rollup-unparseable`, `rollup-not-a-measure`, `rollup-unknown-grain` and `rollup-not-mergeable`. A measure or source that carries both `#(rollup)` and `#(preaggregate)` is `rollup-invalid`. A VALID annotation Publisher cannot build here is refused alone, answered live, while the package loads, and is severity `warn`, never `error`. Every one is a `BuildPlan.refusedSources` entry with a bounded `reason`, and its warning\'s code names the mechanism: `persist-not-built` (a `#@ persist` source; `subject` the source), `materialize-not-built` (a `#(materialize)` source; `subject` the source), `persist-view-not-built` and `persist-query-not-built` (a persisted view or named query; `subject` the view or query), and `rollup-not-built` (a `#(rollup)` or `#@ preaggregate` rollup; `subject` the base, or `<base>.<measure>` for one measure). The message says why, and `reason` is the refusal record\'s bounded reason. `preaggregate-not-built` is `rollup-not-built`\'s former name: each `rollup-not-built` warning is repeated under it, with the same message, for this release only. `persist-source-refused`, the former name of `persist-not-built` repeated beside it in 0.14.0, is no longer produced. Retained, no longer produced: the rollup sub-family `preaggregate-hidden-field`, `-access-filter`, `-time-zone`, `-current-time`, `-reads-given`, `-unreadable-measure`, `-join-level` and `-name-clash`, now each `rollup-not-built` with the reasons `hidden_field`, `access_filter` (or `authorize`), `time_zone`, `current_time`, `reads_given`, `inherited_where_with_given` or `given_where_over_unstored_field`, `unreadable_measure`, `join_not_in_grain` and `partial_name_collision`. `materialization-storage-mode`: a `storage=` source the deployment\'s `PERSIST_STORAGE_MODE` (`off` or `write-only`) does not serve from storage (`subject` the source, or a rollup\'s base; `reason` `storage_mode`; `warn`). `materialization-unreachable`, `materialization-destination-missing` and `materialization-connection-cannot-hold-table`: a source whose serve verdict is `live` for the reason each names (no published source reaches it; its `storage=` destination is not configured; its connection creates no tables), with the verdict\'s `message` and `fixes` (`subject` the source; `reason` the verdict\'s; `warn`). `materialize-pair-full-refresh`: a `#(materialize)` pair table (an inlined `join_many`) whose `refresh=\"incremental\"` is not honoured: it is rebuilt in full on every refresh, and served (`subject` the source; `warn`). `rollup-join-one-key-repeated`: a rollup\'s last build found a `join_one` key repeated in the data, so queries that read that join beside other aggregates are answered live (`subject` the rollup\'s base; `warn`). Repeated under its former name `preaggregate-join-one-key-repeated` for this release only. `served-copy-not-served`: the served copy (the author\'s own files, each stored source re-rooted on its table) leaves a source as written, so it answers live, or serves it with a join read as written or left out; `reason` names why (`compile_failed`, `cross_connection_unbuilt`, `column_types`, `no_declaration`, `definition_not_parsed`, `pair_join_not_found`, `pair_not_compiled`, `fields_not_carried`, `read_terms_not_kept`, `cross_connection_join`, `inline_join_kept`, `reroot_not_compiled`, `classification_not_kept`; an open set) (`subject` the source; `warn`). `row-level-gate-unexpressible`: a row-level gate an entry point inherits, whose field it no longer carries, so that entry point denies every request; `row-level-gate-reads-no-given`: a source-line gate that reads no given, a fixed predicate rather than an access rule keyed on the caller; `row-level-gate-negated-membership`: a source-line gate that negates a membership test, which an empty given turns into match-all, or that is too deep to check for one (its message then says it is too deep to check, not that it negates one) (`model` the entry point\'s file, `subject` the entry point; `warn`; the model still loads). `annotation-near-miss` and `annotation-malformed-route`: an annotation whose route or directive looks like a misspelled one Publisher reads (`warn`); `annotation-gate-near-miss`: a misspelled gate annotation (`#(authorise)`), which `compile_model` refuses. `persist-incremental-no-merge-key`: an incremental source with no `merge_key=`, so each refresh replaces its watermark range (`subject` the source; `warn`). `persist-incremental-shared-address`: sources that compile to the same SQL on one connection, so they share one table and one boundary, where at least one is incremental (one per source; `warn`). `rollup-join-one-key-repeated`: a bound rollup whose last build found the key of a `join_one` it reads repeated, so a query reading that join beside other aggregates is answered live; it clears once a build finds the key unique (one per rollup; `warn`). `preaggregate-join-one-key-repeated` is retained, no longer produced: it is `rollup-join-one-key-repeated` now. `join-bypass`: an author join from a published source to one with a stricter gate, which the join does not carry (one per join, or one for a walk cut short at the join bound; always a `warn`, never a load refusal; see docs/authorize.md). `storage-column-type-mismatch`: a `storage=` table of any kind (`#@ persist`, `#(materialize)`, a rollup, a persisted view or query) stores a column as a type other than the one its build declares. It is read through a cast to the declared type where that is faithful, and otherwise answered live, never read as its stored type (one per source and column, `model` the model declaring it, `subject` the source, a rollup\'s base, or a view\'s or query\'s build source, the message naming the column, both types and which applies; `warn`; see docs/materialization.md). `database-column-type-mismatch`: a bound table in a source\'s own database whose column was altered, or dropped, outside a build, so it no longer stores the declared type; it is read through a cast where that is faithful, and otherwise answered live, until the table is rebuilt (one per source and column, `subject` the source; `warn`). `table-kept`: a table an auto-run replaced when its source\'s table was renamed or moved, which Publisher keeps rather than drops: one at an author\'s exact `name=` (never dropped), one in a storage destination that is no longer configured (which, when the destination was renamed rather than removed, may be the table served under the new name), or one a `storage=` or tier move left under the name the source is served under now (which may be the very table served, so it is never dropped). Listed on the newest run\'s `metadata.keptTables` until no committed run names it in its place (its runs deleted; a delete is record-only), a run finds it dropped by hand (never on Snowflake or MySQL, whose catalogs hide tables), or its name is used again in its own place (one per table, `model` the model declaring the source, `subject` the source or a rollup\'s base, the message naming the table and where it is, `reason` the kept table\'s `author_name`, `destination_missing` or `may_be_served`; `warn`; see docs/materialization.md). `database-table-unread`: a bound table in a source\'s own database whose columns could not be read when it was bound (missing, unreadable, slower than the read\'s bound, or named in more than one schema), so its queries are answered live until a read succeeds; the message names the table or rollup, one fixed reason (its connection could not be opened, the catalog read timed out, the catalog query failed, not found, a name matching more than one table, a name the catalog cannot read; never the driver\'s text) and whether a retry is pending, and the warning clears once the table is read (only for a table a source of the package reads; one per table, `model` the model declaring its source, `subject` the source, or a rollup\'s base, when the plan knows the table; `reason` one of `connection_failed`, `timed_out`, `catalog_query_failed`, `not_found`, `ambiguous`, `unparseable`, `not_read`; `warn`; see docs/materialization.md). `database-native-type-missing`: a database table is bound with no captured warehouse type (its manifest entry\'s `nativeSchema`) for a column whose field Malloy types as a big integer. On BigQuery the column is read as `INT64`, its only integer type, and still serves; on any other dialect it is left out, so a query that reads it is answered live. The next full rebuild captures the types (one per source, `model` the first model binding it, `subject` the source, the message naming the columns and which applies; `warn`; see docs/materialization.md). Repeated under its former name `stored-native-schema-missing` for this release only. `entities-…` (`entities-not-a-dimension`, `entities-parameterized-source`, `entities-multiple-required-filters`, `entities-sharing-not-allowed-on-dimension`, `entities-schedule-not-allowed-on-dimension`, `entities-required-filter-missing-dimension`, `entities-required-filter-non-public-dimension`): an `#(index)` or required `#(filter)` an index cannot honor, left out of `GET …/entities` (`model` its file; `warn`). The per-file report findings (`notebook-…`, `report-…`) and the report curation findings (`report-on-surface`, `index-is-not-a-report`). The message wording may change; the code does not.
|
|
2716
|
+
* A stable identifier for the finding\'s family, for a client that acts on it rather than only showing it; absent for a family that has none yet. `deprecated-malloynb-notebook`: a `.malloynb` notebook, the deprecated cell format (one per file, `model` naming it). `deprecated-filter-annotation`: a source declaring deprecated `#(filter)` annotations (one per declaring source, `model` naming its file and `subject` the source). `deprecated-preaggregate-annotation`: a measure declaring `#@ preaggregate` or the deprecated alias `#(preaggregate)`, whose v2 spelling is `#(rollup)`; the message names the spelling it found (one per measure, `model` its file, `subject` the source and the message the measure; `warn`; only while `PUBLISHER_MATERIALIZE` is on). `deprecated-rollup-namespace`: a rollup line placed with `namespace=`, the deprecated spelling of its `name=` container; still read, in that container under the readable name (one per measure and container, `subject` `<base>.<measure>`; `warn`). `report-name-ambiguous`: two or more grid reports share a basename, so the deprecated `GET …/dashboards/{name}` route answers 409 for it (one per name, `subject` naming it and the message every path; `warn`). `classification-coverage`: a published source with a dimension or measure that carries no `#(classification)` while some field in the package does (one per source, `model` naming its file and `subject` the source; `warn`; see docs/classification.md). `classification-malformed`: a `#(classification)` annotation that names no single class (one per field, `subject` the source; `warn`). `classification-downgrade`: a field that declares a lower class than the fields its expression reads, which Publisher cannot tell from a real de-identification, so a review has to (one per field, `subject` the source; `warn`; a plain copy under `#(carries)` refuses the load instead). Materialization codes follow one rule: the suffix tells the outcome. An INVALID annotation (or invalid code it covers) fails the publish and the load, on every path, so its code appears only in the load failure\'s message (the publish 4xx and `loadErrors`), never as a warning here: `persist-invalid`, `materialize-invalid`, `rollup-invalid`, `persist-view-invalid` and `persist-query-invalid` (a bad value or contradictory combination: a `storage=` that names nothing, an `@env.` reference, an unusable, unsafe, unquoted or reserved `name=`, an `inline=` that names no join, an incremental key or `refresh=\"incremental\"` on a view or query); `persist-unknown-key`, `materialize-unknown-key` and `rollup-unknown-key` (every route\'s key set is closed, a `freshness.` group\'s included); `persist-retired-key` and `materialize-retired-key` (`sharing=`, `schedule=`, `partition=`, and on `#@ persist` `realization=`); `persist-unparseable`, `materialize-unparseable`, `rollup-unparseable`, `persist-view-unparseable` and `persist-query-unparseable`; `persist-not-materializable` (a `#@ persist` on a shape Malloy does not plan); `rollup-not-a-measure`, `rollup-unknown-grain` and `rollup-not-mergeable` (a rollup line on a field that is not a measure, a grain naming no dimension, a measure no rollup can merge); `materialization-table-collision` (two sources whose `name=` puts them on one table; under `PERSIST_COLLISION_ENFORCE=false` a refusal instead); and `materialization-near-miss` (a misspelled materialization route or directive, such as `#(materialise)` or `#@ persits`). `preaggregate-malformed` is retained and no longer produced: it is `rollup-invalid` or `rollup-unparseable` now. Retained, no longer produced: `preaggregate-invalid`, `preaggregate-unknown-key`, `preaggregate-unparseable`, `preaggregate-not-a-measure`, `preaggregate-unknown-grain` and `preaggregate-not-mergeable`, now `rollup-invalid`, `rollup-unknown-key`, `rollup-unparseable`, `rollup-not-a-measure`, `rollup-unknown-grain` and `rollup-not-mergeable`. A measure or source that carries both `#(rollup)` and `#(preaggregate)` is `rollup-invalid`. A VALID annotation Publisher cannot build here is refused alone, answered live, while the package loads, and is severity `warn`, never `error`. Every one is a `BuildPlan.refusedSources` entry with a bounded `reason`, and its warning\'s code names the mechanism: `persist-not-built` (a `#@ persist` source; `subject` the source), `materialize-not-built` (a `#(materialize)` source; `subject` the source), `persist-view-not-built` and `persist-query-not-built` (a persisted view or named query; `subject` the view or query), and `rollup-not-built` (a `#(rollup)` or `#@ preaggregate` rollup; `subject` the base, or `<base>.<measure>` for one measure). The message says why, and `reason` is the refusal record\'s bounded reason. `preaggregate-not-built` is `rollup-not-built`\'s former name: each `rollup-not-built` warning is repeated under it, with the same message, for this release only. `persist-source-refused`, the former name of `persist-not-built` repeated beside it in 0.14.0, is no longer produced. Retained, no longer produced: the rollup sub-family `preaggregate-hidden-field`, `-access-filter`, `-time-zone`, `-current-time`, `-reads-given`, `-unreadable-measure`, `-join-level` and `-name-clash`, now each `rollup-not-built` with the reasons `hidden_field`, `access_filter` (or `authorize`), `time_zone`, `current_time`, `reads_given`, `inherited_where_with_given` or `given_where_over_unstored_field`, `unreadable_measure`, `join_not_in_grain` and `partial_name_collision`. `materialization-storage-mode`: a `storage=` source the deployment\'s `PERSIST_STORAGE_MODE` (`off` or `write-only`) does not serve from storage (`subject` the source, or a rollup\'s base; `reason` `storage_mode`; `warn`). `materialization-unreachable`, `materialization-destination-missing` and `materialization-connection-cannot-hold-table`: a source whose serve verdict is `live` for the reason each names (no published source reaches it; its `storage=` destination is not configured; its connection creates no tables), with the verdict\'s `message` and `fixes` (`subject` the source; `reason` the verdict\'s; `warn`). `materialize-pair-full-refresh`: a `#(materialize)` pair table (an inlined `join_many`) whose `refresh=\"incremental\"` is not honoured: it is rebuilt in full on every refresh, and served (`subject` the source; `warn`). `rollup-join-one-key-repeated`: a rollup\'s last build found a `join_one` key repeated in the data, so queries that read that join beside other aggregates are answered live (`subject` the rollup\'s base; `warn`). Repeated under its former name `preaggregate-join-one-key-repeated` for this release only. `served-copy-not-served`: the served copy (the author\'s own files, each stored source re-rooted on its table) leaves a source as written, so it answers live, or serves it with a join read as written or left out; `reason` names why (`compile_failed`, `cross_connection_unbuilt`, `column_types`, `no_declaration`, `definition_not_parsed`, `pair_join_not_found`, `pair_not_compiled`, `fields_not_carried`, `read_terms_not_kept`, `cross_connection_join`, `inline_join_kept`, `reroot_not_compiled`, `classification_not_kept`; an open set) (`subject` the source; `warn`). `row-level-gate-unexpressible`: a row-level gate an entry point inherits, whose field it no longer carries, so that entry point denies every request; `row-level-gate-reads-no-given`: a source-line gate that reads no given, a fixed predicate rather than an access rule keyed on the caller; `row-level-gate-negated-membership`: a source-line gate that negates a membership test, which an empty given turns into match-all, or that is too deep to check for one (its message then says it is too deep to check, not that it negates one) (`model` the entry point\'s file, `subject` the entry point; `warn`; the model still loads). `annotation-near-miss` and `annotation-malformed-route`: an annotation whose route or directive looks like a misspelled one Publisher reads (`warn`); `annotation-gate-near-miss`: a misspelled gate annotation (`#(authorise)`), which `compile_model` refuses. `persist-incremental-no-merge-key`: an incremental source with no `merge_key=`, so each refresh replaces its watermark range (`subject` the source; `warn`). `persist-reads-current-time`: a `#@ persist` source, persisted view or persisted named query whose stored relation reads the current time (`now`, or a relative time filter string such as `f\'last 7 days\'`), so its answers are as of its last build and it is rebuilt on every run; the message names where it reads the clock and how to answer as of each query instead (one per table, `subject` the source, the view as `<source> -> <view>`, or the query; `warn`). `persist-incremental-shared-address`: sources that compile to the same SQL on one connection, so they share one table and one boundary, where at least one is incremental (one per source; `warn`). `persist-incremental-late-rows`: an incremental source whose bound table a delta\'s late-row check found missing rows stamped just below where a delta started reading, which no later delta reads (its manifest entry\'s `lateRows`); it is carried until the source is rebuilt in full (one per source; `warn`). `rollup-join-one-key-repeated`: a bound rollup whose last build found the key of a `join_one` it reads repeated, so a query reading that join beside other aggregates is answered live; it clears once a build finds the key unique (one per rollup; `warn`). `preaggregate-join-one-key-repeated` is retained, no longer produced: it is `rollup-join-one-key-repeated` now. `join-bypass`: an author join from a published source to one with a stricter gate, which the join does not carry (one per join, or one for a walk cut short at the join bound; always a `warn`, never a load refusal; see docs/authorize.md). `storage-column-type-mismatch`: a `storage=` table of any kind (`#@ persist`, `#(materialize)`, a rollup, a persisted view or query) stores a column as a type other than the one its build declares. It is read through a cast to the declared type where that is faithful, and otherwise answered live, never read as its stored type (one per source and column, `model` the model declaring it, `subject` the source, a rollup\'s base, or a view\'s or query\'s build source, the message naming the column, both types and which applies; `warn`; see docs/materialization.md). `database-column-type-mismatch`: a bound table in a source\'s own database whose column was altered, or dropped, outside a build, so it no longer stores the declared type; it is read through a cast where that is faithful, and otherwise answered live, until the table is rebuilt (one per source and column, `subject` the source; `warn`). `table-kept`: a table an auto-run replaced when its source\'s table was renamed or moved, which Publisher keeps rather than drops: one at an author\'s exact `name=` (never dropped), one in a storage destination that is no longer configured (which, when the destination was renamed rather than removed, may be the table served under the new name), or one a `storage=` or tier move left under the name the source is served under now (which may be the very table served, so it is never dropped). Listed on the newest run\'s `metadata.keptTables` until no committed run names it in its place (its runs deleted; a delete is record-only), a run finds it dropped by hand (never on Snowflake or MySQL, whose catalogs hide tables), or its name is used again in its own place (one per table, `model` the model declaring the source, `subject` the source or a rollup\'s base, the message naming the table and where it is, `reason` the kept table\'s `author_name`, `destination_missing` or `may_be_served`; `warn`; see docs/materialization.md). `database-table-unread`: a bound table in a source\'s own database whose columns could not be read when it was bound (missing, unreadable, slower than the read\'s bound, or named in more than one schema), so its queries are answered live until a read succeeds; the message names the table or rollup, one fixed reason (its connection could not be opened, the catalog read timed out, the catalog query failed, not found, a name matching more than one table, a name the catalog cannot read; never the driver\'s text) and whether a retry is pending, and the warning clears once the table is read (only for a table a source of the package reads; one per table, `model` the model declaring its source, `subject` the source, or a rollup\'s base, when the plan knows the table; `reason` one of `connection_failed`, `timed_out`, `catalog_query_failed`, `not_found`, `ambiguous`, `unparseable`, `not_read`; `warn`; see docs/materialization.md). `database-native-type-missing`: a database table is bound with no captured warehouse type (its manifest entry\'s `nativeSchema`) for a column whose field Malloy types as a big integer. On BigQuery the column is read as `INT64`, its only integer type, and still serves; on any other dialect it is left out, so a query that reads it is answered live. The next full rebuild captures the types (one per source, `model` the first model binding it, `subject` the source, the message naming the columns and which applies; `warn`; see docs/materialization.md). Repeated under its former name `stored-native-schema-missing` for this release only. `entities-…` (`entities-not-a-dimension`, `entities-parameterized-source`, `entities-multiple-required-filters`, `entities-sharing-not-allowed-on-dimension`, `entities-schedule-not-allowed-on-dimension`, `entities-required-filter-missing-dimension`, `entities-required-filter-non-public-dimension`): an `#(index)` or required `#(filter)` an index cannot honor, left out of `GET …/entities` (`model` its file; `warn`). The per-file report findings (`notebook-…`, `report-…`) and the report curation findings (`report-on-surface`, `index-is-not-a-report`). The message wording may change; the code does not.
|
|
2699
2717
|
*/
|
|
2700
2718
|
'code'?: string;
|
|
2701
2719
|
/**
|
|
@@ -2750,6 +2768,10 @@ export interface PersistSourcePlan {
|
|
|
2750
2768
|
* The source\'s declared `#@ persist ... refresh=...` value, reported verbatim; null = unset (which means \"full\"). Read and VALIDATED by the publisher, no longer an inert pass-through: a value outside {\"full\", \"incremental\"} is a publish rejection, and `refresh=\"incremental\"` additionally requires a `watermark=` naming one output dimension (see `annotationFields`). An incremental source advances its serving table by a bounded delta in place instead of being rebuilt, so the mode also governs the build path — which is why it is validated rather than passed through.
|
|
2751
2769
|
*/
|
|
2752
2770
|
'refresh'?: string | null;
|
|
2771
|
+
/**
|
|
2772
|
+
* True when this source\'s stored relation reads the current time (`now`, or a relative time filter string such as `f\'last 7 days\'`), so its table holds the rows as of its build and its answers are as of that build (a `#@ persist` source, a persisted view or a persisted named query; the package carries a `persist-reads-current-time` warning for it). Unchanged SQL does not mean unchanged rows, so such a table must be rebuilt on every run: a host that reuses a ready table by `sourceEntityId` must not reuse this one, and a standalone run never carries it forward. Absent otherwise.
|
|
2773
|
+
*/
|
|
2774
|
+
'asOfBuild'?: boolean;
|
|
2753
2775
|
/**
|
|
2754
2776
|
* The source\'s EFFECTIVE freshness objective after most-specific-wins resolution (source > model-file > package). Null = unset at every level; the control plane applies the platform default. Reported verbatim (invalid fields dropped, never defaulted). Valid in both scope modes. (Per-source `sharing`/`schedule` were retired: scope is a single package-level mode and a schedule is package-root-only — declaring either on a source is a publish-time manifest error.) A synthesized rollup (`origin: rollup`) resolves the same way, with its source level being its own `freshness.window=` / `freshness.fallback=` (on `#(rollup)` or `#@ preaggregate`), field by field over its base\'s own source-level declaration. A rollup that declares nothing therefore goes stale with its base, and a stale rollup is answered from the base, the same answer. A standalone run stamps this resolution on the manifest entries it commits (`freshnessWindowSeconds`, `freshnessFallback`, `dataAsOf`), as a control plane does on the manifest it distributes.
|
|
2755
2777
|
*/
|
|
@@ -2765,7 +2787,7 @@ export interface PersistSourcePlan {
|
|
|
2765
2787
|
*/
|
|
2766
2788
|
'columns': Array<Column>;
|
|
2767
2789
|
/**
|
|
2768
|
-
* All key=value fields of the source\'s `#@ persist` annotation (e.g. `name`, `storage`). The control plane uses `name` as the materialized table name (it may carry a dialect container path like `dataset.table`). The key set is closed: an unrecognized or retired key fails the publish and the load (`persist-unknown-key`, `persist-retired-key`), so a served plan carries only recognized keys. Recognized keys beyond `name`/`storage`, both read from the EFFECTIVE merged tag (a source extending a persisted parent inherits the parent\'s keys, and its own keys merge over them per key): * `watermark` — one output dimension name, monotone non-decreasing. Required by `refresh=\"incremental\"`; the platform derives each refresh\'s half-open range from it. Must be a single quoted string naming a column of `columns`. * `merge_key` — comma-separated output dimension names, none of them the watermark. Declares row identity for a source whose rows are restated with a LATER watermark value, which selects a MERGE apply; omitted, the delta replaces the range instead. Compound keys go in one quoted string (`merge_key=\"order_id, region\"`).
|
|
2790
|
+
* All key=value fields of the source\'s `#@ persist` annotation (e.g. `name`, `storage`). The control plane uses `name` as the materialized table name (it may carry a dialect container path like `dataset.table`). The key set is closed: an unrecognized or retired key fails the publish and the load (`persist-unknown-key`, `persist-retired-key`), so a served plan carries only recognized keys. Recognized keys beyond `name`/`storage`, both read from the EFFECTIVE merged tag (a source extending a persisted parent inherits the parent\'s keys, and its own keys merge over them per key): * `watermark` — one output dimension name, monotone non-decreasing. Required by `refresh=\"incremental\"`; the platform derives each refresh\'s half-open range from it. Must be a single quoted string naming a column of `columns`. * `merge_key` — comma-separated output dimension names, none of them the watermark. Declares row identity for a source whose rows are restated with a LATER watermark value, which selects a MERGE apply; omitted, the delta replaces the range instead. Compound keys go in one quoted string (`merge_key=\"order_id, region\"`). * `lookback` — a duration (a positive whole number and one unit: `seconds`, `minutes`, `hours`, `days` or `weeks`, singular or plural, or `s`, `m`, `h`, `d` or `w`, as in `\"2 days\"` or `\"36h\"`; at most 365 days). Each delta of a `date` or `timestamp` watermark starts that much below the newest watermark the stored table holds, and the merge key matches the rows read again. Valid only with `refresh=\"incremental\"`, a `date` or `timestamp` watermark and a `merge_key`; absent means no lookback. All three are checked at publish: `watermark` and `merge_key` against the compiled output schema, and `lookback` against its grammar, its limit and the keys it requires, so a dangling or stale name, or an invalid lookback, is rejected rather than deferred to a build. None participates in `sourceEntityId`: adding a watermark to an existing source must not re-address its table. For a synthesized rollup (`origin: rollup`) the annotation was generated by the publisher rather than authored, so this reports what synthesis emitted. It is still the annotation that governs the build, which is why it is reported the same way: a rollup is an ordinary persist source whose `#@ persist` nobody typed.
|
|
2769
2791
|
*/
|
|
2770
2792
|
'annotationFields'?: {
|
|
2771
2793
|
[key: string]: string;
|
|
@@ -2951,7 +2973,7 @@ export interface QueryPathCandidate {
|
|
|
2951
2973
|
'outcome': QueryPathCandidateOutcomeEnum;
|
|
2952
2974
|
'reason'?: SkipReason;
|
|
2953
2975
|
/**
|
|
2954
|
-
* For a `NOT_SERVED` skip, the serve verdict\'s reason the table answers no query, from the same set as `QueryPathWarning.code`; for a table only the served copy reads, `served_copy` also when the served copy does not re-root the queried source (the `served-copy-not-served` package warning says why). Always snake_case. An open set. Absent on any other outcome,
|
|
2976
|
+
* For a `NOT_SERVED` skip, the serve verdict\'s reason the table answers no query, from the same set as `QueryPathWarning.code`; for a `storage=` table only the served copy reads, `served_copy` also when the served copy declined this query on it, such as when it does not re-root the queried source (the `served-copy-not-served` package warning says why). Always snake_case. An open set. Absent on any other outcome, on a `NOT_SERVED` skip whose verdict is not known, and on a database table the served copy declined for this query alone (its `detail` says why). Retained, no longer produced (shipped in 0.14.0): `served-copy-not-served`, now `served_copy`; `persist-opt-out`, now the skip reason `OPTED_OUT`.
|
|
2955
2977
|
*/
|
|
2956
2978
|
'code'?: string;
|
|
2957
2979
|
/**
|
|
@@ -3161,7 +3183,7 @@ export interface QueryResult {
|
|
|
3161
3183
|
*/
|
|
3162
3184
|
'queryRowLimitSource'?: QueryResultQueryRowLimitSourceEnum;
|
|
3163
3185
|
/**
|
|
3164
|
-
* Which tier answered this query, when a materialized table did. `storage` — served from a materialized table in a `storage=` destination, via the virtual-source transform. The source\'s own warehouse was not queried. `database` — served from a materialized table in the source\'s own database (`colocated` in releases before this one): a database `#@ persist` table Malloy substituted, a database `#(materialize)` table the served copy read, or a database rollup or persisted view. `live_fallback` — the query DID route to storage and the store then failed underneath it, and the source\'s freshness fallback allowed it to degrade to the live warehouse. **The rows are correct and the request succeeded**, which is why this needs its own value: it is indistinguishable from a storage hit at the call site, and treating it as one would report a healthy hit rate for a broken store. On `publisher_query_route_total` the same event is the answering leg\'s `outcome=\"fallback\", reason=\"
|
|
3186
|
+
* Which tier answered this query, when a materialized table did. `storage` — served from a materialized table in a `storage=` destination, via the virtual-source transform. The source\'s own warehouse was not queried. `database` — served from a materialized table in the source\'s own database (`colocated` in releases before this one): a database `#@ persist` table Malloy substituted, a database `#(materialize)` table the served copy read, or a database rollup or persisted view. `live_fallback` — the query DID route to storage and the store then failed underneath it, and the source\'s freshness fallback allowed it to degrade to the live warehouse. **The rows are correct and the request succeeded**, which is why this needs its own value: it is indistinguishable from a storage hit at the call site, and treating it as one would report a healthy hit rate for a broken store. On `publisher_query_route_total` the same event is the answering leg\'s `outcome=\"fallback\", reason=\"READ_FAILED\"`. Null means no materialized table answered: the query was served live. `path`, the path report, says why each table that could have answered did not, and `path.servedBy.tier` names the same tier this field does. The server also logs a `served copy cannot answer this query` line at DEBUG, carrying the error that declined the query and its decline code. `live_fallback` here means the store failed at run time for this query. A configured `manifestLocation` whose fetch or bind failed is `manifestBindingStatus: bind_failed` (releases before this one spelled that `live_fallback` too).
|
|
3165
3187
|
*/
|
|
3166
3188
|
'servedFrom'?: QueryResultServedFromEnum | null;
|
|
3167
3189
|
/**
|
|
@@ -3967,7 +3989,7 @@ export declare const SkillSummaryOriginEnum: {
|
|
|
3967
3989
|
};
|
|
3968
3990
|
export type SkillSummaryOriginEnum = typeof SkillSummaryOriginEnum[keyof typeof SkillSummaryOriginEnum];
|
|
3969
3991
|
/**
|
|
3970
|
-
* Why a table could not answer a query. `NOT_BUILT`, it is not bound to this package yet; `NOT_SERVED`, its serve verdict is `live`, so it answers no query, and the candidate\'s `code` names the verdict\'s reason
|
|
3992
|
+
* Why a table could not answer a query. `NOT_BUILT`, it is not bound to this package yet; `NOT_SERVED`, either its serve verdict is `live`, so it answers no query, and the candidate\'s `code` names the verdict\'s reason, or the table otherwise serves and the served copy declined this one query on it. A `storage=` table only the served copy reads is then `NOT_SERVED` with `code` `served_copy` when the served copy re-roots nothing the query reads, cannot graft a gate on the queried source, would answer without a column a gate or the result (through a wildcard) needs because it leaves that column out of a stored table\'s type, would expose a field the compile of record does not classify or carry, resolves a composite to another member than live, or the source\'s ungated `where:` reads a column the table does not hold exactly or does not compare as its source does (a zoned timestamp, or a collation: on Postgres a database table\'s stored collation that differs from its source\'s or cannot be read). A database table is `NOT_SERVED` this way only for that last case, with a `detail` and no `code`. A query that itself names a column a stored table leaves out is `MISSING_FIELD`, and a gate the table cannot keep is `ROW_LEVEL_GATE`; `OPTED_OUT`, the queried source opts out of its tables with `#@ -persist`; `MISSING_FIELD`, the query reads a field the table lacks (or otherwise does not compile against it); `SHAPE_MISMATCH`, the query is not the shape the stored result answers: it is not a call of the persisted view or query, it refines the call, or its text names beside the call a name the stored result\'s variant takes over; `ROW_LEVEL_GATE`, answering from it would bypass a row-level gate on the queried source; `GRAIN_TOO_COARSE`, a rollup\'s grain does not cover the query\'s groups or filters; `TIME_ZONE`, it was built in another time zone than the query\'s; `CROSS_CONNECTION`, the query needs a join the table\'s connection cannot reach; `COUNT_SEMANTICS`, an aggregate the table cannot reproduce as the live query computes it; `STALE`, it is past its freshness window; `READ_FAILED`, it was chosen but reading it failed at run time and the query was answered live: its freshness fallback allowed live, or the failure answers live whatever the fallback says (DECIMAL arithmetic past what the destination holds, or a destination catalog missing on the worker). Retained, no longer produced (shipped in 0.14.0): `WARNED`, now `NOT_SERVED` (or `OPTED_OUT` for `#@ -persist`); `CONTRACT`, now `ROW_LEVEL_GATE`; `RUN_FAILED`, now `READ_FAILED`. A closed list to which codes may be added, so a client treats an unknown one as a skip it cannot explain.
|
|
3971
3993
|
*/
|
|
3972
3994
|
export declare const SkipReason: {
|
|
3973
3995
|
readonly NotBuilt: "NOT_BUILT";
|
|
@@ -4145,7 +4167,7 @@ export interface SourceFailure {
|
|
|
4145
4167
|
*/
|
|
4146
4168
|
'refused'?: boolean;
|
|
4147
4169
|
/**
|
|
4148
|
-
* Whether rebuilding this source unchanged could succeed, so an orchestrator that retries failed builds can stop spending attempts on one that cannot. `false` is a deterministic failure: the same model, instructions and bounds fail the same way on every attempt. It is reported for an eligibility refusal (always, beside `refused`), a Malloy or SQL compile defect (a syntax or parser error), a rejected credential or missing grant (permission or access denied), and a source refused under `strictUpstreams` because a persisted upstream it reads failed deterministically earlier in the same run. That last source inherits its upstream\'s classification (`true` when any such upstream\'s failure is transient) and its `reason` names the upstream\'s own failure. Also `false` for a source a strict build refused under `warehouseReach: refuse`, whose only build would recompute its stored upstreams from the warehouse. `true` is a transient failure, not a property of the inputs: the database could not be reached or reset the connection, a timeout, a rate limit, the build session running out of memory (`Out of Memory Error`, `could not allocate block`, `failed to pin block`: a worker\'s builds share its memory, so a build that ran out beside others can fit alone, and the consumer\'s retry cap bounds one that never fits), or a cancellation. Absent when Publisher does not recognize the error, and from every Publisher that predates the field. A consumer treats absence exactly as it did before this field existed. Deliberately absent: a missing table or column (a binder error, an unrecognized name), because a referenced upstream reclaimed mid-build reads the same as a model defect; and a persisted upstream no manifest holds, on its own, because it may be materialized in another destination or left out of instructions an orchestrator fixed, so retrying the same instructions would not supply it.
|
|
4170
|
+
* Whether rebuilding this source unchanged could succeed, so an orchestrator that retries failed builds can stop spending attempts on one that cannot. `false` is a deterministic failure: the same model, instructions and bounds fail the same way on every attempt. It is reported for an eligibility refusal (always, beside `refused`), a Malloy or SQL compile defect (a syntax or parser error), a rejected credential or missing grant (a message that says permission or access denied), a warehouse\'s own data or syntax error, and a source refused under `strictUpstreams` because a persisted upstream it reads failed deterministically earlier in the same run. That last source inherits its upstream\'s classification (`true` when any such upstream\'s failure is transient) and its `reason` names the upstream\'s own failure. Also `false` for a source a strict build refused under `warehouseReach: refuse`, whose only build would recompute its stored upstreams from the warehouse. A warehouse\'s own data or syntax error is one the warehouse names as such: a Postgres or Snowflake SQLSTATE in class 22 (data exception) or 42 (syntax error or access rule violation), or a BigQuery `invalidQuery` or `invalid` job error, and a Postgres data exception that reaches Publisher as text only (through a DuckDB passthrough). Five SQLSTATEs in class 42 are left to the other rules: a missing table or column (`42P01`, `42703`, `42S02`, `42S22`, and a BigQuery `Unrecognized name` or `Not found`), which stays absent, and `42501` (insufficient privilege). A Postgres `42501` still reports `false`, because its message says permission denied; a Snowflake `42501` stays absent. Transient codes (`40001`, `40P01`, and BigQuery\'s backend and quota reasons) are never `false`. `true` is a transient failure, not a property of the inputs: the database could not be reached or reset the connection, a timeout, a rate limit, the build session running out of memory (`Out of Memory Error`, `could not allocate block`, `failed to pin block`: a worker\'s builds share its memory, so a build that ran out beside others can fit alone, and the consumer\'s retry cap bounds one that never fits), or a cancellation. Absent when Publisher does not recognize the error, and from every Publisher that predates the field. A consumer treats absence exactly as it did before this field existed. Deliberately absent: a missing table or column (a binder error, an unrecognized name), because a referenced upstream reclaimed mid-build reads the same as a model defect; and a persisted upstream no manifest holds, on its own, because it may be materialized in another destination or left out of instructions an orchestrator fixed, so retrying the same instructions would not supply it.
|
|
4149
4171
|
*/
|
|
4150
4172
|
'retryable'?: boolean;
|
|
4151
4173
|
}
|
|
@@ -4883,7 +4905,7 @@ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
4883
4905
|
*/
|
|
4884
4906
|
listTablesInPackage: (environmentName: string, packageName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4885
4907
|
/**
|
|
4886
|
-
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
|
|
4908
|
+
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1. On a DuckDB-backed connection (`duckdb`, including a package\'s `duckdb` sandbox, `ducklake` and `motherduck`), `sqlStatement` runs only as a single SELECT. Any other statement, more than one statement, or SQL that does not parse answers 400 before anything runs. `sqlSource` and `sqlTemporaryTable` apply the same rule to the caller\'s SQL.
|
|
4887
4909
|
* @summary Execute SQL query
|
|
4888
4910
|
* @param {string} environmentName Name of the environment
|
|
4889
4911
|
* @param {string} connectionName Name of the connection
|
|
@@ -4893,7 +4915,7 @@ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
4893
4915
|
*/
|
|
4894
4916
|
postQuerydata: (environmentName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4895
4917
|
/**
|
|
4896
|
-
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
|
|
4918
|
+
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint, and to the same single-SELECT rule on a DuckDB-backed connection: any other statement answers 400.
|
|
4897
4919
|
* @summary Execute SQL query (per-package)
|
|
4898
4920
|
* @param {string} environmentName Name of the environment
|
|
4899
4921
|
* @param {string} packageName Name of the package whose connection context to use
|
|
@@ -5068,7 +5090,7 @@ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
5068
5090
|
*/
|
|
5069
5091
|
listTablesInPackage(environmentName: string, packageName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Table>>>;
|
|
5070
5092
|
/**
|
|
5071
|
-
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
|
|
5093
|
+
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1. On a DuckDB-backed connection (`duckdb`, including a package\'s `duckdb` sandbox, `ducklake` and `motherduck`), `sqlStatement` runs only as a single SELECT. Any other statement, more than one statement, or SQL that does not parse answers 400 before anything runs. `sqlSource` and `sqlTemporaryTable` apply the same rule to the caller\'s SQL.
|
|
5072
5094
|
* @summary Execute SQL query
|
|
5073
5095
|
* @param {string} environmentName Name of the environment
|
|
5074
5096
|
* @param {string} connectionName Name of the connection
|
|
@@ -5078,7 +5100,7 @@ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
5078
5100
|
*/
|
|
5079
5101
|
postQuerydata(environmentName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryData>>;
|
|
5080
5102
|
/**
|
|
5081
|
-
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
|
|
5103
|
+
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint, and to the same single-SELECT rule on a DuckDB-backed connection: any other statement answers 400.
|
|
5082
5104
|
* @summary Execute SQL query (per-package)
|
|
5083
5105
|
* @param {string} environmentName Name of the environment
|
|
5084
5106
|
* @param {string} packageName Name of the package whose connection context to use
|
|
@@ -5253,7 +5275,7 @@ export declare const ConnectionsApiFactory: (configuration?: Configuration, base
|
|
|
5253
5275
|
*/
|
|
5254
5276
|
listTablesInPackage(environmentName: string, packageName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Table>>;
|
|
5255
5277
|
/**
|
|
5256
|
-
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
|
|
5278
|
+
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1. On a DuckDB-backed connection (`duckdb`, including a package\'s `duckdb` sandbox, `ducklake` and `motherduck`), `sqlStatement` runs only as a single SELECT. Any other statement, more than one statement, or SQL that does not parse answers 400 before anything runs. `sqlSource` and `sqlTemporaryTable` apply the same rule to the caller\'s SQL.
|
|
5257
5279
|
* @summary Execute SQL query
|
|
5258
5280
|
* @param {string} environmentName Name of the environment
|
|
5259
5281
|
* @param {string} connectionName Name of the connection
|
|
@@ -5263,7 +5285,7 @@ export declare const ConnectionsApiFactory: (configuration?: Configuration, base
|
|
|
5263
5285
|
*/
|
|
5264
5286
|
postQuerydata(environmentName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): AxiosPromise<QueryData>;
|
|
5265
5287
|
/**
|
|
5266
|
-
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
|
|
5288
|
+
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint, and to the same single-SELECT rule on a DuckDB-backed connection: any other statement answers 400.
|
|
5267
5289
|
* @summary Execute SQL query (per-package)
|
|
5268
5290
|
* @param {string} environmentName Name of the environment
|
|
5269
5291
|
* @param {string} packageName Name of the package whose connection context to use
|
|
@@ -5438,7 +5460,7 @@ export declare class ConnectionsApi extends BaseAPI {
|
|
|
5438
5460
|
*/
|
|
5439
5461
|
listTablesInPackage(environmentName: string, packageName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Table[], any, {}, any>>;
|
|
5440
5462
|
/**
|
|
5441
|
-
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
|
|
5463
|
+
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1. On a DuckDB-backed connection (`duckdb`, including a package\'s `duckdb` sandbox, `ducklake` and `motherduck`), `sqlStatement` runs only as a single SELECT. Any other statement, more than one statement, or SQL that does not parse answers 400 before anything runs. `sqlSource` and `sqlTemporaryTable` apply the same rule to the caller\'s SQL.
|
|
5442
5464
|
* @summary Execute SQL query
|
|
5443
5465
|
* @param {string} environmentName Name of the environment
|
|
5444
5466
|
* @param {string} connectionName Name of the connection
|
|
@@ -5448,7 +5470,7 @@ export declare class ConnectionsApi extends BaseAPI {
|
|
|
5448
5470
|
*/
|
|
5449
5471
|
postQuerydata(environmentName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<QueryData, any, {}, any>>;
|
|
5450
5472
|
/**
|
|
5451
|
-
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
|
|
5473
|
+
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint, and to the same single-SELECT rule on a DuckDB-backed connection: any other statement answers 400.
|
|
5452
5474
|
* @summary Execute SQL query (per-package)
|
|
5453
5475
|
* @param {string} environmentName Name of the environment
|
|
5454
5476
|
* @param {string} packageName Name of the package whose connection context to use
|
|
@@ -5997,7 +6019,7 @@ export declare const MaterializationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
5997
6019
|
*/
|
|
5998
6020
|
createMaterialization: (environmentName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5999
6021
|
/**
|
|
6000
|
-
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a table this run produced,
|
|
6022
|
+
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a database table this run produced, use `drop-materialized-table` (`DELETE …/connections/{connectionName}/materializedTables/{tableName}`), which checks that no remaining run, of any version, names a table with that name in any place; a table built before 0.16.0 carries no ownership mark, so drop it first, passing this run\'s id, then delete the run. `dropTables=true` is refused with 400 and deletes nothing, as is any value other than `true` or `false` (the fix is to omit it); `dropTables=false`, which older clients send, is accepted and ignored.
|
|
6001
6023
|
* @summary Delete a materialization
|
|
6002
6024
|
* @param {string} environmentName Name of the environment
|
|
6003
6025
|
* @param {string} packageName Name of the package
|
|
@@ -6007,6 +6029,19 @@ export declare const MaterializationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
6007
6029
|
* @throws {RequiredError}
|
|
6008
6030
|
*/
|
|
6009
6031
|
deleteMaterialization: (environmentName: string, packageName: string, materializationId: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6032
|
+
/**
|
|
6033
|
+
* Drops one database-tier table a materialization of this package built on one of the package\'s connections, with the staging and backup copies a crashed build can leave beside it when a run record names the table. This is the drop a caller makes after (or before) deleting a run\'s record, which never drops a table. A `storage=` table lives in a storage destination, which this route does not reach; the admin API\'s catalog routes drop those. Publisher does not authenticate the caller: the gateway in front of it decides who may call this route, and should allow only the operator that owns the package\'s materialization lifecycle. The route itself refuses any table it cannot prove is this package\'s and unused, under the package\'s run lock and the table name\'s lock, so no run starts, commits or claims the name between the checks and the drop: * 400: the name cannot be quoted in the connection\'s dialect, or it is the staging or backup copy a build makes of a table a run of the package records, which is dropped only with that table. * 404, with no `reason`: the package does not reach a connection by that name (or the environment, package or `materializationId` does not exist). * 409 `MATERIALIZATION_CONFLICT`: a run of the package is active. Retry once it settles. * 409 `TABLE_IN_USE`: a committed run of the package, of any version, other than the one `materializationId` names, names a table with this name in any place; the run `materializationId` names is the one a version or the package serves; or a loaded copy of any package in the environment is bound to a table with this name; or the warehouse refused the drop because other objects depend on the table (Postgres 2BP01). Delete or replace that run, or those objects, first. * 409 `TABLE_OWNED_ELSEWHERE`: the table carries another package\'s ownership mark, or the name is held by a view Publisher did not create or another package\'s view; or the warehouse refused the drop because the connection may not drop it (42501) or the name holds something other than a table (42809). The answer does not name the holder. * 409 `TABLE_OWNERSHIP_UNVERIFIED`: the table carries no ownership mark this route accepts, and the run `materializationId` names (terminal, of this package) does not record it on this connection; or who holds the name could not be read. A mark is accepted only when it names this package and the very place the warehouse\'s catalog says the name resolves to now (its fully qualified location, recorded when the mark was written): a comment travels with a renamed, moved or cloned table, so such a copy, or another schema\'s table a search path finds first, is treated as unmarked, as is a mark written before 0.16.0 (it names no place). Drop such a table passing the id of the run that records it, before deleting that run\'s record. * 404 `TABLE_NOT_FOUND`: no table holds the name and no run record of this package names it on this connection, so nothing proves it was ever this package\'s. A table that is already gone answers 204 when a run record of this package still names it on this connection (pass its `materializationId`, or retry before deleting the record), so a retried drop succeeds; otherwise 404 `TABLE_NOT_FOUND`.
|
|
6034
|
+
* @summary Drop a materialized table from a package\'s connection
|
|
6035
|
+
* @param {string} environmentName Name of the environment
|
|
6036
|
+
* @param {string} packageName Name of the package
|
|
6037
|
+
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
6038
|
+
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
6039
|
+
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
6040
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
6041
|
+
* @param {*} [options] Override http request option.
|
|
6042
|
+
* @throws {RequiredError}
|
|
6043
|
+
*/
|
|
6044
|
+
dropMaterializedTable: (environmentName: string, packageName: string, connectionName: string, tableName: string, materializationId?: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6010
6045
|
/**
|
|
6011
6046
|
* A run\'s id is unique, so with no `versionId` the run is found whichever version built it. Naming a version also requires the run to be that version\'s (or one from before the package\'s first versioned publish); the same holds for stopping and deleting a run.
|
|
6012
6047
|
* @summary Get a specific materialization
|
|
@@ -6058,7 +6093,7 @@ export declare const MaterializationsApiFp: (configuration?: Configuration) => {
|
|
|
6058
6093
|
*/
|
|
6059
6094
|
createMaterialization(environmentName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Materialization>>;
|
|
6060
6095
|
/**
|
|
6061
|
-
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a table this run produced,
|
|
6096
|
+
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a database table this run produced, use `drop-materialized-table` (`DELETE …/connections/{connectionName}/materializedTables/{tableName}`), which checks that no remaining run, of any version, names a table with that name in any place; a table built before 0.16.0 carries no ownership mark, so drop it first, passing this run\'s id, then delete the run. `dropTables=true` is refused with 400 and deletes nothing, as is any value other than `true` or `false` (the fix is to omit it); `dropTables=false`, which older clients send, is accepted and ignored.
|
|
6062
6097
|
* @summary Delete a materialization
|
|
6063
6098
|
* @param {string} environmentName Name of the environment
|
|
6064
6099
|
* @param {string} packageName Name of the package
|
|
@@ -6068,6 +6103,19 @@ export declare const MaterializationsApiFp: (configuration?: Configuration) => {
|
|
|
6068
6103
|
* @throws {RequiredError}
|
|
6069
6104
|
*/
|
|
6070
6105
|
deleteMaterialization(environmentName: string, packageName: string, materializationId: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6106
|
+
/**
|
|
6107
|
+
* Drops one database-tier table a materialization of this package built on one of the package\'s connections, with the staging and backup copies a crashed build can leave beside it when a run record names the table. This is the drop a caller makes after (or before) deleting a run\'s record, which never drops a table. A `storage=` table lives in a storage destination, which this route does not reach; the admin API\'s catalog routes drop those. Publisher does not authenticate the caller: the gateway in front of it decides who may call this route, and should allow only the operator that owns the package\'s materialization lifecycle. The route itself refuses any table it cannot prove is this package\'s and unused, under the package\'s run lock and the table name\'s lock, so no run starts, commits or claims the name between the checks and the drop: * 400: the name cannot be quoted in the connection\'s dialect, or it is the staging or backup copy a build makes of a table a run of the package records, which is dropped only with that table. * 404, with no `reason`: the package does not reach a connection by that name (or the environment, package or `materializationId` does not exist). * 409 `MATERIALIZATION_CONFLICT`: a run of the package is active. Retry once it settles. * 409 `TABLE_IN_USE`: a committed run of the package, of any version, other than the one `materializationId` names, names a table with this name in any place; the run `materializationId` names is the one a version or the package serves; or a loaded copy of any package in the environment is bound to a table with this name; or the warehouse refused the drop because other objects depend on the table (Postgres 2BP01). Delete or replace that run, or those objects, first. * 409 `TABLE_OWNED_ELSEWHERE`: the table carries another package\'s ownership mark, or the name is held by a view Publisher did not create or another package\'s view; or the warehouse refused the drop because the connection may not drop it (42501) or the name holds something other than a table (42809). The answer does not name the holder. * 409 `TABLE_OWNERSHIP_UNVERIFIED`: the table carries no ownership mark this route accepts, and the run `materializationId` names (terminal, of this package) does not record it on this connection; or who holds the name could not be read. A mark is accepted only when it names this package and the very place the warehouse\'s catalog says the name resolves to now (its fully qualified location, recorded when the mark was written): a comment travels with a renamed, moved or cloned table, so such a copy, or another schema\'s table a search path finds first, is treated as unmarked, as is a mark written before 0.16.0 (it names no place). Drop such a table passing the id of the run that records it, before deleting that run\'s record. * 404 `TABLE_NOT_FOUND`: no table holds the name and no run record of this package names it on this connection, so nothing proves it was ever this package\'s. A table that is already gone answers 204 when a run record of this package still names it on this connection (pass its `materializationId`, or retry before deleting the record), so a retried drop succeeds; otherwise 404 `TABLE_NOT_FOUND`.
|
|
6108
|
+
* @summary Drop a materialized table from a package\'s connection
|
|
6109
|
+
* @param {string} environmentName Name of the environment
|
|
6110
|
+
* @param {string} packageName Name of the package
|
|
6111
|
+
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
6112
|
+
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
6113
|
+
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
6114
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
6115
|
+
* @param {*} [options] Override http request option.
|
|
6116
|
+
* @throws {RequiredError}
|
|
6117
|
+
*/
|
|
6118
|
+
dropMaterializedTable(environmentName: string, packageName: string, connectionName: string, tableName: string, materializationId?: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6071
6119
|
/**
|
|
6072
6120
|
* A run\'s id is unique, so with no `versionId` the run is found whichever version built it. Naming a version also requires the run to be that version\'s (or one from before the package\'s first versioned publish); the same holds for stopping and deleting a run.
|
|
6073
6121
|
* @summary Get a specific materialization
|
|
@@ -6119,7 +6167,7 @@ export declare const MaterializationsApiFactory: (configuration?: Configuration,
|
|
|
6119
6167
|
*/
|
|
6120
6168
|
createMaterialization(environmentName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Materialization>;
|
|
6121
6169
|
/**
|
|
6122
|
-
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a table this run produced,
|
|
6170
|
+
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a database table this run produced, use `drop-materialized-table` (`DELETE …/connections/{connectionName}/materializedTables/{tableName}`), which checks that no remaining run, of any version, names a table with that name in any place; a table built before 0.16.0 carries no ownership mark, so drop it first, passing this run\'s id, then delete the run. `dropTables=true` is refused with 400 and deletes nothing, as is any value other than `true` or `false` (the fix is to omit it); `dropTables=false`, which older clients send, is accepted and ignored.
|
|
6123
6171
|
* @summary Delete a materialization
|
|
6124
6172
|
* @param {string} environmentName Name of the environment
|
|
6125
6173
|
* @param {string} packageName Name of the package
|
|
@@ -6129,6 +6177,19 @@ export declare const MaterializationsApiFactory: (configuration?: Configuration,
|
|
|
6129
6177
|
* @throws {RequiredError}
|
|
6130
6178
|
*/
|
|
6131
6179
|
deleteMaterialization(environmentName: string, packageName: string, materializationId: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
6180
|
+
/**
|
|
6181
|
+
* Drops one database-tier table a materialization of this package built on one of the package\'s connections, with the staging and backup copies a crashed build can leave beside it when a run record names the table. This is the drop a caller makes after (or before) deleting a run\'s record, which never drops a table. A `storage=` table lives in a storage destination, which this route does not reach; the admin API\'s catalog routes drop those. Publisher does not authenticate the caller: the gateway in front of it decides who may call this route, and should allow only the operator that owns the package\'s materialization lifecycle. The route itself refuses any table it cannot prove is this package\'s and unused, under the package\'s run lock and the table name\'s lock, so no run starts, commits or claims the name between the checks and the drop: * 400: the name cannot be quoted in the connection\'s dialect, or it is the staging or backup copy a build makes of a table a run of the package records, which is dropped only with that table. * 404, with no `reason`: the package does not reach a connection by that name (or the environment, package or `materializationId` does not exist). * 409 `MATERIALIZATION_CONFLICT`: a run of the package is active. Retry once it settles. * 409 `TABLE_IN_USE`: a committed run of the package, of any version, other than the one `materializationId` names, names a table with this name in any place; the run `materializationId` names is the one a version or the package serves; or a loaded copy of any package in the environment is bound to a table with this name; or the warehouse refused the drop because other objects depend on the table (Postgres 2BP01). Delete or replace that run, or those objects, first. * 409 `TABLE_OWNED_ELSEWHERE`: the table carries another package\'s ownership mark, or the name is held by a view Publisher did not create or another package\'s view; or the warehouse refused the drop because the connection may not drop it (42501) or the name holds something other than a table (42809). The answer does not name the holder. * 409 `TABLE_OWNERSHIP_UNVERIFIED`: the table carries no ownership mark this route accepts, and the run `materializationId` names (terminal, of this package) does not record it on this connection; or who holds the name could not be read. A mark is accepted only when it names this package and the very place the warehouse\'s catalog says the name resolves to now (its fully qualified location, recorded when the mark was written): a comment travels with a renamed, moved or cloned table, so such a copy, or another schema\'s table a search path finds first, is treated as unmarked, as is a mark written before 0.16.0 (it names no place). Drop such a table passing the id of the run that records it, before deleting that run\'s record. * 404 `TABLE_NOT_FOUND`: no table holds the name and no run record of this package names it on this connection, so nothing proves it was ever this package\'s. A table that is already gone answers 204 when a run record of this package still names it on this connection (pass its `materializationId`, or retry before deleting the record), so a retried drop succeeds; otherwise 404 `TABLE_NOT_FOUND`.
|
|
6182
|
+
* @summary Drop a materialized table from a package\'s connection
|
|
6183
|
+
* @param {string} environmentName Name of the environment
|
|
6184
|
+
* @param {string} packageName Name of the package
|
|
6185
|
+
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
6186
|
+
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
6187
|
+
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
6188
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
6189
|
+
* @param {*} [options] Override http request option.
|
|
6190
|
+
* @throws {RequiredError}
|
|
6191
|
+
*/
|
|
6192
|
+
dropMaterializedTable(environmentName: string, packageName: string, connectionName: string, tableName: string, materializationId?: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
6132
6193
|
/**
|
|
6133
6194
|
* A run\'s id is unique, so with no `versionId` the run is found whichever version built it. Naming a version also requires the run to be that version\'s (or one from before the package\'s first versioned publish); the same holds for stopping and deleting a run.
|
|
6134
6195
|
* @summary Get a specific materialization
|
|
@@ -6180,7 +6241,7 @@ export declare class MaterializationsApi extends BaseAPI {
|
|
|
6180
6241
|
*/
|
|
6181
6242
|
createMaterialization(environmentName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Materialization, any, {}, any>>;
|
|
6182
6243
|
/**
|
|
6183
|
-
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a table this run produced,
|
|
6244
|
+
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a database table this run produced, use `drop-materialized-table` (`DELETE …/connections/{connectionName}/materializedTables/{tableName}`), which checks that no remaining run, of any version, names a table with that name in any place; a table built before 0.16.0 carries no ownership mark, so drop it first, passing this run\'s id, then delete the run. `dropTables=true` is refused with 400 and deletes nothing, as is any value other than `true` or `false` (the fix is to omit it); `dropTables=false`, which older clients send, is accepted and ignored.
|
|
6184
6245
|
* @summary Delete a materialization
|
|
6185
6246
|
* @param {string} environmentName Name of the environment
|
|
6186
6247
|
* @param {string} packageName Name of the package
|
|
@@ -6190,6 +6251,19 @@ export declare class MaterializationsApi extends BaseAPI {
|
|
|
6190
6251
|
* @throws {RequiredError}
|
|
6191
6252
|
*/
|
|
6192
6253
|
deleteMaterialization(environmentName: string, packageName: string, materializationId: string, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<void, any, {}, any>>;
|
|
6254
|
+
/**
|
|
6255
|
+
* Drops one database-tier table a materialization of this package built on one of the package\'s connections, with the staging and backup copies a crashed build can leave beside it when a run record names the table. This is the drop a caller makes after (or before) deleting a run\'s record, which never drops a table. A `storage=` table lives in a storage destination, which this route does not reach; the admin API\'s catalog routes drop those. Publisher does not authenticate the caller: the gateway in front of it decides who may call this route, and should allow only the operator that owns the package\'s materialization lifecycle. The route itself refuses any table it cannot prove is this package\'s and unused, under the package\'s run lock and the table name\'s lock, so no run starts, commits or claims the name between the checks and the drop: * 400: the name cannot be quoted in the connection\'s dialect, or it is the staging or backup copy a build makes of a table a run of the package records, which is dropped only with that table. * 404, with no `reason`: the package does not reach a connection by that name (or the environment, package or `materializationId` does not exist). * 409 `MATERIALIZATION_CONFLICT`: a run of the package is active. Retry once it settles. * 409 `TABLE_IN_USE`: a committed run of the package, of any version, other than the one `materializationId` names, names a table with this name in any place; the run `materializationId` names is the one a version or the package serves; or a loaded copy of any package in the environment is bound to a table with this name; or the warehouse refused the drop because other objects depend on the table (Postgres 2BP01). Delete or replace that run, or those objects, first. * 409 `TABLE_OWNED_ELSEWHERE`: the table carries another package\'s ownership mark, or the name is held by a view Publisher did not create or another package\'s view; or the warehouse refused the drop because the connection may not drop it (42501) or the name holds something other than a table (42809). The answer does not name the holder. * 409 `TABLE_OWNERSHIP_UNVERIFIED`: the table carries no ownership mark this route accepts, and the run `materializationId` names (terminal, of this package) does not record it on this connection; or who holds the name could not be read. A mark is accepted only when it names this package and the very place the warehouse\'s catalog says the name resolves to now (its fully qualified location, recorded when the mark was written): a comment travels with a renamed, moved or cloned table, so such a copy, or another schema\'s table a search path finds first, is treated as unmarked, as is a mark written before 0.16.0 (it names no place). Drop such a table passing the id of the run that records it, before deleting that run\'s record. * 404 `TABLE_NOT_FOUND`: no table holds the name and no run record of this package names it on this connection, so nothing proves it was ever this package\'s. A table that is already gone answers 204 when a run record of this package still names it on this connection (pass its `materializationId`, or retry before deleting the record), so a retried drop succeeds; otherwise 404 `TABLE_NOT_FOUND`.
|
|
6256
|
+
* @summary Drop a materialized table from a package\'s connection
|
|
6257
|
+
* @param {string} environmentName Name of the environment
|
|
6258
|
+
* @param {string} packageName Name of the package
|
|
6259
|
+
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
6260
|
+
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
6261
|
+
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
6262
|
+
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space.
|
|
6263
|
+
* @param {*} [options] Override http request option.
|
|
6264
|
+
* @throws {RequiredError}
|
|
6265
|
+
*/
|
|
6266
|
+
dropMaterializedTable(environmentName: string, packageName: string, connectionName: string, tableName: string, materializationId?: string, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<void, any, {}, any>>;
|
|
6193
6267
|
/**
|
|
6194
6268
|
* A run\'s id is unique, so with no `versionId` the run is found whichever version built it. Naming a version also requires the run to be that version\'s (or one from before the package\'s first versioned publish); the same holds for stopping and deleting a run.
|
|
6195
6269
|
* @summary Get a specific materialization
|
package/dist/client/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-DpOy4_Kf.cjs.js");exports.AgentsApi=e.AgentsApi;exports.AgentsApiAxiosParamCreator=e.AgentsApiAxiosParamCreator;exports.AgentsApiFactory=e.AgentsApiFactory;exports.AgentsApiFp=e.AgentsApiFp;exports.AttachedDatabaseTypeEnum=e.AttachedDatabaseTypeEnum;exports.AzureConnectionAuthTypeEnum=e.AzureConnectionAuthTypeEnum;exports.CompileProblemSeverityEnum=e.CompileProblemSeverityEnum;exports.CompileRequestScopeEnum=e.CompileRequestScopeEnum;exports.CompileResultStatusEnum=e.CompileResultStatusEnum;exports.CompiledDocumentKindEnum=e.CompiledDocumentKindEnum;exports.CompiledDocumentLayoutEnum=e.CompiledDocumentLayoutEnum;exports.Configuration=e.Configuration;exports.ConnectionProxyTypeEnum=e.ConnectionProxyTypeEnum;exports.ConnectionStatusStatusEnum=e.ConnectionStatusStatusEnum;exports.ConnectionTypeEnum=e.ConnectionTypeEnum;exports.ConnectionsApi=e.ConnectionsApi;exports.ConnectionsApiAxiosParamCreator=e.ConnectionsApiAxiosParamCreator;exports.ConnectionsApiFactory=e.ConnectionsApiFactory;exports.ConnectionsApiFp=e.ConnectionsApiFp;exports.ConnectionsTestApi=e.ConnectionsTestApi;exports.ConnectionsTestApiAxiosParamCreator=e.ConnectionsTestApiAxiosParamCreator;exports.ConnectionsTestApiFactory=e.ConnectionsTestApiFactory;exports.ConnectionsTestApiFp=e.ConnectionsTestApiFp;exports.DashboardManifestKindEnum=e.DashboardManifestKindEnum;exports.DashboardManifestLayoutEnum=e.DashboardManifestLayoutEnum;exports.DashboardTileKindEnum=e.DashboardTileKindEnum;exports.DashboardsApi=e.DashboardsApi;exports.DashboardsApiAxiosParamCreator=e.DashboardsApiAxiosParamCreator;exports.DashboardsApiFactory=e.DashboardsApiFactory;exports.DashboardsApiFp=e.DashboardsApiFp;exports.DataAppFitEnum=e.DataAppFitEnum;exports.DataAppsApi=e.DataAppsApi;exports.DataAppsApiAxiosParamCreator=e.DataAppsApiAxiosParamCreator;exports.DataAppsApiFactory=e.DataAppsApiFactory;exports.DataAppsApiFp=e.DataAppsApiFp;exports.DatabaseTypeEnum=e.DatabaseTypeEnum;exports.DatabasesApi=e.DatabasesApi;exports.DatabasesApiAxiosParamCreator=e.DatabasesApiAxiosParamCreator;exports.DatabasesApiFactory=e.DatabasesApiFactory;exports.DatabasesApiFp=e.DatabasesApiFp;exports.EnvironmentsApi=e.EnvironmentsApi;exports.EnvironmentsApiAxiosParamCreator=e.EnvironmentsApiAxiosParamCreator;exports.EnvironmentsApiFactory=e.EnvironmentsApiFactory;exports.EnvironmentsApiFp=e.EnvironmentsApiFp;exports.ExecuteNotebookCellBypassFiltersEnum=e.ExecuteNotebookCellBypassFiltersEnum;exports.FilterTypeEnum=e.FilterTypeEnum;exports.FreshnessFallbackEnum=e.FreshnessFallbackEnum;exports.GetAgentSkillsEnum=e.GetAgentSkillsEnum;exports.GivenControlEnum=e.GivenControlEnum;exports.LedgerEntryStrategyEnum=e.LedgerEntryStrategyEnum;exports.LogMessageSeverityEnum=e.LogMessageSeverityEnum;exports.ManifestEntryFreshnessFallbackEnum=e.ManifestEntryFreshnessFallbackEnum;exports.ManifestEntryOriginEnum=e.ManifestEntryOriginEnum;exports.ManifestEntryRefreshEnum=e.ManifestEntryRefreshEnum;exports.ManifestEntryUpstreamReuseEnum=e.ManifestEntryUpstreamReuseEnum;exports.MaterializationActionActionEnum=e.MaterializationActionActionEnum;exports.MaterializationMetadataKeptTablesInnerReasonEnum=e.MaterializationMetadataKeptTablesInnerReasonEnum;exports.MaterializationStatus=e.MaterializationStatus;exports.MaterializationsApi=e.MaterializationsApi;exports.MaterializationsApiAxiosParamCreator=e.MaterializationsApiAxiosParamCreator;exports.MaterializationsApiFactory=e.MaterializationsApiFactory;exports.MaterializationsApiFp=e.MaterializationsApiFp;exports.ModelEntitiesErrorKindEnum=e.ModelEntitiesErrorKindEnum;exports.ModelsApi=e.ModelsApi;exports.ModelsApiAxiosParamCreator=e.ModelsApiAxiosParamCreator;exports.ModelsApiFactory=e.ModelsApiFactory;exports.ModelsApiFp=e.ModelsApiFp;exports.NotebookCellKindEnum=e.NotebookCellKindEnum;exports.NotebookCellResultKindEnum=e.NotebookCellResultKindEnum;exports.NotebookCellResultTypeEnum=e.NotebookCellResultTypeEnum;exports.NotebookCellTypeEnum=e.NotebookCellTypeEnum;exports.NotebooksApi=e.NotebooksApi;exports.NotebooksApiAxiosParamCreator=e.NotebooksApiAxiosParamCreator;exports.NotebooksApiFactory=e.NotebooksApiFactory;exports.NotebooksApiFp=e.NotebooksApiFp;exports.PackageArchiveStatusEnum=e.PackageArchiveStatusEnum;exports.PackageEmbeddingIndexReasonEnum=e.PackageEmbeddingIndexReasonEnum;exports.PackageEmbeddingIndexStageEnum=e.PackageEmbeddingIndexStageEnum;exports.PackageEmbeddingIndexStatusEnum=e.PackageEmbeddingIndexStatusEnum;exports.PackageManifestBindingStatusEnum=e.PackageManifestBindingStatusEnum;exports.PackageQueryableSourcesEnum=e.PackageQueryableSourcesEnum;exports.PackageScopeEnum=e.PackageScopeEnum;exports.PackageServingStateArchiveStatusEnum=e.PackageServingStateArchiveStatusEnum;exports.PackageServingStateManifestBindingStatusEnum=e.PackageServingStateManifestBindingStatusEnum;exports.PackageStatusEntryArchiveStatusEnum=e.PackageStatusEntryArchiveStatusEnum;exports.PackageStatusEntryFieldsArchiveStatusEnum=e.PackageStatusEntryFieldsArchiveStatusEnum;exports.PackageStatusEntryFieldsManifestBindingStatusEnum=e.PackageStatusEntryFieldsManifestBindingStatusEnum;exports.PackageStatusEntryManifestBindingStatusEnum=e.PackageStatusEntryManifestBindingStatusEnum;exports.PackageStatusEntryQueryableSourcesEnum=e.PackageStatusEntryQueryableSourcesEnum;exports.PackageStatusEntryScopeEnum=e.PackageStatusEntryScopeEnum;exports.PackageVersionArchiveStatusEnum=e.PackageVersionArchiveStatusEnum;exports.PackageVersionUpdateArchiveStatusEnum=e.PackageVersionUpdateArchiveStatusEnum;exports.PackageWarningsInnerSeverityEnum=e.PackageWarningsInnerSeverityEnum;exports.PackagesApi=e.PackagesApi;exports.PackagesApiAxiosParamCreator=e.PackagesApiAxiosParamCreator;exports.PackagesApiFactory=e.PackagesApiFactory;exports.PackagesApiFp=e.PackagesApiFp;exports.PersistSourcePlanOriginEnum=e.PersistSourcePlanOriginEnum;exports.PostgresConnectionSslmodeEnum=e.PostgresConnectionSslmodeEnum;exports.PublisherApi=e.PublisherApi;exports.PublisherApiAxiosParamCreator=e.PublisherApiAxiosParamCreator;exports.PublisherApiFactory=e.PublisherApiFactory;exports.PublisherApiFp=e.PublisherApiFp;exports.QueryClass=e.QueryClass;exports.QueryPathCandidateOriginEnum=e.QueryPathCandidateOriginEnum;exports.QueryPathCandidateOutcomeEnum=e.QueryPathCandidateOutcomeEnum;exports.QueryPathNearbyOriginEnum=e.QueryPathNearbyOriginEnum;exports.QueryPathNearbyRelationshipEnum=e.QueryPathNearbyRelationshipEnum;exports.QueryPathServerOriginEnum=e.QueryPathServerOriginEnum;exports.QueryPathServerTierEnum=e.QueryPathServerTierEnum;exports.QueryPathTableKind=e.QueryPathTableKind;exports.QueryResultQueryRowLimitSourceEnum=e.QueryResultQueryRowLimitSourceEnum;exports.QueryResultServedFromEnum=e.QueryResultServedFromEnum;exports.RawNotebookFormatEnum=e.RawNotebookFormatEnum;exports.Realization=e.Realization;exports.RefusedSourceOriginEnum=e.RefusedSourceOriginEnum;exports.RefusedSourceReasonEnum=e.RefusedSourceReasonEnum;exports.RefusedSourceTierEnum=e.RefusedSourceTierEnum;exports.ReportCellsFormatEnum=e.ReportCellsFormatEnum;exports.ReportLayoutEnum=e.ReportLayoutEnum;exports.ReportManifestLayoutEnum=e.ReportManifestLayoutEnum;exports.ReportTileKindEnum=e.ReportTileKindEnum;exports.ReportsApi=e.ReportsApi;exports.ReportsApiAxiosParamCreator=e.ReportsApiAxiosParamCreator;exports.ReportsApiFactory=e.ReportsApiFactory;exports.ReportsApiFp=e.ReportsApiFp;exports.RunContextTriggerEnum=e.RunContextTriggerEnum;exports.S3ConnectionProviderEnum=e.S3ConnectionProviderEnum;exports.ServerProvider=e.ServerProvider;exports.ServerStatusModelPageEnum=e.ServerStatusModelPageEnum;exports.ServerStatusOperationalStateEnum=e.ServerStatusOperationalStateEnum;exports.ServerStatusPackageVersioningEnum=e.ServerStatusPackageVersioningEnum;exports.ServerStatusVersionPromotionEnum=e.ServerStatusVersionPromotionEnum;exports.SkillOriginEnum=e.SkillOriginEnum;exports.SkillSummaryOriginEnum=e.SkillSummaryOriginEnum;exports.SkillsApi=e.SkillsApi;exports.SkillsApiAxiosParamCreator=e.SkillsApiAxiosParamCreator;exports.SkillsApiFactory=e.SkillsApiFactory;exports.SkillsApiFp=e.SkillsApiFp;exports.SkipReason=e.SkipReason;exports.StorageDestinationsApi=e.StorageDestinationsApi;exports.StorageDestinationsApiAxiosParamCreator=e.StorageDestinationsApiAxiosParamCreator;exports.StorageDestinationsApiFactory=e.StorageDestinationsApiFactory;exports.StorageDestinationsApiFp=e.StorageDestinationsApiFp;exports.StorageServeBindingOriginEnum=e.StorageServeBindingOriginEnum;exports.ThemeDefaultModeEnum=e.ThemeDefaultModeEnum;exports.VersionsApi=e.VersionsApi;exports.VersionsApiAxiosParamCreator=e.VersionsApiAxiosParamCreator;exports.VersionsApiFactory=e.VersionsApiFactory;exports.VersionsApiFp=e.VersionsApiFp;exports.WatchModeApi=e.WatchModeApi;exports.WatchModeApiAxiosParamCreator=e.WatchModeApiAxiosParamCreator;exports.WatchModeApiFactory=e.WatchModeApiFactory;exports.WatchModeApiFp=e.WatchModeApiFp;exports.globalQueryClient=e.globalQueryClient;exports.usePublisherTheme=e.usePublisherTheme;exports.useServer=e.useServer;
|
package/dist/client/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as t, b as i, c as n, d as r, e as o, C as u, f as p, g as m, h as A, i as E, j as c, k as b, l, m as S, n as g, o as y, p as P, q as d, r as C, s as F, t as k, u as h, D as M, v, w as R, x, y as D, z as T, B as f, E as Q, F as N, G as O, H as z, I as K, J as V, K as B, L, M as I, N as W, O as w, P as q, Q as G, R as U, S as j, T as H, U as J, V as X, W as Y, X as Z, Y as _, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ta, a2 as ia, a3 as na, a4 as ra, a5 as oa, a6 as ua, a7 as pa, a8 as ma, a9 as Aa, aa as Ea, ab as ca, ac as ba, ad as la, ae as Sa, af as ga, ag as ya, ah as Pa, ai as da, aj as Ca, ak as Fa, al as ka, am as ha, an as Ma, ao as va, ap as Ra, aq as xa, ar as Da, as as Ta, at as fa, au as Qa, av as Na, aw as Oa, ax as za, ay as Ka, az as Va, aA as Ba, aB as La, aC as Ia, aD as Wa, aE as wa, aF as qa, aG as Ga, aH as Ua, aI as ja, aJ as Ha, aK as Ja, aL as Xa, aM as Ya, aN as Za, aO as _a, aP as $a, aQ as as, aR as ss, aS as es, aT as ts, aU as is, aV as ns, aW as rs, aX as os, aY as us, aZ as ps, a_ as ms, a$ as As, b0 as Es, b1 as cs, b2 as bs, b3 as ls, b4 as Ss, b5 as gs, b6 as ys, b7 as Ps, b8 as ds, b9 as Cs, ba as Fs, bb as ks, bc as hs, bd as Ms, be as vs, bf as Rs, bg as xs, bh as Ds, bi as Ts, bj as fs, bk as Qs, bl as Ns, bm as Os, bn as zs, bo as Ks, bp as Vs, bq as Bs, br as Ls, bs as Is, bt as Ws, bu as ws, bv as qs, bw as Gs, bx as Us, by as js, bz as Hs, bA as Js, bB as Xs, bC as Ys } from "../ServerProvider-
|
|
1
|
+
import { A as e, a as t, b as i, c as n, d as r, e as o, C as u, f as p, g as m, h as A, i as E, j as c, k as b, l, m as S, n as g, o as y, p as P, q as d, r as C, s as F, t as k, u as h, D as M, v, w as R, x, y as D, z as T, B as f, E as Q, F as N, G as O, H as z, I as K, J as V, K as B, L, M as I, N as W, O as w, P as q, Q as G, R as U, S as j, T as H, U as J, V as X, W as Y, X as Z, Y as _, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ta, a2 as ia, a3 as na, a4 as ra, a5 as oa, a6 as ua, a7 as pa, a8 as ma, a9 as Aa, aa as Ea, ab as ca, ac as ba, ad as la, ae as Sa, af as ga, ag as ya, ah as Pa, ai as da, aj as Ca, ak as Fa, al as ka, am as ha, an as Ma, ao as va, ap as Ra, aq as xa, ar as Da, as as Ta, at as fa, au as Qa, av as Na, aw as Oa, ax as za, ay as Ka, az as Va, aA as Ba, aB as La, aC as Ia, aD as Wa, aE as wa, aF as qa, aG as Ga, aH as Ua, aI as ja, aJ as Ha, aK as Ja, aL as Xa, aM as Ya, aN as Za, aO as _a, aP as $a, aQ as as, aR as ss, aS as es, aT as ts, aU as is, aV as ns, aW as rs, aX as os, aY as us, aZ as ps, a_ as ms, a$ as As, b0 as Es, b1 as cs, b2 as bs, b3 as ls, b4 as Ss, b5 as gs, b6 as ys, b7 as Ps, b8 as ds, b9 as Cs, ba as Fs, bb as ks, bc as hs, bd as Ms, be as vs, bf as Rs, bg as xs, bh as Ds, bi as Ts, bj as fs, bk as Qs, bl as Ns, bm as Os, bn as zs, bo as Ks, bp as Vs, bq as Bs, br as Ls, bs as Is, bt as Ws, bu as ws, bv as qs, bw as Gs, bx as Us, by as js, bz as Hs, bA as Js, bB as Xs, bC as Ys } from "../ServerProvider-lAZ5ZdQS.es.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AgentsApi,
|
|
4
4
|
t as AgentsApiAxiosParamCreator,
|