Skip to content

vam: Add ksuid() function#6492

Merged
mattnibs merged 1 commit intomainfrom
vam-ksuid
Jan 7, 2026
Merged

vam: Add ksuid() function#6492
mattnibs merged 1 commit intomainfrom
vam-ksuid

Conversation

@mattnibs
Copy link
Copy Markdown
Collaborator

@mattnibs mattnibs commented Jan 6, 2026

Along with adding the ksuid function to the vector runtime, this commit:

  • Uses a generic error message when failing to parse bytes or string input.
  • Returns a null value when a null input is encountered.
  • Adds a NeedsInput interface to vector functions that require the input value (needed for now() and ksuid()).
  • Moves tests to runtime/ztests
  • Centralizes testing in to a single test.

@mattnibs mattnibs requested a review from a team January 6, 2026 22:22
@mattnibs mattnibs changed the title vam: Add ksuid function() vam: Add ksuid() function Jan 6, 2026
@mattnibs mattnibs force-pushed the vam-ksuid branch 2 times, most recently from b78a8a2 to 2b1d9e1 Compare January 6, 2026 22:29
Comment thread runtime/ztests/expr/function/ksuid.yaml
Along with adding the ksuid function to the vector runtime, this commit:
- Uses a generic error message when failing to parse bytes or string
  input.
- Returns a null value when a null input is encountered.
- Adds a NeedsInput interface to vector functions that require the input
  value (needed for now() and ksuid()).
- Moves tests to runtime/ztests
- Centralizes testing in to a single test.
@mattnibs mattnibs merged commit 16b4aed into main Jan 7, 2026
2 checks passed
@mattnibs mattnibs deleted the vam-ksuid branch January 7, 2026 17:28
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