Skip to content
PtahDocs
v0.16.0

Graphic preview

100%

This page documents v0.16.0, an older release. Read it in v0.37.1, the latest release

Page type: how-to

Configure the YDB provider

Diagnose an absent or unusable YDB executable provider and verify an explicitly trusted installation.

Use this page when an explicit YDB provider selection reports a missing or unusable installation. You need a trusted executable artifact, its checksum, and a host that supports the artifact’s protocol.

The official provider ID is github.com/stokaro/ptah-ydb-plugin. Its designated repository is stokaro/ptah-ydb-plugin. The catalog recognizes ydb and ydbs as engine names.

The provider is installed separately from Ptah, on every installation channel. Install the newest release this Ptah can run with ptah providers install ydb, or a chosen one with --version. A command that asks for the provider with --provider-engine ydb then selects the installed copy without a manifest; a manifest entry, described below, overrides it. Without --provider-engine ydb, a ydb:// address is served by the engine built into ptah in this documentation version. The install procedure covers how a release is chosen, the checks, and where the file is stored. Remaining work on official providers is tracked in issue #4204.

The releases v0.1.0 and v0.1.1 publish no ptah-provider.json, so the command cannot install them.

List the catalog without executing providers:

Terminal window
ptah providers list --json

The YDB entry reports its provider ID, repository and setup link. An empty installations array means this invocation selected no manifest.

When you have a compatible YDB artifact, for example the executable that ptah providers install ydb printed, verify its publisher and checksum before authorizing it. Create an explicit manifest using the executable-provider procedure. Set provider_id to github.com/stokaro/ptah-ydb-plugin and declare the canonical engine ydb. Copy the artifact’s actual aliases into engines[].aliases.

Given the reviewed manifest at providers.json, run:

Terminal window
ptah providers check --provider-config providers.json \
--provider-engine ydb --json

A successful check reports "status": "compatible". Read the verification contract before treating that result as database capability evidence.

With no manifest entry and no installed provider, an explicit selection reports provider_missing, engine ID ydb, the command ptah providers install ydb, and this setup page. An installed executable that does not match the digest its install record holds is refused with provider_untrusted, and no other copy is tried. An installed release whose minimum contract this Ptah does not meet is refused with provider_incompatible; run ptah providers install ydb again. A disabled entry reports provider_disabled. Missing executable bytes, checksum mismatches, startup failures, and incompatible protocols have distinct codes.

Use the failure reference to correct the reported installation state, then repeat the check above.

Pass --provider-config providers.json --provider-engine ydb to supported native schema commands. This explicitly requires the executable provider; an absent or failed installation cannot select an embedded implementation. Without --provider-config, the flag selects the installed provider.

The native provider workflow describes inspection, saved plans, application, and its protocol limitations. The catalog does not add provider selection to Atlas-compatible commands or the language server.