Skip to content

feat: add getfunction command - #381

Draft
annguy3n wants to merge 1 commit into
udf/02-listfunctionsfrom
udf/03-getfunction
Draft

annguy3n wants to merge 1 commit into
udf/02-listfunctionsfrom
udf/03-getfunction

Conversation

@annguy3n

@annguy3n annguy3n commented Nov 19, 2026 •

Copy link
Copy Markdown
  • Adds cbt getfunction <function-id>. Prints name, kind, deletion protection, arguments and return type, plus the SQL body or the lowercase hex WASM source SHA-256.
  • Etag and source hash lines appear only when set.
  • Function IDs are validated client-side ([a-z_][a-z0-9_]*, at most 128 characters) before any RPC.

Stack: 3 of 12. Original implementation by @shantstepanian in #373; this stack re-slices that change into reviewable pieces.

Draft: the Function admin messages and RPCs are not yet in a released cloud.google.com/go/bigtable, so this does not build against the public module. It was built and tested against locally generated admin protos. The stack leaves draft once a module release includes them and go.mod is bumped.

@annguy3n
annguy3n added this pull request to stack #391 November 19, 2026 01:07
Adds cbt getfunction <function-id>, which prints a function's type, arguments, return type, deletion protection, etag, and SQL body or WASM source hash.
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.

2 participants