Skip to main content

OnDemandDatasetUsage

An organization's on-demand datasets against its plan (#3380): datasets outside the lake universe policy it keeps fresh on request.

type OnDemandDatasetUsage {
inForce: Boolean!
used: Int!
limit: Int!
plan: String!
}

Fields​

OnDemandDatasetUsage.inForce ● Boolean! non-null scalar​

Whether the limit applies anywhere now: the planner is live and at least one venue's policy is enabled. It is organization-wide, not per venue: a venue rolled back to the per-runner path is uncapped even while this is true. When false, used and limit carry no meaning and nothing is refused.

OnDemandDatasetUsage.used ● Int! non-null scalar​

Datasets that count now: active, on a venue the live policy owns, and not covered by the policy.

OnDemandDatasetUsage.limit ● Int! non-null scalar​

The plan's max_on_demand_datasets.

OnDemandDatasetUsage.plan ● String! non-null scalar​

The plan the limit comes from.

Returned By​

onDemandDatasetUsage query