Skip to content

fix(mdcode): correct the OWL-import UNBOUND push hint for --target kc - #371

Draft
libei wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
libei:fix-owl-unbound-push-note
Draft

fix(mdcode): correct the OWL-import UNBOUND push hint for --target kc#371
libei wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
libei:fix-owl-unbound-push-note

Conversation

@libei

@libei libei commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

What

#367 let a purely logical model push to Knowledge Catalog (kcmd push --target kc), but the kcmd owl import hint printed after conversion still said:

kcmd push is rejected until you bind each entity's source table and add a BigQuery deployment target -- validation needs both, for every --target.

That is now false for --target kc. This corrects the printed note and the two places that reproduce it verbatim:

  • src/tool/commands.ts — the note printed by owl import.
  • docs/semantic-model/codelab.md — the reproduced console output (which otherwise contradicts the same codelab's "govern the model right now with --target kc" step).
  • tests/libts/semantic/owl_converter.test.ts — the behavior-spec comment.

New wording:

kcmd push --target kc publishes it to Knowledge Catalog as-is. To deploy a graph, bind each entity's source table and add a deployment target first.

Notes

GoogleCloudPlatform#367 let a purely logical model push to Knowledge Catalog, but the `owl import`
hint -- and the codelab and owl_converter comment that mirror it -- still said
`kcmd push` is rejected "for every --target" until each source and a deployment
target are bound. That is now false for `--target kc`.

Update the printed note to say `kcmd push --target kc` publishes the unbound
model to Knowledge Catalog as-is, and that binding is required only to deploy a
graph. Bring the codelab's reproduced output and the behavior comment onto the
same wording.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant