[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C2KYWB8B6ZC026CT3Z1MZA":3,"skill-same:01M7C2KYWB8B6ZC026CT3Z1MZA":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7C2KYWB8B6ZC026CT3Z1MZA","scheduler",null,"Use when something in Denodo 9.5 has to happen on a schedule, or a scheduled run misbehaves — refreshing the cache of a view every night or every hour, running REFRESH of a remote table or a procedure at a set time, exporting a view to a CSV file every week or month, running a Denodo Scheduler job now, stopping, pausing, enabling or deleting it, reading what last night's run did or why it failed, \"the cache doubles after every refresh\", \"the job fires at the wrong hour\", \"the export file is missing or has no header\". Denodo Scheduler projects, jobs, cron triggers and reports, through the REST API of the Scheduler administration tool. Not for switching a cache on or loading it once (\u002Fdenodo:cache), not for creating the remote table or summary itself (\u002Fdenodo:materialize).","kirivandubai\u002Fdenodo_wipe_coading_skills","kirivandubai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221521416?v=4","01M7C2HC9KETA166XKR09YMKZQ","01M7C2HCAJ787NNYKMCG12S3DY",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills\u002Fblob\u002Fmain\u002Fskills\u002Fscheduler\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: scheduler\ndescription: Use when something in Denodo 9.5 has to happen on a schedule, or a scheduled run misbehaves — refreshing the cache of a view every night or every hour, running REFRESH of a remote table or a procedure at a set time, exporting a view to a CSV file every week or month, running a Denodo Scheduler job now, stopping, pausing, enabling or deleting it, reading what last night's run did or why it failed, \"the cache doubles after every refresh\", \"the job fires at the wrong hour\", \"the export file is missing or has no header\". Denodo Scheduler projects, jobs, cron triggers and reports, through the REST API of the Scheduler administration tool. Not for switching a cache on or loading it once (\u002Fdenodo:cache), not for creating the remote table or summary itself (\u002Fdenodo:materialize).\n---\n\n# Scheduled work: Denodo Scheduler jobs\n\n**A job does its work with nobody watching.** It runs at 01:30 for months, and every decision\nin it — which rows, which mode, which hour, which file — is made the day you create it. A\nmistake there does not fail: the run reports `COMPLETE` while the cache doubles, the file\nloses its header or the refresh fires four hours early.\n\nDenodo Scheduler is a server of its own, with no VQL: its channel is the REST API of its\nadministration tool, `api --server scheduler \u003Cmethod> \u003Cpath> --env dev` — the tool adds the\nprofile's account and Scheduler server (`\u002Fdenodo:execute`, **Commands**). The working loop and\nthe safety rule are `\u002Fdenodo:vql`.\n\n**Violating the letter of the rules below is violating their spirit.**\n\n## What this skill covers\n\n- **A cache job** (*Simple Cache Management*, `VDPCache`): reloads the full cache of named\n  views on a schedule. The cache itself — on, off, a one-off load — is `\u002Fdenodo:cache`.\n- **A VDP job** (*Individual Query*, `VDP`): runs **one** VQL statement on a schedule —\n  `REFRESH` of a remote table (`\u002Fdenodo:materialize`), a `CALL`, or a `SELECT` whose rows a\n  CSV exporter writes to a file on the Scheduler host.\n- Running a job now, stopping, enabling and disabling it; its status and its reports; the jobs\n  that already touch a view.\n\nEverything else is set up by the human in the administration tool\n(`\u003Cweb container>\u002Fwebadmin\u002Fdenodo-scheduler-admin`): data sources — they hold a password —,\nthe other job types (Data Loader, DAG Cache Management, Data Indexer), exporters other than\nCSV (JDBC, Excel, Elasticsearch, Scheduler Index, custom), a CSV route to cloud storage, mail\nhandlers, retries, trigger conditions, a query fed with parameters from a source, dependencies\nbetween jobs, the server's configuration, roles, import and export. Say so and stop.\n\n## Before you create a job\n\nAll of these are reads:\n\n1. **The Scheduler answers.** `env check --env dev` → `scheduler.ok: true`, and `roles`\n   names a Scheduler role that may create jobs. `scheduler: null` means the profile names\n   neither `scheduler_url` nor `marketplace_url` and the check was not tried:\n   `api --server scheduler get \u002Fpublic\u002Fapi\u002Fme --env dev` asks the default address. No answer\n   there either: the Scheduler runs elsewhere or is not installed — the human adds\n   `scheduler_url` \u002F `scheduler_uri` to the profile (`\u002Fdenodo:execute`); say so and stop.\n2. **The VDP data source the job runs through.**\n   `api --server scheduler get \u002Fpublic\u002Fapi\u002FdataSources --env dev` — every data source of every\n   project; take those with `\"type\": \"VDP\"` and read `id`, `projectName`, `login` and\n   `connectionURI`. **The job runs as `login`**, with that user's privileges, and its statement\n   runs in the database at the end of `connectionURI`. A job may use a data source of another\n   project — *verified: 9.5.1 (live, 2026-10-05)*. Which one is the human's choice when there\n   are several; with one, use it and name its `login` in the message — a login with\n   administrator rights (`admin` by default) means every run is an administrator's, with no\n   privilege check. None, or none they accept → they create one in the administration tool\n   (*Data sources → New → VDP*); it needs a password: never write one into a file or a call.\n   One data source of a known project: `GET \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002FdataSources\u002F\u003Cid>`.\n3. **The project.** `api --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects --param name=\u003Cproject>\n   --env dev` answers the project — one object, not a list — or `404`. Use the one the human\n   names; when they name none, create one named after the VDP database (below).\n4. **What already runs on the view.**\n   `api --server scheduler get \u002Fpublic\u002Fapi\u002Fjobs\u002Fvdpcache_data --param viewName=\u003Cdb>.\u003Cview> --env dev`\n   lists the cache jobs that load it — the name exactly as `\u003Cdatabase>.\u003Cview>`; the bare view\n   name answers `[]`. `api --server scheduler get \u002Fpublic\u002Fapi\u002Fjobs --env dev` lists every job\n   (one project: `GET \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs?type=VDP`): a VDP job naming the\n   view is in its `extractionSection.extractionData.parameterizedQuery`, a job writing the same\n   file in `exportationSection.exporters[].fileName`. A second job loading the same cache, or\n   writing the same file, is a question for the human.\n5. **The clock.** A trigger has no time zone: the cron fires on the clock of the Scheduler\n   server, and `nextExecution` comes back in UTC (`…Z`). What shows that clock is an enabled\n   job: its cron's hour against the hour of its `nextExecution`. An enabled job already on the\n   server; or your own while its runs change nothing — a VDP job created **without** its\n   exporter, enabled, its `nextExecution` read, disabled again before the exporter goes in by\n   `PUT`; or your job the moment it is enabled after the yes. Otherwise the zone is the\n   administrator's to tell, or your assumption, said as such in the message. An hourly cron does\n   not care, unless the server is off by half an hour. Times in VQL results follow the session's\n   i18n and say nothing about the Scheduler's clock.\n\n## Who applies it\n\n**A job is its statement, run every time it fires.** Whatever running that statement now would\nneed, enabling the job needs: reloading the cache of a view somebody reads is the yes of\n`\u002Fdenodo:cache`, `REFRESH` of a table older than this session the yes of\n`\u002Fdenodo:materialize`, writing over a file you did not create the human's word. A job created\n**disabled** runs nothing, so creating it is yours — and it is how the server shows you the\njob before anyone agrees to it.\n\n| You do it yourself | Only after the human's yes |\n|---|---|\n| every `GET`; `POST …\u002FvalidateCronExpressions` | — |\n| a new project for the jobs of the request | deleting a project — its jobs and their reports go with it |\n| **a new job created with `\"disabled\": true`**, read back, and changed while it is yours | **enabling it** — or creating it enabled — when its runs change anything that existed before this session: the cache of a view, a table, a file; the yes is to that job as the server read it back, its user and its hour |\n| a new job created enabled, and run now, when everything its runs change was created by you in this session | **starting** any job whose run changes what existed before this session: the run is that load, that `REFRESH`, that write, now, for everyone who reads it |\n| enabling, disabling, stopping or changing a job you created in this session, within the two rows above | **anything on a job that existed before this session** — `PUT`, `start`, `stop`, `enable`, `disable`, `DELETE` |\n| — | deleting a job, yours included |\n| — | **anything at all on a profile with `production: true`** |\n\nWhat a job's statement changes, and whether you created it in this session, is what `vql plan\n-e \"\u003Cits statement>\"` says (`own`, `needs_yes`); the ledger records no Scheduler job, so a job\nyou created is the one your `POST` returned. A file on the Scheduler host counts as existing unless you created it in this session: the API\ncannot tell you whether it is there. A job of yours is judged by what its runs would change at\nthat moment: enabled while it only reads, it has to be disabled before a `PUT` gives it an\nexporter that writes over such a file — then the yes enables it.\n\n**The yes, asked for in this shape** — after the read-back, never before:\n\n```\nJob iv_household_income_cache, project sales_analytics — created disabled, read back.\nEach run reloads the full cache of sales_analytics.iv_household_income (ALL_ROWS, one\ntransaction); readers: household_income_by_band (USED_BY) and \u003Cconsumers the human named>.\nRuns as: admin (VDP data source \"VDP\", \u002F\u002Fhost:9999\u002Fadmin).\nFires: 0 30 1 * * ? on a server in UTC → every night 01:30 UTC = \u003Cthat time in the human's zone, named>.\nFile: scheduler\u002Fsales_analytics\u002Fiv_household_income_cache.json\nEnable it?\n```\n\nFor an export, the middle lines say what each run writes and replaces: the full path on the\nScheduler host, that a file of that name is overwritten whoever wrote it, the header line, what\nan empty run leaves, and how many rows the query returns today.\n\n**For a job in the right-hand column, when you cannot ask** — the human is away, a run is\ndue — the answer is the files, the job created disabled if it is new, and that message; never\nthe call that enables, starts or changes it. Say what not enabling means (no refresh tonight).\nFor a job that existed before the session, the message says what is wrong and how you know;\nwhen its next run is, in UTC and in the human's time, and what that run will do; the exact\ncalls that would fix it (`PUT` with the file, then `start` if a reload is needed); and the\nsmallest step that stops it getting worse (`disable`) — for the human or the job's owner to\nchoose. Deleting a job is never that step: its reports go with it. A wrong job you only\nhappen to see — another project, another view — goes into the message the same way, untouched.\n\n| Rationalization | Reality |\n|---|---|\n| \"They asked for the nightly refresh — that is the yes\" | They asked for the outcome. The yes is to this job — what it reloads, as which user, at which hour — after you show it. Create it disabled and ask. |\n| \"They are offline until tomorrow — just get it done\" | Then the job waits, disabled, and the message says so. A wrong job running at night is found in the morning by its readers. |\n| \"They asked for the outcome — fix it by 11 — and cannot answer\" | The outcome is theirs. A change to another team's job and a reload of what others read are the yes. Files and a message. |\n| \"The task names this database and this Scheduler project\" | Naming where the problem is is not the yes to change it. |\n| \"The cache is `WITH_STATUS`: the load is atomic, no 0-row window\" | Atomic is how the numbers change, not whether you may change them. |\n| \"It is exactly what the job does every night anyway\" | A run at its hour is what its owner set up. A run now is yours. |\n| \"Doing nothing is not neutral — the next run makes it worse\" | Then the message says when, and names the call that prevents it. The human or the owner decides. |\n| \"Readers already see wrong numbers\" | A second change nobody approved does not become one by being well meant. |\n| \"I can't reach the Scheduler — I'll load the profile's password myself \u002F try `..\u002F` in the path\" | The tool is the only channel (`api --server scheduler`). A path with `..` is refused; reading the profile is reading a credential. |\n\n**Red flags — stop:** you are about to enable, start, stop, change or delete a job whose runs\ntouch what you did not create in this session; you are writing your own HTTP client or reading\nthe profile; a cron with five fields; a cache job without `cacheInvalidationMode`; a `PUT`\nbuilt from part of a job; `env.production` is `true`.\n\n## The job file\n\nA job is a JSON file in the project — `scheduler\u002F\u003Cproject>\u002F\u003Cjob>.json` — created with\n`--json-file`, so it is reviewed and kept like the `.vql` beside it. Two things in it belong\nto one Scheduler, not to the project: `dataSourceID` (step 2 above) and, once created, the\njob's `id`. Another environment means other ids. `--json-file` reads a path relative to the\ndirectory the command runs in — an absolute path when that is not the project. A fix you propose for a job that is not yours goes into the\nrepository of the request too, under `scheduler\u002F\u003Cits project>\u002F`, as the job's `GET` with your\nchange — the body its owner sends with the `PUT`.\n\nA name is unique inside its project: a second `POST` with the same name answers `422 There is\nalready an instance of the resource '\u003Cname> already exists in the project.'` — look the job up\nby name, and change it (below) when it exists.\n\n## Templates\n\n### The project\n\n```bash\n# verified: 9.5.1 (live, 2026-10-05)\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects --param name=sales_analytics --env dev\napi --server scheduler post \u002Fpublic\u002Fapi\u002Fprojects --json '{\"name\": \"sales_analytics\", \"description\": \"Jobs of the sales_analytics database\"}' --env dev\n```\n\nThe first call answers the project or `404 There is no instance of the resource with\nidentifier 'sales_analytics'`; only then the second, whose answer carries the new `id`.\n\n### Refresh the cache of a view on a schedule\n\nThe job file, `scheduler\u002Fsales_analytics\u002Fiv_household_income_cache.json` — the mark of the\ncalls below covers it:\n\n```json\n{\n  \"type\": \"VDPCache\",\n  \"name\": \"iv_household_income_cache\",\n  \"description\": \"Reloads the full cache of sales_analytics.iv_household_income every night at 01:30 UTC.\",\n  \"disabled\": true,\n  \"extractionSection\": {\n    \"type\": \"VDPCache\",\n    \"dataSourceID\": \u003Cdata_source_id>,\n    \"loadprocesses\": [\n      {\n        \"viewName\": \"sales_analytics.iv_household_income\",\n        \"loadProcessName\": \"iv_household_income\",\n        \"parameterizedQuery\": \"select * from sales_analytics.iv_household_income\",\n        \"cacheInvalidationMode\": \"ALL_ROWS\",\n        \"cacheAtomicOperation\": true,\n        \"cacheLoadOnError\": false\n      }\n    ]\n  },\n  \"handlerSection\": {},\n  \"triggerSection\": {\"triggers\": [{\"type\": \"cron\", \"cronExpression\": \"0 30 1 * * ?\"}]}\n}\n```\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler post \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs --json-file scheduler\u002Fsales_analytics\u002Fiv_household_income_cache.json --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id> --env dev\n```\n\nThe first call answers the job with its `id`; the second its `state` — `DISABLED`, with no\n`nextExecution` until it is enabled; the third is the job as the server keeps it — the\nread-back. Then the yes, and `enable` (below); `nextExecution` appears.\n\nEvery field of a load process prevents a silent failure — *verified: 9.5.1 (live, 2026-10-05)*:\n\n| Field | Left out, or left at its default |\n|---|---|\n| `\"cacheInvalidationMode\": \"ALL_ROWS\"` | the default is **`NONE`** — in the API and in the 9.5.1 administration tool alike, whatever the documentation says (*Matching rows*): every run appends (Silent failures). `MATCHING_ROWS` without a condition replaces everything too, but says less about what you mean |\n| `\"cacheAtomicOperation\": true` | stored as `false` when left out (the tool's form defaults to `true`): invalidation and load in separate transactions |\n| `\"loadProcessName\"` | the job is created, and every run fails: `Missing configuration parameter: 'loadProcessName'` |\n| `\"parameterizedQuery\": \"select * from \u003Cdb>.\u003Cview>\"` | `\"\"` is dropped and every run fails: `Missing configuration parameter: 'parameterizedQuery'`. It is the load query — `select *` over the cached view itself, the database named, nothing else; a `where` here loads only those rows, for every reader (`\u002Fdenodo:cache`, \"Load only some rows\") |\n| `\"viewName\": \"\u003Cdb>.\u003Cview>\"` | the view the load is for; the same `\u003Cdb>.\u003Cview>` is what `jobs\u002Fvdpcache_data` finds it by |\n| `\"cacheLoadOnError\": false` | `true` keeps the rows of a load that failed half-way |\n| `\"handlerSection\": {}` | creating works without it; a later `PUT` without it fails with `500` |\n\nThe view's cache has to be on, or every run is `WARNING` and loads nothing (Common errors).\nThe run sends the load statement of `\u002Fdenodo:cache` with `TRACE` (the exact query:\n`references\u002Frest-api.md`). Several views go into one job as several load processes, each named.\n\n### Export a view to a CSV file on a schedule\n\n`scheduler\u002Fsales_analytics\u002Fhousehold_income_by_band_csv.json` — the mark of the calls below\ncovers it:\n\n```json\n{\n  \"type\": \"VDP\",\n  \"name\": \"household_income_by_band_csv\",\n  \"description\": \"Writes household_income_by_band.csv on the 1st of every month at 01:00 UTC.\",\n  \"disabled\": true,\n  \"extractionSection\": {\n    \"type\": \"VDP\",\n    \"dataSourceID\": \u003Cdata_source_id>,\n    \"extractionData\": {\n      \"parameterizedQuery\": \"SELECT income_band_sk, household_count FROM sales_analytics.household_income_by_band ORDER BY income_band_sk\"\n    }\n  },\n  \"exportationSection\": {\n    \"exporters\": [\n      {\n        \"type\": \"CSV\",\n        \"fileName\": \"household_income_by_band.csv\",\n        \"overwriteFile\": true,\n        \"createNewFile\": false,\n        \"appendFile\": false,\n        \"allowEmptyFile\": true,\n        \"includeHeader\": true,\n        \"exportInternalFields\": false,\n        \"separator\": \",\",\n        \"encoding\": \"UTF-8\",\n        \"quoteFieldsOption\": \"WHEN_REQUIRED\",\n        \"filter\": \"NONE\"\n      }\n    ]\n  },\n  \"handlerSection\": {},\n  \"triggerSection\": {\"triggers\": [{\"type\": \"cron\", \"cronExpression\": \"0 0 1 1 * ?\"}]}\n}\n```\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler post \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs --json-file scheduler\u002Fsales_analytics\u002Fhousehold_income_by_band_csv.json --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id> --env dev\n```\n\n**The file is written on the Scheduler host**, not on the human's machine: a relative\n`fileName` lands in `\u003CDENODO_HOME>\u002Fwork\u002Fscheduler\u002Fdata\u002Fcsv\u002F`, an absolute one where it says.\nThe report of each run names the full path (`exporterResources`). The exporter's defaults each\nbreak a reader without an error — *verified: 9.5.1 (live, 2026-10-05)*:\n\n| Field | Its default does |\n|---|---|\n| `\"includeHeader\": true` | no header line: a reader that finds columns by name finds none |\n| `\"overwriteFile\": true`, `\"createNewFile\": false` | the default name is `@{projectName}_@{jobName}_@{jobID}_CSVExporter#@{exporterID}.csv` plus the start time of each run: a new file every run, piling up, never the name the reader opens |\n| `\"allowEmptyFile\": true` | with `false`, a run that returns no rows **deletes the file the last run wrote** (the documentation says a file from an earlier run is kept; measured otherwise) and reports `COMPLETE`, 0 rows; with `true` it leaves a file with only the header |\n| `\"exportInternalFields\": false` | `true` adds the job's own columns (`_$job_project`, `_$job_name`, …) |\n| `\"filter\": \"NONE\"` | required: without it `400 Validation error` — `exportationSection.exporters[0].filter must not be null` |\n\nThe query names its columns and sorts: a renamed column then fails the run instead of shifting\nthe file, and the rows come in the same order each time. Over a view with a full cache it reads\nthe cache — as fresh as its last load; `CONTEXT ('cache' = 'off')` at the end reads the sources\ninstead, if the job's `login` holds WRITE on the view or the `disable_cache_query` role\n(`\u002Fdenodo:cache`, **Verify**).\n\n### Run one statement on a schedule\n\nThe same file as the export, without exporters (`\"exportationSection\": {}`) and with the\nstatement as `parameterizedQuery` — `REFRESH sales_analytics.rt_household_income`, `CALL\n\u003Cprocedure>(…)`, an incremental load (`\u002Fdenodo:materialize`, `references\u002Fincremental.md`). A run\nof a write reports `COMPLETE` and `extractedDocs: 0`, never the rows written — count the table\nafter it (*verified: 9.5.1 (live, 2026-10-06)*). The rules:\n\n- **One statement per job.** Two separated by `;` fail every run: `Syntax error: Exception\n  parsing query near 'SELECT'`.\n- **It runs in the database of the data source's `connectionURI`**, as its `login`. Name the\n  database in the statement where VQL allows it — `REFRESH \u003Cdb>.\u003Ctable>`, `\u003Cdb>.\u003Cview>` in a\n  `FROM`; a statement that cannot name it (`ALTER VIEW \u003Cdb>.\u003Cview> …` → `Syntax error … near\n  '.'`) needs a data source connected to that database.\n- **`@`, `\\`, `^`, `{`, `}` in a literal are written `\\@`, `\\\\`, `\\^`, `\\{`, `\\}`.** An `@`\n  starts a variable: `'ops@example.com'` is accepted when the job is created and fails every\n  run with `No configuration found for the following parameters of the query: [example.com]`.\n- A statement on a view that is not there is accepted too, and fails at the run: `View '\u003Cv>'\n  not found`. Run the statement — or, for a write, a `SELECT` of what it reads — before the job\n  is created.\n\n### Run it now, and wait for the report\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler put \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --json '{\"action\": \"start\"}' --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Freports --param start=0 --param count=1 --env dev\n```\n\n`start` answers `204` and the run goes on by itself. **The report appears only when the run\nends**: while it runs, `total` stays where it was and the status has no `result`. Repeat the\nsecond call every few seconds until `total` is one more than before, then read `list[0]`:\n`result` (`COMPLETE`, `WARNING`, `ERROR`), `extractedDocs`, `cachedDocs` for a cache job,\n`exportedDocs` and `exporterResources` for an export, and the error lists — `extractorErrors`,\n`initializationErrors`, `generalErrors`, `exporterErrors`, and `reports[]`, one entry per load\nprocess or query, where a warning's text is. A cache job's `query` shows the `CONTEXT` it sent:\nwithout `'cache_invalidate'` it ran with `NONE` and appended. Who may start which job is the\ntable above.\n\nWhen a job loads the view, its `start` — after the job is right — is the reload: the same\nstatement as the load file of `\u002Fdenodo:cache`, with a report. The load file is still worth\nwriting, for a reload without the Scheduler.\n\n### Stop, enable, disable\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler put \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --json '{\"action\": \"disable\"}' --env dev\napi --server scheduler put \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --json '{\"action\": \"enable\"}' --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --env dev\n```\n\n`disable` → `state: DISABLED` and no `nextExecution`: the job keeps its definition and does not\nfire. `enable` brings `nextExecution` back. `stop` ends a run in progress (on a job that is not\nrunning it answers `204` and does nothing).\n**After enabling, set `\"disabled\": false` in the job's file**: the file is what a `PUT` or a\nre-creation sends, and one that still says `true` switches the job off again without a word.\n\n### Change a job\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id> --env dev\napi --server scheduler put \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id> --json-file scheduler\u002Fsales_analytics\u002Fiv_household_income_cache.json --env dev\n```\n\n**A `PUT` replaces the whole job.** Its body is the job's file with `\"id\": \u003Cjob_id>` added, or\nthe job exactly as the `GET` returned it with your change — its `projectId`, `projectName` and\nthe other fields the server added may stay: a section left out is emptied —\nwithout `triggerSection` the job answers `200` and has **no schedule any more** — and without\n`handlerSection` (or, on a VDP job, `exportationSection`) it fails with `500 Internal error`;\nwithout `id`, `400 Illegal argument`. A failed `PUT` changes nothing. Read the job back after\nit.\n\n### What ran, and what failed\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fjobs\u002Fstatus --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Freports\u002Fsummary --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Freports --param start=0 --param count=5 --env dev\n```\n\n`jobs\u002Fstatus` is every job's `state` (`NOT_RUNNING`, `RUNNING`, `DISABLED`, `WAITING`, …),\n`result` of its last run (`NEVER_EXECUTED` until one), `previousExecution` and `nextExecution`.\nThe summary lists the runs with their counts; `reports` with `start` and `count` (both\nrequired) has each run, newest first — `reports[]` inside a run holds the detail of its load\nprocesses or queries when there is any (`hasIndividualDetails` in the summary). Deleting a job\ndeletes its reports — the steps before and after a delete: `references\u002Frest-api.md`.\n\n### A cache that doubles, a job that does nothing\n\nFigures on a cached view that double, then triple, every morning:\n\n1. `SELECT COUNT(*) FROM \u003Cview>` against the same with `CONTEXT ('cache' = 'off')` — more rows\n   in the cache than in the sources, every key or group twice; equal proves nothing without\n   WRITE on the view or the `disable_cache_query` role (`\u002Fdenodo:cache`, **Verify**).\n2. `GET \u002Fpublic\u002Fapi\u002Fjobs\u002Fvdpcache_data?viewName=\u003Cdb>.\u003Cview>` — the jobs that load it.\n3. Each job's `extractionSection.loadprocesses[].cacheInvalidationMode`, and the `query` of its\n   last reports: `NONE`, no `'cache_invalidate'` — every run appended. Two jobs loading the\n   view are the other cause.\n4. The job's `nextExecution` — when it gets worse — and who owns it. The fix is the job's `PUT`\n   and a reload: the human's, or the owner's (Who applies it).\n\nA job that runs and changes nothing: its reports say `WARNING` (the view's cache is off) or\n`COMPLETE` with `cachedDocs: 0`; a job that never runs: `state: DISABLED`, or no\n`triggerSection` after a `PUT`.\n\n## Cron: Quartz, on the server's clock\n\nSix fields and an optional seventh: **seconds** minutes hours day-of-month month\nday-of-week [year]. One of day-of-month and day-of-week must be `?`.\n\n| The human says — the last three for a human in UTC+3, as an example | Cron, on a server in UTC |\n|---|---|\n| every night at 01:30 UTC | `0 30 1 * * ?` |\n| every hour, on the hour | `0 0 * * * ?` |\n| weekdays at 18:00 UTC | `0 0 18 ? * MON-FRI` |\n| at 05:00 their time | `0 0 2 * * ?` |\n| Mondays at 01:00 their time | `0 0 22 ? * SUN` — the day moves with the hour |\n| the 1st of the month at 01:00 their time | `0 0 22 L * ?` — the last day of the previous month |\n\n`POST \u002Fpublic\u002Fapi\u002Fprojects\u002Fjobs\u002FvalidateCronExpressions` with a JSON list of expressions\nanswers one string per expression, `\"\"` when it is valid — every expression in the table above\nand the refusal of `0 0 2 * * *` below, *verified: 9.5.1 (live, 2026-10-05)*:\n`api --server scheduler post \u002Fpublic\u002Fapi\u002Fprojects\u002Fjobs\u002FvalidateCronExpressions --json '[\"0 0 2 * * ?\"]' --env dev`.\nValidate before creating: a five-field cron makes the create call fail with nothing but\n`500 Internal error`; `0 0 2 * * *` is invalid too (`Day-of-Month and Day-of-Week can not both\nbe a specific value`). When the server's zone and the human's change for daylight saving time\non different dates, or only one does, the hour moves twice a year; say so and name the new hour.\n\n## What you need\n\n| Slot | Where it comes from |\n|---|---|\n| What runs: the view, the statement, the query and the file | the human; the view must exist and, for a cache job, have its cache on (`\u002Fdenodo:cache`) |\n| When | the human, in their own words and time zone; the cron is yours to work out |\n| Project, data source, file path | Before you create a job, steps 2-3; the export template |\n\n## Verify\n\nAfter creating or changing a job — every row:\n\n| Check | Call | Expect |\n|---|---|---|\n| The job is what the file says | `GET …\u002Fjobs\u002F\u003Cjob_id>` | for a cache job `cacheInvalidationMode: ALL_ROWS`, `cacheAtomicOperation: true`, a `loadProcessName` and a `parameterizedQuery`; for an export `includeHeader`, `overwriteFile` and the `fileName` you wrote; `triggerSection` with your cron |\n| It fires when the human asked — once enabled | `GET …\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus` | `state: NOT_RUNNING`, and `nextExecution` (UTC) is the human's hour in their zone — convert it back and say both in the report; before the yes it is `DISABLED`, and the hour is your computation, said as such |\n| Its statement works | `vql run` of the statement as a read — the export's `SELECT … LIMIT 5`, `SELECT COUNT(*)` of the cached view | rows, the columns the reader expects |\n| Nothing else does the same | `GET \u002Fpublic\u002Fapi\u002Fjobs\u002Fvdpcache_data?viewName=\u003Cdb>.\u003Cview>`; for an export, `exportationSection.exporters[].fileName` across `GET \u002Fpublic\u002Fapi\u002Fjobs` | only your job |\n\nAfter a run you were allowed to start, and the morning after the first scheduled run:\n\n| Check | Where | Expect |\n|---|---|---|\n| The run | `list[0]` of the reports | `COMPLETE`; `cachedDocs` or `exportedDocs` equal to `extractedDocs` |\n| A cache job loaded once, not twice | `SELECT COUNT(*) FROM \u003Cview>` and `SELECT COUNT(*) FROM \u003Cview> CONTEXT ('cache' = 'off')` | equal (`\u002Fdenodo:cache`, **Verify**) |\n| The file | `exporterResources` of the report | the path the reader opens |\n\n## Silent failures\n\nEach runs without an error — *verified: 9.5.1 (live, 2026-10-05)*:\n\n| You did | What happens | Instead |\n|---|---|---|\n| a cache job with the default `cacheInvalidationMode` | every run adds the rows again; `COMPLETE` each night, every figure on the view doubles, then triples | `ALL_ROWS` in the file, and the read-back |\n| the human's hour as the cron's hour on a server in another zone | it fires hours early or late; on a day boundary, on the wrong day | the cron for the server's zone; check `nextExecution` |\n| a `PUT` of only the part you changed | the job loses its trigger, or the `PUT` fails | the whole job, then the read-back |\n| an export with the exporter's defaults | no header; a new file with a timestamp every run | the export template |\n| an export that returned no rows, `allowEmptyFile: false` | the previous file is deleted | `allowEmptyFile: true`, and a reader that checks the row count |\n| an `@` in a literal | accepted when created, every run fails | `\\@` |\n| a job over a view whose cache was switched off | `WARNING` every run, nothing loaded | disable the job when the cache goes off (`\u002Fdenodo:cache`) |\n\n## Common errors\n\n| Answer | Cause | Fix |\n|---|---|---|\n| `500 Internal error` on create | a cron of five fields, or with both days specific | `validateCronExpressions` |\n| `500 Internal error` on `start` | the job is disabled | `enable` first |\n| `500 Internal error` on `PUT` | the body lacks `handlerSection` or `exportationSection` | the whole job |\n| `400 Illegal argument` on `PUT` | the body lacks `id` | add `\"id\": \u003Cjob_id>` |\n| `400 Validation error`, `…exporters[0].filter must not be null` | an exporter without `filter` | `\"filter\": \"NONE\"` |\n| `422 There is already an instance of the resource '\u003Cname> already exists in the project.'` | the name is taken in the project | look it up; change that job, or another name |\n| `404 There is no instance of the resource with identifier '\u003Cname>'` | no project of that name | create it |\n| `401` | the tool reached the server without the profile's account | `api --server scheduler`, never a call of your own |\n| run `ERROR`: `Missing configuration parameter: 'loadProcessName'` \u002F `'parameterizedQuery'` | a load process without them | the cache template |\n| run `ERROR`: `No configuration found for the following parameters of the query: [x]` | an unescaped `@` | `\\@` |\n| run `ERROR`: `Syntax error: Exception parsing query near 'SELECT'` | two statements in one job | one job each |\n| run `WARNING`: `The cache is not configured for the selected view…` | the view's cache is off | `\u002Fdenodo:cache`, or disable the job |\n\n## Reference\n\n- `references\u002Frest-api.md` — the calls this skill uses and the ones it leaves to the\n  administration tool, every field of the two job types and of the CSV exporter with its\n  default, the report fields, and what was measured about each.\n","# Scheduled work: Denodo Scheduler jobs\n\n**A job does its work with nobody watching.** It runs at 01:30 for months, and every decision\nin it — which rows, which mode, which hour, which file — is made the day you create it. A\nmistake there does not fail: the run reports `COMPLETE` while the cache doubles, the file\nloses its header or the refresh fires four hours early.\n\nDenodo Scheduler is a server of its own, with no VQL: its channel is the REST API of its\nadministration tool, `api --server scheduler \u003Cmethod> \u003Cpath> --env dev` — the tool adds the\nprofile's account and Scheduler server (`\u002Fdenodo:execute`, **Commands**). The working loop and\nthe safety rule are `\u002Fdenodo:vql`.\n\n**Violating the letter of the rules below is violating their spirit.**\n\n## What this skill covers\n\n- **A cache job** (*Simple Cache Management*, `VDPCache`): reloads the full cache of named\n  views on a schedule. The cache itself — on, off, a one-off load — is `\u002Fdenodo:cache`.\n- **A VDP job** (*Individual Query*, `VDP`): runs **one** VQL statement on a schedule —\n  `REFRESH` of a remote table (`\u002Fdenodo:materialize`), a `CALL`, or a `SELECT` whose rows a\n  CSV exporter writes to a file on the Scheduler host.\n- Running a job now, stopping, enabling and disabling it; its status and its reports; the jobs\n  that already touch a view.\n\nEverything else is set up by the human in the administration tool\n(`\u003Cweb container>\u002Fwebadmin\u002Fdenodo-scheduler-admin`): data sources — they hold a password —,\nthe other job types (Data Loader, DAG Cache Management, Data Indexer), exporters other than\nCSV (JDBC, Excel, Elasticsearch, Scheduler Index, custom), a CSV route to cloud storage, mail\nhandlers, retries, trigger conditions, a query fed with parameters from a source, dependencies\nbetween jobs, the server's configuration, roles, import and export. Say so and stop.\n\n## Before you create a job\n\nAll of these are reads:\n\n1. **The Scheduler answers.** `env check --env dev` → `scheduler.ok: true`, and `roles`\n   names a Scheduler role that may create jobs. `scheduler: null` means the profile names\n   neither `scheduler_url` nor `marketplace_url` and the check was not tried:\n   `api --server scheduler get \u002Fpublic\u002Fapi\u002Fme --env dev` asks the default address. No answer\n   there either: the Scheduler runs elsewhere or is not installed — the human adds\n   `scheduler_url` \u002F `scheduler_uri` to the profile (`\u002Fdenodo:execute`); say so and stop.\n2. **The VDP data source the job runs through.**\n   `api --server scheduler get \u002Fpublic\u002Fapi\u002FdataSources --env dev` — every data source of every\n   project; take those with `\"type\": \"VDP\"` and read `id`, `projectName`, `login` and\n   `connectionURI`. **The job runs as `login`**, with that user's privileges, and its statement\n   runs in the database at the end of `connectionURI`. A job may use a data source of another\n   project — *verified: 9.5.1 (live, 2026-10-05)*. Which one is the human's choice when there\n   are several; with one, use it and name its `login` in the message — a login with\n   administrator rights (`admin` by default) means every run is an administrator's, with no\n   privilege check. None, or none they accept → they create one in the administration tool\n   (*Data sources → New → VDP*); it needs a password: never write one into a file or a call.\n   One data source of a known project: `GET \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002FdataSources\u002F\u003Cid>`.\n3. **The project.** `api --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects --param name=\u003Cproject>\n   --env dev` answers the project — one object, not a list — or `404`. Use the one the human\n   names; when they name none, create one named after the VDP database (below).\n4. **What already runs on the view.**\n   `api --server scheduler get \u002Fpublic\u002Fapi\u002Fjobs\u002Fvdpcache_data --param viewName=\u003Cdb>.\u003Cview> --env dev`\n   lists the cache jobs that load it — the name exactly as `\u003Cdatabase>.\u003Cview>`; the bare view\n   name answers `[]`. `api --server scheduler get \u002Fpublic\u002Fapi\u002Fjobs --env dev` lists every job\n   (one project: `GET \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs?type=VDP`): a VDP job naming the\n   view is in its `extractionSection.extractionData.parameterizedQuery`, a job writing the same\n   file in `exportationSection.exporters[].fileName`. A second job loading the same cache, or\n   writing the same file, is a question for the human.\n5. **The clock.** A trigger has no time zone: the cron fires on the clock of the Scheduler\n   server, and `nextExecution` comes back in UTC (`…Z`). What shows that clock is an enabled\n   job: its cron's hour against the hour of its `nextExecution`. An enabled job already on the\n   server; or your own while its runs change nothing — a VDP job created **without** its\n   exporter, enabled, its `nextExecution` read, disabled again before the exporter goes in by\n   `PUT`; or your job the moment it is enabled after the yes. Otherwise the zone is the\n   administrator's to tell, or your assumption, said as such in the message. An hourly cron does\n   not care, unless the server is off by half an hour. Times in VQL results follow the session's\n   i18n and say nothing about the Scheduler's clock.\n\n## Who applies it\n\n**A job is its statement, run every time it fires.** Whatever running that statement now would\nneed, enabling the job needs: reloading the cache of a view somebody reads is the yes of\n`\u002Fdenodo:cache`, `REFRESH` of a table older than this session the yes of\n`\u002Fdenodo:materialize`, writing over a file you did not create the human's word. A job created\n**disabled** runs nothing, so creating it is yours — and it is how the server shows you the\njob before anyone agrees to it.\n\n| You do it yourself | Only after the human's yes |\n|---|---|\n| every `GET`; `POST …\u002FvalidateCronExpressions` | — |\n| a new project for the jobs of the request | deleting a project — its jobs and their reports go with it |\n| **a new job created with `\"disabled\": true`**, read back, and changed while it is yours | **enabling it** — or creating it enabled — when its runs change anything that existed before this session: the cache of a view, a table, a file; the yes is to that job as the server read it back, its user and its hour |\n| a new job created enabled, and run now, when everything its runs change was created by you in this session | **starting** any job whose run changes what existed before this session: the run is that load, that `REFRESH`, that write, now, for everyone who reads it |\n| enabling, disabling, stopping or changing a job you created in this session, within the two rows above | **anything on a job that existed before this session** — `PUT`, `start`, `stop`, `enable`, `disable`, `DELETE` |\n| — | deleting a job, yours included |\n| — | **anything at all on a profile with `production: true`** |\n\nWhat a job's statement changes, and whether you created it in this session, is what `vql plan\n-e \"\u003Cits statement>\"` says (`own`, `needs_yes`); the ledger records no Scheduler job, so a job\nyou created is the one your `POST` returned. A file on the Scheduler host counts as existing unless you created it in this session: the API\ncannot tell you whether it is there. A job of yours is judged by what its runs would change at\nthat moment: enabled while it only reads, it has to be disabled before a `PUT` gives it an\nexporter that writes over such a file — then the yes enables it.\n\n**The yes, asked for in this shape** — after the read-back, never before:\n\n```\nJob iv_household_income_cache, project sales_analytics — created disabled, read back.\nEach run reloads the full cache of sales_analytics.iv_household_income (ALL_ROWS, one\ntransaction); readers: household_income_by_band (USED_BY) and \u003Cconsumers the human named>.\nRuns as: admin (VDP data source \"VDP\", \u002F\u002Fhost:9999\u002Fadmin).\nFires: 0 30 1 * * ? on a server in UTC → every night 01:30 UTC = \u003Cthat time in the human's zone, named>.\nFile: scheduler\u002Fsales_analytics\u002Fiv_household_income_cache.json\nEnable it?\n```\n\nFor an export, the middle lines say what each run writes and replaces: the full path on the\nScheduler host, that a file of that name is overwritten whoever wrote it, the header line, what\nan empty run leaves, and how many rows the query returns today.\n\n**For a job in the right-hand column, when you cannot ask** — the human is away, a run is\ndue — the answer is the files, the job created disabled if it is new, and that message; never\nthe call that enables, starts or changes it. Say what not enabling means (no refresh tonight).\nFor a job that existed before the session, the message says what is wrong and how you know;\nwhen its next run is, in UTC and in the human's time, and what that run will do; the exact\ncalls that would fix it (`PUT` with the file, then `start` if a reload is needed); and the\nsmallest step that stops it getting worse (`disable`) — for the human or the job's owner to\nchoose. Deleting a job is never that step: its reports go with it. A wrong job you only\nhappen to see — another project, another view — goes into the message the same way, untouched.\n\n| Rationalization | Reality |\n|---|---|\n| \"They asked for the nightly refresh — that is the yes\" | They asked for the outcome. The yes is to this job — what it reloads, as which user, at which hour — after you show it. Create it disabled and ask. |\n| \"They are offline until tomorrow — just get it done\" | Then the job waits, disabled, and the message says so. A wrong job running at night is found in the morning by its readers. |\n| \"They asked for the outcome — fix it by 11 — and cannot answer\" | The outcome is theirs. A change to another team's job and a reload of what others read are the yes. Files and a message. |\n| \"The task names this database and this Scheduler project\" | Naming where the problem is is not the yes to change it. |\n| \"The cache is `WITH_STATUS`: the load is atomic, no 0-row window\" | Atomic is how the numbers change, not whether you may change them. |\n| \"It is exactly what the job does every night anyway\" | A run at its hour is what its owner set up. A run now is yours. |\n| \"Doing nothing is not neutral — the next run makes it worse\" | Then the message says when, and names the call that prevents it. The human or the owner decides. |\n| \"Readers already see wrong numbers\" | A second change nobody approved does not become one by being well meant. |\n| \"I can't reach the Scheduler — I'll load the profile's password myself \u002F try `..\u002F` in the path\" | The tool is the only channel (`api --server scheduler`). A path with `..` is refused; reading the profile is reading a credential. |\n\n**Red flags — stop:** you are about to enable, start, stop, change or delete a job whose runs\ntouch what you did not create in this session; you are writing your own HTTP client or reading\nthe profile; a cron with five fields; a cache job without `cacheInvalidationMode`; a `PUT`\nbuilt from part of a job; `env.production` is `true`.\n\n## The job file\n\nA job is a JSON file in the project — `scheduler\u002F\u003Cproject>\u002F\u003Cjob>.json` — created with\n`--json-file`, so it is reviewed and kept like the `.vql` beside it. Two things in it belong\nto one Scheduler, not to the project: `dataSourceID` (step 2 above) and, once created, the\njob's `id`. Another environment means other ids. `--json-file` reads a path relative to the\ndirectory the command runs in — an absolute path when that is not the project. A fix you propose for a job that is not yours goes into the\nrepository of the request too, under `scheduler\u002F\u003Cits project>\u002F`, as the job's `GET` with your\nchange — the body its owner sends with the `PUT`.\n\nA name is unique inside its project: a second `POST` with the same name answers `422 There is\nalready an instance of the resource '\u003Cname> already exists in the project.'` — look the job up\nby name, and change it (below) when it exists.\n\n## Templates\n\n### The project\n\n```bash\n# verified: 9.5.1 (live, 2026-10-05)\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects --param name=sales_analytics --env dev\napi --server scheduler post \u002Fpublic\u002Fapi\u002Fprojects --json '{\"name\": \"sales_analytics\", \"description\": \"Jobs of the sales_analytics database\"}' --env dev\n```\n\nThe first call answers the project or `404 There is no instance of the resource with\nidentifier 'sales_analytics'`; only then the second, whose answer carries the new `id`.\n\n### Refresh the cache of a view on a schedule\n\nThe job file, `scheduler\u002Fsales_analytics\u002Fiv_household_income_cache.json` — the mark of the\ncalls below covers it:\n\n```json\n{\n  \"type\": \"VDPCache\",\n  \"name\": \"iv_household_income_cache\",\n  \"description\": \"Reloads the full cache of sales_analytics.iv_household_income every night at 01:30 UTC.\",\n  \"disabled\": true,\n  \"extractionSection\": {\n    \"type\": \"VDPCache\",\n    \"dataSourceID\": \u003Cdata_source_id>,\n    \"loadprocesses\": [\n      {\n        \"viewName\": \"sales_analytics.iv_household_income\",\n        \"loadProcessName\": \"iv_household_income\",\n        \"parameterizedQuery\": \"select * from sales_analytics.iv_household_income\",\n        \"cacheInvalidationMode\": \"ALL_ROWS\",\n        \"cacheAtomicOperation\": true,\n        \"cacheLoadOnError\": false\n      }\n    ]\n  },\n  \"handlerSection\": {},\n  \"triggerSection\": {\"triggers\": [{\"type\": \"cron\", \"cronExpression\": \"0 30 1 * * ?\"}]}\n}\n```\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler post \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs --json-file scheduler\u002Fsales_analytics\u002Fiv_household_income_cache.json --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id> --env dev\n```\n\nThe first call answers the job with its `id`; the second its `state` — `DISABLED`, with no\n`nextExecution` until it is enabled; the third is the job as the server keeps it — the\nread-back. Then the yes, and `enable` (below); `nextExecution` appears.\n\nEvery field of a load process prevents a silent failure — *verified: 9.5.1 (live, 2026-10-05)*:\n\n| Field | Left out, or left at its default |\n|---|---|\n| `\"cacheInvalidationMode\": \"ALL_ROWS\"` | the default is **`NONE`** — in the API and in the 9.5.1 administration tool alike, whatever the documentation says (*Matching rows*): every run appends (Silent failures). `MATCHING_ROWS` without a condition replaces everything too, but says less about what you mean |\n| `\"cacheAtomicOperation\": true` | stored as `false` when left out (the tool's form defaults to `true`): invalidation and load in separate transactions |\n| `\"loadProcessName\"` | the job is created, and every run fails: `Missing configuration parameter: 'loadProcessName'` |\n| `\"parameterizedQuery\": \"select * from \u003Cdb>.\u003Cview>\"` | `\"\"` is dropped and every run fails: `Missing configuration parameter: 'parameterizedQuery'`. It is the load query — `select *` over the cached view itself, the database named, nothing else; a `where` here loads only those rows, for every reader (`\u002Fdenodo:cache`, \"Load only some rows\") |\n| `\"viewName\": \"\u003Cdb>.\u003Cview>\"` | the view the load is for; the same `\u003Cdb>.\u003Cview>` is what `jobs\u002Fvdpcache_data` finds it by |\n| `\"cacheLoadOnError\": false` | `true` keeps the rows of a load that failed half-way |\n| `\"handlerSection\": {}` | creating works without it; a later `PUT` without it fails with `500` |\n\nThe view's cache has to be on, or every run is `WARNING` and loads nothing (Common errors).\nThe run sends the load statement of `\u002Fdenodo:cache` with `TRACE` (the exact query:\n`references\u002Frest-api.md`). Several views go into one job as several load processes, each named.\n\n### Export a view to a CSV file on a schedule\n\n`scheduler\u002Fsales_analytics\u002Fhousehold_income_by_band_csv.json` — the mark of the calls below\ncovers it:\n\n```json\n{\n  \"type\": \"VDP\",\n  \"name\": \"household_income_by_band_csv\",\n  \"description\": \"Writes household_income_by_band.csv on the 1st of every month at 01:00 UTC.\",\n  \"disabled\": true,\n  \"extractionSection\": {\n    \"type\": \"VDP\",\n    \"dataSourceID\": \u003Cdata_source_id>,\n    \"extractionData\": {\n      \"parameterizedQuery\": \"SELECT income_band_sk, household_count FROM sales_analytics.household_income_by_band ORDER BY income_band_sk\"\n    }\n  },\n  \"exportationSection\": {\n    \"exporters\": [\n      {\n        \"type\": \"CSV\",\n        \"fileName\": \"household_income_by_band.csv\",\n        \"overwriteFile\": true,\n        \"createNewFile\": false,\n        \"appendFile\": false,\n        \"allowEmptyFile\": true,\n        \"includeHeader\": true,\n        \"exportInternalFields\": false,\n        \"separator\": \",\",\n        \"encoding\": \"UTF-8\",\n        \"quoteFieldsOption\": \"WHEN_REQUIRED\",\n        \"filter\": \"NONE\"\n      }\n    ]\n  },\n  \"handlerSection\": {},\n  \"triggerSection\": {\"triggers\": [{\"type\": \"cron\", \"cronExpression\": \"0 0 1 1 * ?\"}]}\n}\n```\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler post \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs --json-file scheduler\u002Fsales_analytics\u002Fhousehold_income_by_band_csv.json --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id> --env dev\n```\n\n**The file is written on the Scheduler host**, not on the human's machine: a relative\n`fileName` lands in `\u003CDENODO_HOME>\u002Fwork\u002Fscheduler\u002Fdata\u002Fcsv\u002F`, an absolute one where it says.\nThe report of each run names the full path (`exporterResources`). The exporter's defaults each\nbreak a reader without an error — *verified: 9.5.1 (live, 2026-10-05)*:\n\n| Field | Its default does |\n|---|---|\n| `\"includeHeader\": true` | no header line: a reader that finds columns by name finds none |\n| `\"overwriteFile\": true`, `\"createNewFile\": false` | the default name is `@{projectName}_@{jobName}_@{jobID}_CSVExporter#@{exporterID}.csv` plus the start time of each run: a new file every run, piling up, never the name the reader opens |\n| `\"allowEmptyFile\": true` | with `false`, a run that returns no rows **deletes the file the last run wrote** (the documentation says a file from an earlier run is kept; measured otherwise) and reports `COMPLETE`, 0 rows; with `true` it leaves a file with only the header |\n| `\"exportInternalFields\": false` | `true` adds the job's own columns (`_$job_project`, `_$job_name`, …) |\n| `\"filter\": \"NONE\"` | required: without it `400 Validation error` — `exportationSection.exporters[0].filter must not be null` |\n\nThe query names its columns and sorts: a renamed column then fails the run instead of shifting\nthe file, and the rows come in the same order each time. Over a view with a full cache it reads\nthe cache — as fresh as its last load; `CONTEXT ('cache' = 'off')` at the end reads the sources\ninstead, if the job's `login` holds WRITE on the view or the `disable_cache_query` role\n(`\u002Fdenodo:cache`, **Verify**).\n\n### Run one statement on a schedule\n\nThe same file as the export, without exporters (`\"exportationSection\": {}`) and with the\nstatement as `parameterizedQuery` — `REFRESH sales_analytics.rt_household_income`, `CALL\n\u003Cprocedure>(…)`, an incremental load (`\u002Fdenodo:materialize`, `references\u002Fincremental.md`). A run\nof a write reports `COMPLETE` and `extractedDocs: 0`, never the rows written — count the table\nafter it (*verified: 9.5.1 (live, 2026-10-06)*). The rules:\n\n- **One statement per job.** Two separated by `;` fail every run: `Syntax error: Exception\n  parsing query near 'SELECT'`.\n- **It runs in the database of the data source's `connectionURI`**, as its `login`. Name the\n  database in the statement where VQL allows it — `REFRESH \u003Cdb>.\u003Ctable>`, `\u003Cdb>.\u003Cview>` in a\n  `FROM`; a statement that cannot name it (`ALTER VIEW \u003Cdb>.\u003Cview> …` → `Syntax error … near\n  '.'`) needs a data source connected to that database.\n- **`@`, `\\`, `^`, `{`, `}` in a literal are written `\\@`, `\\\\`, `\\^`, `\\{`, `\\}`.** An `@`\n  starts a variable: `'ops@example.com'` is accepted when the job is created and fails every\n  run with `No configuration found for the following parameters of the query: [example.com]`.\n- A statement on a view that is not there is accepted too, and fails at the run: `View '\u003Cv>'\n  not found`. Run the statement — or, for a write, a `SELECT` of what it reads — before the job\n  is created.\n\n### Run it now, and wait for the report\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler put \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --json '{\"action\": \"start\"}' --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Freports --param start=0 --param count=1 --env dev\n```\n\n`start` answers `204` and the run goes on by itself. **The report appears only when the run\nends**: while it runs, `total` stays where it was and the status has no `result`. Repeat the\nsecond call every few seconds until `total` is one more than before, then read `list[0]`:\n`result` (`COMPLETE`, `WARNING`, `ERROR`), `extractedDocs`, `cachedDocs` for a cache job,\n`exportedDocs` and `exporterResources` for an export, and the error lists — `extractorErrors`,\n`initializationErrors`, `generalErrors`, `exporterErrors`, and `reports[]`, one entry per load\nprocess or query, where a warning's text is. A cache job's `query` shows the `CONTEXT` it sent:\nwithout `'cache_invalidate'` it ran with `NONE` and appended. Who may start which job is the\ntable above.\n\nWhen a job loads the view, its `start` — after the job is right — is the reload: the same\nstatement as the load file of `\u002Fdenodo:cache`, with a report. The load file is still worth\nwriting, for a reload without the Scheduler.\n\n### Stop, enable, disable\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler put \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --json '{\"action\": \"disable\"}' --env dev\napi --server scheduler put \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --json '{\"action\": \"enable\"}' --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus --env dev\n```\n\n`disable` → `state: DISABLED` and no `nextExecution`: the job keeps its definition and does not\nfire. `enable` brings `nextExecution` back. `stop` ends a run in progress (on a job that is not\nrunning it answers `204` and does nothing).\n**After enabling, set `\"disabled\": false` in the job's file**: the file is what a `PUT` or a\nre-creation sends, and one that still says `true` switches the job off again without a word.\n\n### Change a job\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id> --env dev\napi --server scheduler put \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id> --json-file scheduler\u002Fsales_analytics\u002Fiv_household_income_cache.json --env dev\n```\n\n**A `PUT` replaces the whole job.** Its body is the job's file with `\"id\": \u003Cjob_id>` added, or\nthe job exactly as the `GET` returned it with your change — its `projectId`, `projectName` and\nthe other fields the server added may stay: a section left out is emptied —\nwithout `triggerSection` the job answers `200` and has **no schedule any more** — and without\n`handlerSection` (or, on a VDP job, `exportationSection`) it fails with `500 Internal error`;\nwithout `id`, `400 Illegal argument`. A failed `PUT` changes nothing. Read the job back after\nit.\n\n### What ran, and what failed\n\n```bash\n# verified: 9.5.1 (live, 2026-10-06)\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fjobs\u002Fstatus --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Freports\u002Fsummary --env dev\napi --server scheduler get \u002Fpublic\u002Fapi\u002Fprojects\u002F\u003Cproject_id>\u002Fjobs\u002F\u003Cjob_id>\u002Freports --param start=0 --param count=5 --env dev\n```\n\n`jobs\u002Fstatus` is every job's `state` (`NOT_RUNNING`, `RUNNING`, `DISABLED`, `WAITING`, …),\n`result` of its last run (`NEVER_EXECUTED` until one), `previousExecution` and `nextExecution`.\nThe summary lists the runs with their counts; `reports` with `start` and `count` (both\nrequired) has each run, newest first — `reports[]` inside a run holds the detail of its load\nprocesses or queries when there is any (`hasIndividualDetails` in the summary). Deleting a job\ndeletes its reports — the steps before and after a delete: `references\u002Frest-api.md`.\n\n### A cache that doubles, a job that does nothing\n\nFigures on a cached view that double, then triple, every morning:\n\n1. `SELECT COUNT(*) FROM \u003Cview>` against the same with `CONTEXT ('cache' = 'off')` — more rows\n   in the cache than in the sources, every key or group twice; equal proves nothing without\n   WRITE on the view or the `disable_cache_query` role (`\u002Fdenodo:cache`, **Verify**).\n2. `GET \u002Fpublic\u002Fapi\u002Fjobs\u002Fvdpcache_data?viewName=\u003Cdb>.\u003Cview>` — the jobs that load it.\n3. Each job's `extractionSection.loadprocesses[].cacheInvalidationMode`, and the `query` of its\n   last reports: `NONE`, no `'cache_invalidate'` — every run appended. Two jobs loading the\n   view are the other cause.\n4. The job's `nextExecution` — when it gets worse — and who owns it. The fix is the job's `PUT`\n   and a reload: the human's, or the owner's (Who applies it).\n\nA job that runs and changes nothing: its reports say `WARNING` (the view's cache is off) or\n`COMPLETE` with `cachedDocs: 0`; a job that never runs: `state: DISABLED`, or no\n`triggerSection` after a `PUT`.\n\n## Cron: Quartz, on the server's clock\n\nSix fields and an optional seventh: **seconds** minutes hours day-of-month month\nday-of-week [year]. One of day-of-month and day-of-week must be `?`.\n\n| The human says — the last three for a human in UTC+3, as an example | Cron, on a server in UTC |\n|---|---|\n| every night at 01:30 UTC | `0 30 1 * * ?` |\n| every hour, on the hour | `0 0 * * * ?` |\n| weekdays at 18:00 UTC | `0 0 18 ? * MON-FRI` |\n| at 05:00 their time | `0 0 2 * * ?` |\n| Mondays at 01:00 their time | `0 0 22 ? * SUN` — the day moves with the hour |\n| the 1st of the month at 01:00 their time | `0 0 22 L * ?` — the last day of the previous month |\n\n`POST \u002Fpublic\u002Fapi\u002Fprojects\u002Fjobs\u002FvalidateCronExpressions` with a JSON list of expressions\nanswers one string per expression, `\"\"` when it is valid — every expression in the table above\nand the refusal of `0 0 2 * * *` below, *verified: 9.5.1 (live, 2026-10-05)*:\n`api --server scheduler post \u002Fpublic\u002Fapi\u002Fprojects\u002Fjobs\u002FvalidateCronExpressions --json '[\"0 0 2 * * ?\"]' --env dev`.\nValidate before creating: a five-field cron makes the create call fail with nothing but\n`500 Internal error`; `0 0 2 * * *` is invalid too (`Day-of-Month and Day-of-Week can not both\nbe a specific value`). When the server's zone and the human's change for daylight saving time\non different dates, or only one does, the hour moves twice a year; say so and name the new hour.\n\n## What you need\n\n| Slot | Where it comes from |\n|---|---|\n| What runs: the view, the statement, the query and the file | the human; the view must exist and, for a cache job, have its cache on (`\u002Fdenodo:cache`) |\n| When | the human, in their own words and time zone; the cron is yours to work out |\n| Project, data source, file path | Before you create a job, steps 2-3; the export template |\n\n## Verify\n\nAfter creating or changing a job — every row:\n\n| Check | Call | Expect |\n|---|---|---|\n| The job is what the file says | `GET …\u002Fjobs\u002F\u003Cjob_id>` | for a cache job `cacheInvalidationMode: ALL_ROWS`, `cacheAtomicOperation: true`, a `loadProcessName` and a `parameterizedQuery`; for an export `includeHeader`, `overwriteFile` and the `fileName` you wrote; `triggerSection` with your cron |\n| It fires when the human asked — once enabled | `GET …\u002Fjobs\u002F\u003Cjob_id>\u002Fstatus` | `state: NOT_RUNNING`, and `nextExecution` (UTC) is the human's hour in their zone — convert it back and say both in the report; before the yes it is `DISABLED`, and the hour is your computation, said as such |\n| Its statement works | `vql run` of the statement as a read — the export's `SELECT … LIMIT 5`, `SELECT COUNT(*)` of the cached view | rows, the columns the reader expects |\n| Nothing else does the same | `GET \u002Fpublic\u002Fapi\u002Fjobs\u002Fvdpcache_data?viewName=\u003Cdb>.\u003Cview>`; for an export, `exportationSection.exporters[].fileName` across `GET \u002Fpublic\u002Fapi\u002Fjobs` | only your job |\n\nAfter a run you were allowed to start, and the morning after the first scheduled run:\n\n| Check | Where | Expect |\n|---|---|---|\n| The run | `list[0]` of the reports | `COMPLETE`; `cachedDocs` or `exportedDocs` equal to `extractedDocs` |\n| A cache job loaded once, not twice | `SELECT COUNT(*) FROM \u003Cview>` and `SELECT COUNT(*) FROM \u003Cview> CONTEXT ('cache' = 'off')` | equal (`\u002Fdenodo:cache`, **Verify**) |\n| The file | `exporterResources` of the report | the path the reader opens |\n\n## Silent failures\n\nEach runs without an error — *verified: 9.5.1 (live, 2026-10-05)*:\n\n| You did | What happens | Instead |\n|---|---|---|\n| a cache job with the default `cacheInvalidationMode` | every run adds the rows again; `COMPLETE` each night, every figure on the view doubles, then triples | `ALL_ROWS` in the file, and the read-back |\n| the human's hour as the cron's hour on a server in another zone | it fires hours early or late; on a day boundary, on the wrong day | the cron for the server's zone; check `nextExecution` |\n| a `PUT` of only the part you changed | the job loses its trigger, or the `PUT` fails | the whole job, then the read-back |\n| an export with the exporter's defaults | no header; a new file with a timestamp every run | the export template |\n| an export that returned no rows, `allowEmptyFile: false` | the previous file is deleted | `allowEmptyFile: true`, and a reader that checks the row count |\n| an `@` in a literal | accepted when created, every run fails | `\\@` |\n| a job over a view whose cache was switched off | `WARNING` every run, nothing loaded | disable the job when the cache goes off (`\u002Fdenodo:cache`) |\n\n## Common errors\n\n| Answer | Cause | Fix |\n|---|---|---|\n| `500 Internal error` on create | a cron of five fields, or with both days specific | `validateCronExpressions` |\n| `500 Internal error` on `start` | the job is disabled | `enable` first |\n| `500 Internal error` on `PUT` | the body lacks `handlerSection` or `exportationSection` | the whole job |\n| `400 Illegal argument` on `PUT` | the body lacks `id` | add `\"id\": \u003Cjob_id>` |\n| `400 Validation error`, `…exporters[0].filter must not be null` | an exporter without `filter` | `\"filter\": \"NONE\"` |\n| `422 There is already an instance of the resource '\u003Cname> already exists in the project.'` | the name is taken in the project | look it up; change that job, or another name |\n| `404 There is no instance of the resource with identifier '\u003Cname>'` | no project of that name | create it |\n| `401` | the tool reached the server without the profile's account | `api --server scheduler`, never a call of your own |\n| run `ERROR`: `Missing configuration parameter: 'loadProcessName'` \u002F `'parameterizedQuery'` | a load process without them | the cache template |\n| run `ERROR`: `No configuration found for the following parameters of the query: [x]` | an unescaped `@` | `\\@` |\n| run `ERROR`: `Syntax error: Exception parsing query near 'SELECT'` | two statements in one job | one job each |\n| run `WARNING`: `The cache is not configured for the selected view…` | the view's cache is off | `\u002Fdenodo:cache`, or disable the job |\n\n## Reference\n\n- `references\u002Frest-api.md` — the calls this skill uses and the ones it leaves to the\n  administration tool, every field of the two job types and of the CSV exporter with its\n  default, the report fields, and what was measured about each.\n",{"name":5,"description":7},"main","fd41fb386b25141c459264d10a1c49bd3b4f4c4b","skills\u002Fscheduler","https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills","https:\u002F\u002Fgithub.com\u002Fkirivandubai","2026-10-29 13:49:22",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add kirivandubai\u002Fdenodo_wipe_coading_skills --skill scheduler",{"tool":35,"command":36},"bunx","bunx skills add kirivandubai\u002Fdenodo_wipe_coading_skills --skill scheduler",{"tool":38,"command":39},"pnpm","pnpm dlx skills add kirivandubai\u002Fdenodo_wipe_coading_skills --skill scheduler","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills\u002Fblob\u002Fmain\u002Fskills\u002Fscheduler\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"references\u002Frest-api.md","REFERENCE","参考文档",13147,"https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills\u002Fblob\u002Fmain\u002Fskills\u002Fscheduler\u002Freferences\u002Frest-api.md",[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M7C2NGAJEKKG90BG9Q1Z2M96","vql","Use when doing anything with Denodo — creating or changing a database, folder, tag, data source, wrapper, base, derived, interface or metric view, association, cache, role or security policy, remote table or summary, a Data Marketplace object, a regression test or a Scheduler job; writing or fixing VQL, or an expression in a SELECT — text, dates, casts; deciding where an object lives and what to name it; \"where do I start\", \"build a mart\", \"connect a source\", \"vibe-code on Denodo\". Start here when the request is ambiguous or names no single object.","https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills\u002Fblob\u002Fmain\u002Fskills\u002Fvql\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M7C2N5W4203SQ2TRYT6E0VSR","views","Use when building on top of views that already exist in Denodo 9.5 — a derived view (a join, an aggregate, a mart, a filtered or parameterised view, a UNION ALL of views of one entity, FLATTEN of a JSON array into rows, NEST of rows into an array), an interface view, or an association between two views. Also before changing a view others depend on — \"what uses this view\", \"can I drop this column\", \"where does this field come from\" — for whether a mart over a database runs there or pulls every row into Denodo, for \"combine these sources into one view\", \"expose this as a data product\", and for a view created without an error that fails on SELECT or turns up INVALID. Not for sources and base views — \u002Fdenodo:datasources; databases, folders, VDP tags — \u002Fdenodo:catalog; a view's cache — \u002Fdenodo:cache; a copy stored as a table — \u002Fdenodo:materialize; a metric view — \u002Fdenodo:metrics.","https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills\u002Fblob\u002Fmain\u002Fskills\u002Fviews\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7C2MY48XXHR87G39R0F0VTK","testing","Use when a Denodo 9.5 project needs regression tests, or its tests need running or fixing — .denodotest files that the Denodo Testing Tool runs in CI (%EXECUTION, %RESULTS[data|query|csv|exception], configuration.properties, denodo-test.sh) — \"add tests for this mart\", \"a safety net before I rewrite these views\", \"make sure the dashboards see no difference\", \"what should CI check on our data products\", \"prove the mart is right\", \"CI is red on the Denodo tests\", a test that fails on row order, on a column it did not ask for or on a value padded with spaces. Not for checking a new view once, right after creating it — \u002Fdenodo:views.","https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7C2MMFX40K0WTDNW05VCQEJ","semantics","Use when the views of an existing Denodo 9.5 database have to be understood by people and by AI consumers — the Denodo MCP Server, Assisted Query in the Data Marketplace, the AI SDK. Auditing a database for views and fields without descriptions, primary keys that are missing or not unique, missing associations and the VDP tag the MCP Server shows views by; writing view, field, association and tag descriptions from the data, and primary keys. Also for \"describe \u002F document these views\", \"prepare this database for AI, MCP or Assisted Query\", \"why does the agent not see this view through MCP\", a description that says the wrong thing. Not for building or changing what a view computes — \u002Fdenodo:views; not for marketplace-only metadata (logical names, property groups, marketplace tags) — \u002Fdenodo:marketplace.","https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills\u002Fblob\u002Fmain\u002Fskills\u002Fsemantics\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7C2M9XVTRVXYXMGTEC62EFB","security","Use when deciding who may read what in Denodo 9.5 — masking or hiding columns (PII, contact details, salaries, bank accounts) from some users or roles, letting a role see only some rows (a country, a tenant) or each person only their own, taking someone's access away (ALTER USER … REVOKE), denying a view to a group, a global security policy (CREATE GLOBAL_SECURITY_POLICY) and the VDP tags it reads, giving a user a role or giving a role access to a database or views (CREATE ROLE … GRANT EXECUTE, ALTER USER … GRANT ROLE), checking what a given user really gets back, or a user who sees data a restriction should hide (\"he still gets every row\", \"the masking stopped working\"). Not for a tag as a label without a policy (\u002Fdenodo:catalog) or for descriptions and the MCP visibility tag (\u002Fdenodo:semantics).","https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7C2KQBX7XS4JYW68BBRPXQN","procedures","Use when a Denodo 9.5 stored procedure is in play — calling one the server already ships (SELECT … FROM GET_VIEWS() \u002F USED_BY() … WHERE input_… = …, the CALL statement, finding which predefined procedure answers a question and what parameters it takes), writing your own procedural logic in VQL (CREATE OR REPLACE VQL PROCEDURE … BEGIN … END, local variables, IF\u002FLOOP\u002FCASE, cursors, exceptions, EXECUTE of DDL), or importing a Java one from a JAR (CREATE PROCEDURE … CLASSNAME … JARS). Also for \"run the stats procedure\", \"loop over rows and create views\", \"call that procedure from a view\". Not for introspecting a JDBC source into base views — that is \u002Fdenodo:datasources.","https:\u002F\u002Fgithub.com\u002Fkirivandubai\u002Fdenodo_wipe_coading_skills\u002Fblob\u002Fmain\u002Fskills\u002Fprocedures\u002FSKILL.md",[],[]]